Make check-installed-headers.sh ignore sys/sysctl.h for x32.
[glibc.git] / ChangeLog
blob18d74ba3b4eaa293a961c6750fa5d73351e20f21
1 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6             Steve Ellcey  <sellcey@caviumnetworks.com>
8         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9           __ASSUME_ST_INO_64_BIT as 0
10         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12           over the code where __ASSUME_ST_INO_64_BIT is used.
13         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
15         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17 2016-11-07  Florian Weimer  <fweimer@redhat.com>
19         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
20         Document ABI exposure of the __kind offset.
21         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
22         Mention reason for the __kind offset exposure in the ABI.
23         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
24         Likewise.
25         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
26         Likewise.
27         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
28         Likewise.
29         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
30         (struct __pthread_mutex_s): Likewise.
31         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
32         Likewise.
33         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
34         Likewise.
35         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
36         Likewise.
37         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
38         Likewise.
39         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
40         Likewise.
41         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
42         Likewise.
43         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
44         (struct __pthread_mutex_s): Likewise.
45         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46         (struct __pthread_mutex_s): Likewise.
47         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
48         Likewise.
50 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
52         * test-skeleton.c: Document do_test usage.
54 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
56         * iconv/gconv.h (__gconv_info): Define __data element using a
57         zero-length array.
59 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
61         * math/test-tgmath2.c: Split up test function.
63 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
65         * Rules (tests-expected): New variable, depending on
66         $(run-built-tests).
67         (tests): Pass $(tests-expected) to merge-test-results.sh, not
68         $(tests).
70         * Rules [$(run-built-tests) = no] (tests): Do not depend on
71         $(tests-unsupported).
73 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
75         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
76         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
78 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
80         [BZ #20768]
81         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
82         __fegetenv instead of fegetenv.
84         [BZ #14139]
85         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
86         (find_files): Obtain platform name from libm-test-ulps-name and
87         store in %pplatforms.
88         (canonicalize_platform): Remove.
89         (print_platforms): Use $pplatforms directly.
90         (by_platforms): Do not allow for platforms missing from
91         %pplatforms.
92         * sysdeps/aarch64/libm-test-ulps-name: New file.
93         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
94         * sysdeps/arm/libm-test-ulps-name: Likewise.
95         * sysdeps/generic/libm-test-ulps-name: Likewise.
96         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
97         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
98         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
99         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
100         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
101         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
102         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
103         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
104         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
105         * sysdeps/nios2/libm-test-ulps-name: Likewise.
106         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
107         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
108         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
109         * sysdeps/sh/libm-test-ulps-name: Likewise.
110         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
111         * sysdeps/tile/libm-test-ulps-name: Likewise.
112         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
114         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
116         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
117         (test-xfail-check-execstack): New variable.
119         * sysdeps/mips/localplt.data: New file.
121 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
122             Steve Ellcey  <sellcey@caviumnetworks.com>
124         * bits/wordsize.h: Add documentation.
125         * sysdeps/aarch64/bits/wordsize.h : New file
126         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
127         definitions.
128         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
129         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
130         with #if instead of #ifdef.
131         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
132         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
133         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
134         Add or change defines.
135         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
136         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
137         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
138         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
139         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
140         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
141         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
142         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
143         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
144         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
145         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
146         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
147         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
148         * sysdeps/x86/bits/wordsize.h: Likewise.
150 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
151             Kevin Petit  <kevin.petit@arm.com>
153         * sysdeps/aarch64/memchr.S (__memchr): New file.
155 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
157         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
159 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
161         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
162         $(linknamespace-symlists-tests).
164 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
166         * time/tst-strptime2.c: Ignore -Wformat-length warning.
168 2016-11-02  Florian Weimer  <fweimer@redhat.com>
169             Carlos O'Donell  <carlos@redhat.com>
171         [Bug #20729]
172         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
173         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
174         for -Os related change.
176 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
178         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
180 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
182         [BZ #19673]
183         * manual/math.texi (Exponents and Logarithms): Correct description
184         of clog10.
186 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
188         [Bz #20729]
189         * locale/weight.h: Include libc-internal.h.
190         * locale/weightwc.h: Likewise.
191         * nptl/nptl_dbP.h: Likewise.
193 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
195         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
196         when it is MACH_PORT_NULL.
198 2016-10-31  Andreas Schwab  <schwab@suse.de>
200         [BZ #20707]
201         * posix/glob.c (glob): Initialize pglob before checking for
202         GLOB_BRACE.  Don't call glob recursively if pattern contains no
203         valid brace expression despite GLOB_BRACE.
204         * posix/globtest.sh: Test it.
206 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
208         [BZ #20729]
209         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
210         Define.
211         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
212         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
213         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
214         for seq2.back_us and seq1.back_us only for -Os compiles.
215         * locale/weightwc.h (findix): Likewise.
216         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
217         DB_GET_FIELD_ADDRESS only for -Os compiles.
218         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
219         for slen only for -Os compiles.
220         * string/strcoll_l.c (get_next_seq): Ignore
221         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
222         for -Os compiles.
224         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
225         * include/crypt.h: New file.
227 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
229         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
230         from test-skeleton.c.
231         (statclass): Replace calls to write with calls to write_message.
233 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
235         * math/math.h
236         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
237         New macro.
238         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
239         Likewise.
240         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
241         Likewise.
242         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
243         SNANL.
244         * math/test-double.h (snan_value_MACRO): New macro.
245         * math/test-float.h (snan_value_MACRO): Likewise.
246         * math/test-ldouble.h (snan_value_MACRO): Likewise.
247         * math/libm-test.inc (issignaling_test_data): Add tests of
248         snan_value_MACRO.
250 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
252         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
253         behavior when eliding a lock not held by the current thread.
254         * sysdeps/powerpc/nptl/elide.h: Likewise.
256 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
258         [BZ #20728]
259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
260         branch to _exit() by a function call.
262 2016-10-28  Florian Weimer  <fweimer@redhat.com>
264         * malloc/malloc.c: Update chunk layout comments.
265         (chunk_main_arena): Update comment.
267 2016-10-28  Florian Weimer  <fweimer@redhat.com>
269         * crypt/sha256.c, crypt/sha256-block.c,
270         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
271         sha256_process_block to __sha256_process_block.
272         * crypt/sha512.c, crypt/sha512-block.c,
273         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
274         sha512_process_block to __sha512_process_block.
276 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
278         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
280         * math/test-nan-overflow.c: Include stdlib.h for malloc.
282 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
284         [BZ #20019]
285         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
286         definition in unrelocated shared library.
287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
289 2016-10-28  Florian Weimer  <fweimer@redhat.com>
291         [BZ #20729]
292         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
293         * sysdeps/unix/sysv/linux/i386/Makefile
294         (uses-6-syscall-arguments): Define.
295         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
296         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
297         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
298         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
299         Likewise.
300         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
301         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
302         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
303         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
304         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
305         (CFLAGS-fallocate64.os): Likewise.
306         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
307         (CFLAGS-pthread_rwlock_timedrdlock.os)
308         (CFLAGS-pthread_rwlock_timedwrlock.o)
309         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
310         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
311         (CFLAGS-sem_timedwait.os): Likewise.
313 2016-10-28  Florian Weimer  <fweimer@redhat.com>
315         * elf/tst-linkall-static.c: New file.
316         * elf/Makefile (tests-static): Add tst-linkall-static.
317         (tst-linkall-static): Link against static libraries.
319 2016-10-27  Florian Weimer  <fweimer@redhat.com>
321         * malloc/malloc.c (sysmalloc): Initialize previous size field of
322         mmaped chunks.
324 2016-10-28  Florian Weimer  <fweimer@redhat.com>
326         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
327         members to mchunk_prev_size, mchunk_size.
328         (chunk_main_arena): Reverse sense and rename from
329         chunk_non_main_arena.
330         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
331         mchunk_size instead of size.
332         (set_non_main_arena): Define.
333         (chunksize): Use chunksize_nomask instead of direct member access.
334         (chunksize_nomask): Define.
335         (next_chunk): Use chunksize instead of direct member access.
336         (prev_size, set_prev_size): Define.
337         (prev_chunk): Use prev_size instead of direct member access.
338         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
339         (inuse_bit_at_offset, set_inuse_bit_at_offset)
340         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
341         (mchunk_prev_size, mchunk_size): Poison tokens.
342         (unlink): Use chunksize_nomask, prev_size accessors.
343         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
344         (do_check_free_chunk): Use prev_size accessor.
345         (sysmalloc): Use set_prev_size, set_head accessors.
346         (munmap_chunk, mremap_chunk): Use prev_size accessor.
347         (__libc_free): Use chunksize_nomask accessor.
348         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
349         chunk_main_arena accessors.
350         (_int_free): Use chunksize_nomask, prev_size accessors.
351         (malloc_consolidate): Use chunksize, prev_size accessors.
352         (_int_realloc): Use chunksize_nomask accessor.
353         (_int_memalign): Use set_prev_size accessor.
354         (__malloc_info): Use chunksize_nomask accessor.
355         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
356         accessors.
357         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
358         (heap_trim): Use chunksize_nomask, prev_size accessors.
360 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
362         [BZ #19380]
363         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
364         for inexact results.
365         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
366         of inexact result where mpfr_subnormalize is the only inexact
367         step.
368         * stdlib/tst-strtod-round-data.h: Regenerated.
369         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
370         Define to 0.
371         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
373 2016-10-27  David S. Miller  <davem@davemloft.net>
375         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
377 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
379         * malloc/malloc.c (do_set_mallopt_check): New function.
380         (do_set_mmap_threshold): Likewise.
381         (do_set_mmaps_max): Likewise.
382         (do_set_top_pad): Likewise.
383         (do_set_perturb_byte): Likewise.
384         (do_set_trim_threshold): Likewise.
385         (do_set_arena_max): Likewise.
386         (do_set_arena_test): Likewise.
387         (__libc_mallopt): Use them.
389 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
391         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
392         (canonicalize): New declaration.
393         * math/Versions (canonicalize): New libm symbol at version
394         GLIBC_2.25.
395         (canonicalizef): Likewise.
396         (canonicalizel): Likewise.
397         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
398         * math/s_canonicalize_template.c: New file.
399         * math/libm-test.inc: Update comment on functions tested and
400         testing of NaN payloads.
401         (TEST_NAN_PAYLOAD): New macro.
402         (NO_TEST_INLINE): Update value.
403         (XFAIL_TEST): Likewise.
404         (ERRNO_UNCHANGED): Likewise.
405         (ERRNO_EDOM): Likewise.
406         (ERRNO_ERANGE): Likewise.
407         (IGNORE_RESULT): Likewise.
408         (NON_FINITE): Likewise.
409         (TEST_SNAN): Likewise.
410         (NO_TEST_MATHVEC): Likewise.
411         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
412         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
413         (struct test_Ffp_b1_data): New type.
414         (RUN_TEST_Ffp_b1): New macro.
415         (RUN_TEST_LOOP_Ffp_b1): Likewise.
416         (canonicalize_test_data): New array.
417         (canonicalize_test): New function.
418         (main): Call canonicalize_test.
419         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
420         canonicalizef and canonicalizel.
421         * manual/libm-err-tab.pl: Update comment on interfaces without
422         ulps tabulated.
423         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
424         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
425         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
426         canonicalize.
427         (CFLAGS-nldbl-canonicalize.c): New variable.
428         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
429         to ...
430         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
431         ... here.
432         (do_test): Also test canonicalizel.
433         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
434         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
435         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
436         file.
437         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
438         Use libm_hidden_def.
439         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
440         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
441         (do_test): Also test canonicalizel.
442         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
443         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
444         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
445         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
446         libm_hidden_def.
447         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
448         macro.
449         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
450         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
451         * sysdeps/nacl/libm.abilist: Update.
452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
465         Likewise.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
467         Likewise.
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
469         Likewise.
470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
471         Likewise.
472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
478         Likewise.
479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
480         Likewise.
481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
485         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
486         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
487         getpayload.
488         (CFLAGS-nldbl-getpayload.c): New variable.
490 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
492         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
493         integer from the format string.
495 2016-10-26  Florian Weimer  <fweimer@redhat.com>
497         [BZ #19473]
498         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
499         declarations.
500         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
501         weak aliases.
502         * malloc/hooks.c (__malloc_get_state): Remove definition.
503         (malloc_get_state): New stub implementation as
504         compatibility symbol.
505         (malloc_set_state): Rename from __malloc_set_state.  Turn into
506         compat symbol.
507         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
508         malloc_set_state.
509         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
511 2016-10-26  Florian Weimer  <fweimer@redhat.com>
513         * iconvdata/iso646.c (enum variant): Drop illegal_var.
514         (names): Turn into concatenation of strings.
515         (gconv_init): Adapt iteration over names.
517 2016-10-26  Florian Weimer  <fweimer@redhat.com>
519         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
520         make const.
521         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
522         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
523         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
524         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
525         character in sbconv.
526         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
527         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
528         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
530 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
532         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
534         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
535         (M_TRIM_THRESHOLD): Likewise.
537         * manual/memory.texi (M_ARENA_TEST): Add documentation.
538         (M_ARENA_MAX): Likewise.
539         * malloc/malloc.c: Remove obsolete comment.
541         * manual/memory.texi: Add environment variable alternatives to
542         setting mallopt parameters.
544 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
546         * include/atomic.h
547         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
548         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
550 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
552         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
553         * stdlib/tst-strfrom.h: New file.
554         * stdlib/tst-strfrom.c: New file.
555         * stdlib/tst-strfrom-locale.c: New file.
557         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
558         * stdlib/bug-strtod2.c: Likewise.
559         * stdlib/tst-strtod-round-skeleton.c: Likewise.
560         * stdlib/tst-strtod6.c: Likewise.
561         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
563 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
565         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
566         * manual/arith.texi: Document strfromd, strfromf, strfroml.
567         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
568         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
569         * stdlib/stdlib.h (strfromd): New declaration.
570         (strfromf): Likewise.
571         (strfroml): Likewise.
572         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
573         strfrom.
574         * stdlib/strfromd.c: New file.
575         * stdlib/strfromf.c: Likewise.
576         * stdlib/strfroml.c: Likewise.
577         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
578         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
579         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
580         * sysdeps/arm/nacl/libc.abilist: Update.
581         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
585         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
586         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
587         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
592         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
593         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
610 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
612         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
613         instead of cmpli.
614         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
615         instead of cmpli.
617 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
619         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
620         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
621         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
622         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
623         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
624         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
626 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
628         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
629         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
630         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
631         SYSCALL_LL64_PRW.
632         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
633         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
634         __ASSUME_PRW_DUMMY_ARG.
635         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
636         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
637         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
638         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
639         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
640         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
642 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
644         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
646 2016-10-22  Florian Weimer  <fweimer@redhat.com>
648         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
649         "C++", to override a potential extern "C" directive around the
650         header file inclusion.
652 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
654         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
656 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
658         * sysdeps/powerpc/fpu/fenv_private.h:
659         (_FPU_MASK_ALL): Rename to...
660         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
661         XE FPSCR bits.
663         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
665         (_FPU_MASK_ROUNDING): Rename to...
666         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
667         NI bits.
669         (_FPU_MASK_EXCEPT_ROUND): Rename to...
670         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
671         bits and rounding bits.
673         (__libc_feholdbits_ppc): New inline function to mask, set,
674         and pontentially clear FSPCR bits, and change MSR[FE] bits.
675         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
676         (libc_feholdexcept_setround_ppc): Likewise.
678         (__libc_femergeenv_ppc): New function to dynamically mask both
679         old and new FP environments and merge.
680         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
681         (libc_feresetround_ppc): Likewise.
682         (libc_feupdateenv_test_ppc): Likewise.
683         (libc_feupdateenv_ppc): Likewise.
685         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
686         of ISA RN bits, and update macro names.
687         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
688         effectively the same as the previously mentioned function.
690         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
691         usage with fe_resetround_ppc.
693         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
694         to be used.
695         (libc_feholdexcept_setround_ctxf): Likewise.
696         (libc_feholdexcept_setround_ctxl): Likewise.
698 2016-10-21  Florian Weimer  <fweimer@redhat.com>
700         [BZ #20715]
701         * math/math.h [__cplusplus] (iszero): Define as function template.
702         * math/Makefile [CXX] (tests): Add test-math-iszero.
703         (CFLAGS-test-math-iszero.cc): Set.
704         * math/test-math-iszero.cc: New file.
706 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
708         [BZ #20660]
709         * sysdeps/arm/e_sqrt.c: New file.
710         * sysdeps/arm/e_sqrtf.c: Likewise.
712 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
714         [BZ #20718]
715         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
716         not use floating-point comparisons to test sign.
717         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
718         Likewise.
720         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
721         (getpayload): New declaration.
722         * math/Versions (getpayload): New libm symbol at version
723         GLIBC_2.25.
724         (getpayloadf): Likewise.
725         (getpayloadl): Likewise.
726         * math/Makefile (libm-calls): Add s_getpayloadF.
727         * math/libm-test.inc: Include <nan-high-order-bit.h>.
728         (struct test_f_f_data): Add comment.
729         (RUN_TEST_fp_f): New macro.
730         (RUN_TEST_LOOP_fp_f): Likewise.
731         (getpayload_test_data): New array.
732         (getpayload_test): New function.
733         (main): Call getpayload_test.
734         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
735         descriptor.
736         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
737         getpayloadf and getpayloadl.
738         * manual/libm-err-tab.pl: Update comment on interfaces without
739         ulps tabulated.
740         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
741         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
742         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
743         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
744         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
745         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
746         * sysdeps/nacl/libm.abilist: Update.
747         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
748         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
749         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
750         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
751         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
760         Likewise.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
762         Likewise.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
764         Likewise.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
766         Likewise.
767         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
773         Likewise.
774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
775         Likewise.
776         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
780 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
782         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
783         tst-fallocate{64}.
784         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
785         on syscall return.
787 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
789         [BZ #20689]
790         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
791         usable.
793 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
795         * sysdeps/generic/nan-high-order-bit.h: New file.
796         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
797         * sysdeps/mips/nan-high-order-bit.h: Likewise.
798         * sysdeps/hppa/math_private.h: Remove file.
799         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
800         not define here.
801         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
802         <nan-high-order-bit.h>.
803         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
804         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
805         <nan-high-order-bit.h>.
806         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
807         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
808         <nan-high-order-bit.h>.
809         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
810         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
811         <nan-high-order-bit.h>.
812         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
813         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
814         <nan-high-order-bit.h>.
815         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
816         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
817         <nan-high-order-bit.h>.
818         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
819         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
820         <nan-high-order-bit.h>.
821         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
822         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
823         <nan-high-order-bit.h>.
824         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
825         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
826         <nan-high-order-bit.h>.
827         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
828         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
829         <nan-high-order-bit.h>.
830         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
831         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
832         <nan-high-order-bit.h>.
833         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
834         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
835         <nan-high-order-bit.h>.
836         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
837         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
838         <nan-high-order-bit.h>.
839         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
840         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
841         <nan-high-order-bit.h>.
842         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
843         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
844         <nan-high-order-bit.h>.
845         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
846         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
847         <nan-high-order-bit.h>.
848         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
849         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
850         <nan-high-order-bit.h>.
851         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
852         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
853         <nan-high-order-bit.h>.
854         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
856 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
858         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
860 2016-09-22  John David Anglin  <dave.anglin@bell.net>
862         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
863         abort-instr.h.
864         (EFAULT): Remove conditional define.
865         (ENOSYS): Likewise.
866         (atomic_compare_and_exchange_val_acq): Use instruction nullification
867         instead of conditional branch instructions.
869 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
871         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
872         (totalordermag): New declaration.
873         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
874         New macro.
875         * math/Versions (totalordermag): New libm symbol at version
876         GLIBC_2.25.
877         (totalordermagf): Likewise.
878         (totalordermagl): Likewise.
879         * math/Makefile (libm-calls): Add s_totalordermagF.
880         * math/libm-test.inc (totalordermag_test_data): New array.
881         (totalordermag_test): New function.
882         (main): Call totalordermag_test.
883         * math/test-tgmath.c (NCALLS): Increase to 125.
884         (F(compile_test)): Call totalordermag.
885         (F(totalordermag)): New function.
886         * manual/arith.texi (FP Comparison Functions): Document
887         totalordermag, totalordermagf and totalordermagl.
888         * manual/libm-err-tab.pl: Update comment on interfaces without
889         ulps tabulated.
890         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
891         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
892         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
893         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
894         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
895         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
896         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
897         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
898         totalordermag.
899         (CFLAGS-nldbl-totalordermag.c): New variable.
900         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
901         (do_test): Also test totalordermagl.
902         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
903         Likewise.
904         * sysdeps/nacl/libm.abilist: Update.
905         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
906         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
907         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
908         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
909         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
910         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
911         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
914         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
915         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
916         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
918         Likewise.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
920         Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
922         Likewise.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
924         Likewise.
925         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
929         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
931         Likewise.
932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
933         Likewise.
934         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
936         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
938 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
940         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
941         boolean.
943 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
945         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
946         raising FE_INVALID with feraisexcept in case where part of
947         argument is infinite, subtract that part of argument from itself.
948         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
949         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
950         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
952 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
954         * math/libm-test.inc (totalorder_test_data): Add more tests.
956 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
958         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
959         Undefine weak_alias and add a comment why mips64 require
960         versioning.
962 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
964         [BZ #20647]
965         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
966         maximum CPUID level is less than 2.
968 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
970         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
971         (totalorder): New declaration.
972         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
973         New macro.
974         * math/Versions (totalorder): New libm symbol at version
975         GLIBC_2.25.
976         (totalorderf): Likewise.
977         (totalorderl): Likewise.
978         * math/Makefile (libm-calls): Add s_totalorderF.
979         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
980         string.
981         * math/libm-test.inc (PAYLOAD_DIG): New macro.
982         (qnan_value_pl): Likewise.
983         (snan_value_pl): Likewise.
984         (qnan_value): Define using qnan_value_pl.
985         (snan_value): Define using snan_value_pl.
986         (struct test_ff_i_data): Add comment about which tests use this
987         structure.
988         (RUN_TEST_ff_b): New macro.
989         (RUN_TEST_LOOP_ff_b): Likewise.
990         (totalorder_test_data): New array.
991         (totalorder_test): New function.
992         (main): Call totalorder_test.
993         * math/test-tgmath.c (NCALLS): Increase to 122.
994         (F(compile_test)): Call totalorder.
995         (F(totalorder)): New function.
996         * manual/arith.texi (FP Comparison Functions): Document
997         totalorder, totalorderf and totalorderl.
998         * manual/libm-err-tab.pl: Update comment on interfaces without
999         ulps tabulated.
1000         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1001         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1002         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1003         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1004         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1005         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1006         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1007         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1008         totalorder.
1009         (CFLAGS-nldbl-totalorder.c): New variable.
1010         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1011         file.
1012         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1013         Add test-totalorderl-ldbl-128ibm.
1014         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1015         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1016         test-totalorderl-ldbl-96.
1017         * sysdeps/nacl/libm.abilist: Update.
1018         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1031         Likewise.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1033         Likewise.
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1035         Likewise.
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1037         Likewise.
1038         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1040         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1041         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1044         Likewise.
1045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1046         Likewise.
1047         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1051 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1053         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1054         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1055         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1056         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1057         remove ENOSYS implementation.
1058         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1059         Consolidate all Linux implementations.
1061 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1063         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1064         * resolv/herror.c (herror): Cast away const-ness.
1065         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1066         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1068 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1070         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1071         instead of M_NAN + M_NAN.
1072         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1074 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1076         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1077         unused variable 'p'.
1079 2016-10-09  Alan Modra  <amodra@gmail.com>
1080             Andreas Schwab  <schwab@linux-m68k.org>
1082         [BZ #20554]
1083         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1084         [PIC && !SHARED]: Set up PIC register for PLT call.
1086 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1088         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1089         conditional on value of [__FLT_EVAL_METHOD__].
1090         * math/test-iseqsig-excess-precision.c: New file.
1091         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1093 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1095         * math/s_iseqsig_template.c: Include math-private.h.
1097         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1098         * posix/tst-posix_fadvise.c: New file.
1099         * posix/tst-posix_fadvise64.c: Likewise.
1100         * posix/tst-posix_fadvise-common.c: Likewise.
1101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1102         (__ASSUME_FADVISE64_64_6ARG): Define.
1103         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1104         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1106         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1107         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1108         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1109         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1110         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1111         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1112         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1113         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1114         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1120         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1121         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1122         Alias to __posix_fadvise64_l32.
1123         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1124         Add compat definition to posix_fadvise64.
1125         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1126         Add versioned definition to posix_fadvise64.
1127         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1128         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1129         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1130         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1131         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1133         * io/Makefile (tests): Add tst-posix_fallocate and
1134         tst-posix_fallocate64.
1135         * io/tst-posix_fallocate-common.c: New file.
1136         * io/tst-posix_fallocate.c: Likewise.
1137         * io/tst-posix_fallocate64.c: Likewise.
1138         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1139         file.
1140         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1141         Likewise.
1142         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1143         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1144         Likewise.
1145         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1146         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1147         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1148         SYSCALL_LL to pass both offset and len arguments.
1149         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1150         Likewise.
1151         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1152         __libc_pwrite64 alias used by posix_fallocate64.
1154         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1155         tst-fallocate64.
1156         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1157         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1158         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1159         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1160         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1161         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1162         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1163         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1164         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1165         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1166         macro on offset argument.
1167         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1168         SYSCALL_LL64 on offset argument.
1170         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1171         tst-fallocate64.
1172         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1173         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1174         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1175         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1176         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1179         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1181         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1182         macro on offset argument.
1183         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1184         SYSCALL_LL64 on offset argument.
1185         * test-skeleton.c (FAIL_RET): Add macro.
1186         (FAIL_EXIT): Likewise.
1187         (FAIL_EXIT1): Likewise.
1188         (_FAIL): Likewise.
1190 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1192         [BZ #20629]
1193         resolv: Remove RES_USEBSTRING and its implementation.
1194         * resolv/resolv.h (RES_USEBSTRING): Remove.
1195         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1196         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1197         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1198         (labellen): Remove extended label types support.
1199         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1200         * resolv/res_init.c (res_setoptions): Likewise.
1201         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1203 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1205         resolv: Remove RES_NOIP6DOTINT and its implementation.
1206         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1207         (RES_NOIP6DOTINT): Remove.
1208         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1209         handling.
1210         * resolv/res_debug.c (p_option): Likewise.
1211         * resolv/res_init.c (res_setoptions): Likewise.
1212         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1214 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1216         resolv: Deprecate unimplemented flags.
1217         * misc/sys/cdefs.h (__glibc_macro_warning1)
1218         (__glibc_macro_warning): Define.
1219         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1220         (RES_KEEPTSIG): Mark as deprecated.
1221         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1222         RES_NOCHECKNAME, RES_KEEPTSIG.
1223         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1225 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1227         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1228         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1229         Use strong_alias to create symbols for glibc verison 2.19.
1231 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1233         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1235 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1237         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1239 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1241         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1243 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1246         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1247         in header for using it as type for ifunc function because __GI_* symbols
1248         for ppc32 do not target the ifunc symbols.
1249         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1251 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1253         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1254         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1255         libc_ifunc_hidden_def.
1256         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1257         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1258         Redirect ifunced function in header for using it as type of ifunc'ed
1259         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1260         function for __GI_* symbol.
1261         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1262         * include/libc-symbols.h
1263         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1265 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1267         [BZ #20478]
1268         * sysdeps/s390/multiarch/ifunc-resolve.h
1269         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1270         to create ifunc symbols.
1271         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1272         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1273         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1274         for using it as type for ifunc function.
1275         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1276         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1277         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1278         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1279         * sysdeps/s390/multiarch/strcat.c: Likewise.
1280         * sysdeps/s390/multiarch/strchr.c: Likewise.
1281         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1282         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1283         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1284         * sysdeps/s390/multiarch/strlen.c: Likewise.
1285         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1286         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1287         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1288         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1289         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1290         * sysdeps/s390/multiarch/strspn.c: Likewise.
1291         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1292         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1293         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1294         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1295         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1296         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1297         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1298         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1299         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1300         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1301         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1302         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1306         * include/libc-symbols.h (__ifunc_resolver):
1307         New macro is used by __ifunc* macros.
1308         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1309         depending on HAVE_GCC_IFUNC.
1310         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1311         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1313         Redirect ifunced function in header for using as type for ifunc function.
1314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1323         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1326         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1327         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1333         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1334         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1335         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1336         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1337         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1339         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1340         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1341         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1342         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1343         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1344         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1345         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1346         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1348         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1349         instead of libc_ifunc() macro.
1350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1355         * config.h.in (HAVE_GCC_IFUNC): New undef.
1356         * configure.ac: Add check if gcc supports attribute ifunc feature.
1357         * configure: Regenerated.
1358         * manual/install.texi: Add recommendation for gcc with
1359         indirect-function support.
1360         * INSTALL: Regenerated.
1362 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1364         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1365         macro.
1366         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1367         (__iseqsig): New declaration.
1368         * math/s_iseqsig_template.c: New file.
1369         * math/Versions (__iseqsigf): New libm symbol at version
1370         GLIBC_2.25.
1371         (__iseqsig): Likewise.
1372         (__iseqsigl): Likewise.
1373         * math/libm-test.inc (iseqsig_test_data): New array.
1374         (iseqsig_test): New function.
1375         (main): Call iseqsig_test.
1376         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1377         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1378         * manual/libm-err-tab.pl: Update comment on interfaces without
1379         ulps tabulated.
1380         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1381         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1382         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1383         * sysdeps/nacl/libm.abilist: Update.
1384         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1389         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1390         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1394         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1395         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1397         Likewise.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1399         Likewise.
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1401         Likewise.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1403         Likewise.
1404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1405         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1406         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1407         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1408         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1410         Likewise.
1411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1412         Likewise.
1413         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1415         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1417 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1419         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1420         do_sincos_2, sloww, sloww1): Update comments.
1422         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1423         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1425         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1426         K boolean and rename it.
1427         (__sin): Adjust.
1428         (__cos): Adjust.
1430 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1431             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1433         * manual/nss.texi: Fix typos in the manual.
1435 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1437         * manual/contrib.texi: Fix typos in the manual.
1439         * manual/maint.texi: Fix typos in the manual.
1441         * manual/install.texi: Fix typos in the manual.
1442         * INSTALL: Regenerated.
1444         * manual/lang.texi: Fix typos in the manual.
1446         * manual/probes.texi: Fix typos in the manual.
1448         * manual/threads.texi: Fix typos in the manual.
1450         * manual/debug.texi: Fix typos in the manual.
1452         * manual/crypt.texi: Fix typos in the manual.
1454         * manual/conf.texi: Fix typos in the manual.
1456         * manual/sysinfo.texi: Fix typos in the manual.
1458         * manual/users.texi: Fix typos in the manual.
1460         * manual/job.texi: Fix typos in the manual.
1462         * manual/process.texi: Fix typos in the manual.
1464         * manual/argp.texi: Fix typos in the manual.
1465         * manual/getopt.texi: Likewise.
1466         * manual/startup.texi: Likewise.
1468         * manual/signal.texi: Fix typos in the manual.
1470         * manual/setjmp.texi: Fix typos in the manual.
1472         * manual/resource.texi: Fix typos in the manual.
1474         * manual/time.texi: Fix typos in the manual.
1476         * manual/arith.texi: Fix typos in the manual.
1478         * manual/math.texi: Fix typos in the manual.
1480         * manual/syslog.texi: Fix typos in the manual.
1482         * manual/terminal.texi: Fix typos in the manual.
1484         * manual/socket.texi: Fix typos in the manual.
1486         * manual/filesys.texi: Fix typos in the manual.
1488         * manual/llio.texi: Fix typos in the manual.
1490         * manual/stdio.text: Fix typos in the manual.
1492 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1494         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1495         instead of K1.
1497         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1498         SHIFT_QUADRANT and make it bool.
1499         (do_sincos_2): Likewise.
1500         (sloww): Likewise.
1501         (sloww1): Likewise.
1502         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1503         (__cos): Likewise.
1505 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1507         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1509 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1511         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1512         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1513         0x7fffffffL].
1514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1516 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1518         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1519         inline by __inline__.
1520         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1521         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1522         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1523         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1524         sigset_t from signal.h.
1525         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1526         which is already required.
1528 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1530         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1532 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1534         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1535         (struct tcp_repair_window): New type.
1537 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1539         * libio/tst-memstream3.c: Include string.h.
1541 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1543         [BZ #18241]
1544         [BZ #20181]
1545         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1546         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1547         write position is at the end the buffer.
1548         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1549         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1550         (_IO_str_seekoff): Set correct offset from negative displacement and
1551         set EINVAL for invalid ones.
1552         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1553         buffer length.
1554         (_IO_wstr_switch_to_get_mode): New function.
1555         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1556         set EINVAL for invalid ones.
1557         * libio/tst-memstream3.c: New file.
1558         * libio/tst-wmemstream3.c: Likewise.
1559         * manual/examples/memstrm.c: Remove warning when priting size_t.
1561 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1563         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1564         macro to use __builtin_fma.
1565         * sysdeps/x86_64/fpu/dla.h: Remove file.
1567         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1568         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1569         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1571 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1573         [BZ #20292]
1574         * elf/Makefile (routines): Add dl-addr-obj.
1575         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1576         tst-_dl_addr_inside_object.
1577         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1578         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1579         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1580         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1581         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1582         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1583         * elf/dl-open.c: Likewise.
1584         * elf/dl-addr-obj.c: New file.
1585         * elf/tst-_dl_addr_inside_object.c: New file.
1587 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1589         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1590         <bits/iscanonical.h>.
1591         * bits/iscanonical.h: New file.
1592         * math/s_iscanonicall.c: Likewise.
1593         * math/Versions (__iscanonicall): New libm symbol at version
1594         GLIBC_2.25.
1595         * math/libm-test.inc (iscanonical_test_data): New array.
1596         (iscanonical_test): New function.
1597         (main): Call iscanonical_test.
1598         * math/Makefile (headers): Add bits/iscanonical.h.
1599         (type-ldouble-routines): Add s_iscanonicall.
1600         * manual/arith.texi (Floating Point Classes): Document
1601         iscanonical.
1602         * manual/libm-err-tab.pl: Update comment on interfaces without
1603         ulps tabulated.
1604         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1605         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1606         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1607         Likewise.
1608         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1609         test-iscanonical-ldbl-128ibm.
1610         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1611         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1612         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1613         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1614         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1615         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1616         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1618         Likewise.
1619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1620         Likewise.
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1622         Likewise.
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1624         Likewise.
1625         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1626         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1628 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1630         * string/bits/string3.h: Remove C++ style comments.
1632 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1634         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1635         instead of ternary condition.
1636         (do_sincos_2): Likewise.
1637         (__sin): Likewise.
1638         (__cos): Likewise.
1639         (slow): Likewise.
1640         (sloww): Likewise.
1641         (sloww1): Likewise.
1642         (bsloww): Likewise.
1643         (bsloww1): Likewise.
1645         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1646         instead of ternary condition.
1647         (do_sin_slow): Likewise.
1648         (do_sincos_1): Likewise.
1649         (do_sincos_2): Likewise.
1650         (__cos): Likewise.
1651         (sloww): Likewise.
1652         (sloww1): Likewise.
1653         (sloww2): Likewise.
1654         (bsloww): Likewise.
1655         (bsloww1): Likewise.
1656         (bsloww2): Likewise.
1658         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1659         check from here...
1660         (slow2): ... and here...
1661         (__sin): ... to here.
1663 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1665         * math/math.h
1666         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1667         Cast argument to its own type.
1668         * math/test-iszero-excess-precision.c: New file.
1669         * math/Makefile (tests): Add test-iszero-excess-precision.
1670         (CFLAGS-test-iszero-excess-precision.c): New variable.
1672 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1674         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1675         field, add err field.
1676         (__spawni_child): Report error through err member instead of pipe.
1677         (__spawnix): Likewise.
1679 2016-09-28  Zack Weinberg  <zackw@panix.com>
1681         * scripts/check-installed-headers.sh: Generalize treatment of
1682         sys/elf.h to all target architectures.
1684         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1685         deleted typedef ucontext_t.
1687 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1689         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1690         (__INTERNAL_SYSCALL1): Likewise.
1691         (__INTERNAL_SYSCALL2): Likewise.
1692         (__INTERNAL_SYSCALL3): Likewise.
1693         (__INTERNAL_SYSCALL4): Likewise.
1694         (__INTERNAL_SYSCALL5): Likewise.
1695         (__INTERNAL_SYSCALL6): Likewise.
1696         (__INTERNAL_SYSCALL7): Likewise.
1697         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1698         (__INTERNAL_SYSCALL_NARGS): Likewise.
1699         (__INTERNAL_SYSCALL_DISP): Likewise.
1700         (INTERNAL_SYSCALL_CALL): Likewise.
1701         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1702         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1703         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1704         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1705         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1706         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1707         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1708         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1709         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1710         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1711         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1712         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1713         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1715 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1717         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1718         macro.
1719         * math/libm-test.inc (iszero_test_data): New array.
1720         (iszero_test): New function.
1721         (main): Call iszero_test.
1722         * manual/arith.texi (Floating Point Classes): Document iszero.
1723         * manual/libm-err-tab.pl: Update comment on interfaces without
1724         ulps tabulated.
1726 2016-09-23  Zack Weinberg  <zackw@panix.com>
1728         * scripts/check-installed-headers.sh: New script.
1729         * Rules: In each directory that defines header files to be installed,
1730         run check-installed-headers.sh on them as a special test.
1731         * Makefile: Likewise for the headers installed at top level.
1733         * include/aliases.h, include/alloca.h, include/argz.h
1734         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1735         * include/elf.h, include/envz.h, include/err.h
1736         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1737         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1738         * include/link.h, include/malloc.h, include/mcheck.h
1739         * include/mntent.h, include/netinet/ether.h
1740         * include/nss.h, include/obstack.h, include/printf.h
1741         * include/pty.h, include/resolv.h, include/rpc/auth.h
1742         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1743         * include/rpc/clnt.h, include/rpc/des_crypt.h
1744         * include/rpc/key_prot.h, include/rpc/netdb.h
1745         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1746         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1747         * include/rpc/rpc_msg.h, include/rpc/svc.h
1748         * include/rpc/svc_auth.h, include/rpc/xdr.h
1749         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1750         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1751         * include/rpcsvc/ypupd.h, include/shadow.h
1752         * include/stdio_ext.h, include/sys/epoll.h
1753         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1754         * include/sys/prctl.h, include/sys/profil.h
1755         * include/sys/statfs.h, include/sys/sysctl.h
1756         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1757         * sysdeps/arm/nacl/include/bits/setjmp.h
1758         * sysdeps/mips/include/sys/asm.h
1759         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1760         * sysdeps/unix/sysv/linux/include/sys/timex.h
1761         * sysdeps/x86/fpu/include/bits/fenv.h:
1762         Add #ifndef _ISOMAC guard around internal declarations.
1763         Add multiple-inclusion guard if not already present.
1765 2016-09-23  Zack Weinberg  <zackw@panix.com>
1767         * sysdeps/generic/sys/ucontext.h
1768         * sysdeps/arm/sys/ucontext.h
1769         * sysdeps/i386/sys/ucontext.h
1770         * sysdeps/m68k/sys/ucontext.h
1771         * sysdeps/mips/sys/ucontext.h
1772         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1773         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1774         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1775         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1776         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1777         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1778         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1779         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1780         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1781         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1783         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1784         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1785         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1786         Include both bits/sigcontext.h and bits/sigstack.h.
1787         Fix grammar error in comment, if present.
1789         * bits/sigstack.h
1790         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1791         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1792         * sysdeps/unix/sysv/linux/bits/sigstack.h
1793         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1794         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1795         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1796         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1797         * bits/sigcontext.h
1798         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1799         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1800         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1801         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1802         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1803         as well as signal.h, if this was not already allowed.  Request
1804         definition of size_t if necessary.  Minimize semantically-null
1805         differences across files.
1807 2016-09-23  Zack Weinberg  <zackw@panix.com>
1809         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1810         Remove all logic conditional on __need macros.  Move all the
1811         conditionally defined types to their own headers...
1812         * time/bits/types/clock_t.h: Define clock_t here.
1813         * time/bits/types/clockid_t.h: Define clockid_t here.
1814         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1815         * time/bits/types/struct_timespec.h: Define struct timespec here.
1816         * time/bits/types/struct_timeval.h: Define struct timeval here.
1817         * time/bits/types/struct_tm.h: Define struct tm here.
1818         * time/bits/types/time_t.h: Define time_t here.
1819         * time/bits/types/timer_t.h: Define timer_t here.
1820         * time/Makefile: Install the new headers.
1822         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1823         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1824         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1825         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1826         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1827         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1828         * sysdeps/unix/sysv/linux/bits/resource.h
1829         * sysdeps/unix/sysv/linux/bits/timex.h
1830         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1831         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1832         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1833         * sysdeps/unix/sysv/linux/sys/acct.h
1834         * sysdeps/unix/sysv/linux/sys/timerfd.h
1835         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1836         * time/sys/time.h, time/sys/timeb.h
1837         Use the new bits/types headers.
1839         * include/time.h: Remove __need logic.
1840         * include/bits/time.h
1841         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1842         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1843         * include/bits/types/struct_itimerspec.h
1844         * include/bits/types/struct_timespec.h
1845         * include/bits/types/struct_timeval.h
1846         * include/bits/types/struct_tm.h:
1847         New wrapper headers.
1849 2016-09-23  Zack Weinberg  <zackw@panix.com>
1851         * sysdeps/mach/hurd/net/if_ppp.h
1852         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1853         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1854         if __USE_MISC is defined, to ensure struct ifreq is declared.
1856         * inet/netinet/ether.h: Condition all function prototypes
1857         on __USE_MISC, to ensure struct ether_addr is declared.
1859         * socket/bits/types/struct_osockaddr.h: New header.
1860         * include/bits/types/struct_osockaddr.h: New wrapper.
1861         * socket/Makefile: Install the new header.
1862         * socket/sys/socket.h, inet/protocols/talkd.h:
1863         Refer to bits/types/struct_osockaddr.h for the definition of
1864         struct osockaddr.
1866 2016-09-23  Zack Weinberg  <zackw@panix.com>
1868         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1869         * inet/protocols/routed.h, inet/protocols/talkd.h
1870         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1871         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1872         * sysdeps/generic/netinet/if_ether.h
1873         * sysdeps/generic/netinet/in_systm.h
1874         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1875         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1876         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1877         * sysdeps/mach/hurd/net/if_arp.h
1878         * sysdeps/mach/hurd/net/if_ppp.h
1879         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1880         * sysdeps/unix/sysv/linux/bits/in.h
1881         * sysdeps/unix/sysv/linux/net/ethernet.h
1882         * sysdeps/unix/sysv/linux/net/if_arp.h
1883         * sysdeps/unix/sysv/linux/net/if_ppp.h
1884         * sysdeps/unix/sysv/linux/net/if_shaper.h
1885         * sysdeps/unix/sysv/linux/net/route.h
1886         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1887         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1888         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1889         * sysdeps/unix/sysv/linux/netipx/ipx.h
1890         * sysdeps/unix/sysv/linux/sys/acct.h
1891         * include/arpa/nameser.h, include/resolv.h:
1892         Change all uses of u_char to unsigned char,
1893         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1894         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1895         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1896         and u_int64_t and u_quad_t to uint64_t.
1898         * mach/sys/reboot.h: Remove two casts of integer literals
1899         to the types they already have.
1901         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1902         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1903         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1904         from referring to 'unsigned char' to 'uint8_t' for consistency with
1905         the macro definition below.
1907         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1908         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1909         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1910         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1911         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1912         * sysdeps/unix/sysv/linux/sys/acct.h
1913         * include/arpa/nameser.h, include/resolv.h:
1914         Fix indentation disrupted by mechanical edits.
1916         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1917         * sysdeps/generic/netinet/in_systm.h
1918         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1919         * sysdeps/gnu/netinet/udp.h
1920         * sysdeps/unix/sysv/linux/net/ethernet.h
1921         * sysdeps/unix/sysv/linux/net/if_arp.h
1922         * sysdeps/unix/sysv/linux/net/if_ppp.h
1923         * sysdeps/unix/sysv/linux/net/if_shaper.h
1924         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1925         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1926         * sysdeps/unix/sysv/linux/netipx/ipx.h
1927         * sysdeps/unix/sysv/linux/sys/acct.h
1928         Include stdint.h for uintNN_t definitions.
1929         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1931 2016-09-23  Zack Weinberg  <zackw@panix.com>
1933         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1934         * sysdeps/unix/sysv/linux/netrose/rose.h:
1935         Include sys/socket.h and netax25/ax25.h.
1937         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1938         * resolv/arpa/nameser_compat.h:
1939         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1941         * sysdeps/unix/sysv/linux/sys/quota.h:
1942         Use __caddr_t instead of caddr_t.
1943         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1944         Use __clockid_t instead of clockid_t.
1946         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1948         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1949         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1950         expanding it.
1952         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1953         Define __glibc_c99_flexarr_available to 1 when the compiler
1954         supports C99-compatible flexible array members, 0 otherwise.
1955         * sysdeps/unix/sysv/linux/bits/socket.h
1956         * sysdeps/mach/hurd/bits/socket.h
1957         * bits/socket.h: Use __glibc_c99_flexarr_available in
1958         definitions of struct cmsghdr and CMSG_DATA.
1960 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1962         * manual/nss.texi (NSS Modules Interface): Adjust function return
1963         type to enum nss_status.  Document errnop argument.  Clarify
1964         h_errnop semantics.  Fix cross-reference formatting.
1965         (NSS Module Function Internals): Mention that *errnop needs to be
1966         set on failure, but not to zero.
1968 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1970         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1971         (get_random_name): New functions.
1972         (check_wrapper_flags_mode): Use linkat to give the new file a name
1973         determined by get_random_name.
1974         (do_test): Add calls to test open64 and openat64.
1976 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1978         * test-skeleton.c: Remove #include <stdarg.h>.
1980 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1982         [BZ #19826]
1983         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1984         initialization of static TLS entries.
1985         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1986         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1988 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1990         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1991         _hurd_malloc_fork_prepare.
1992         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1993         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1994         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1995         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1996         (_hurd_fork_child_hook): Drop malloc_fork_child.
1997         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1998         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1999         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2000         after locking locks (notably hurd_dtable_lock). Call
2001         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2002         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2003         __malloc_fork_unlock_child.
2004         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2006 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2008         * soft-fp/extendhftf2.c: New.
2009         * soft-fp/fixhfti.c: Likewise.
2010         * soft-fp/fixunshfti.c: Likewise.
2011         * soft-fp/floattihf.c: Likewise.
2012         * soft-fp/floatuntihf.c: Likewise.
2013         * soft-fp/half.h: Likewise.
2014         * soft-fp/trunctfhf2.c: Likewise.
2016 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2018         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2019         macro.
2020         * math/libm-test.inc (issubnormal_test_data): New array.
2021         (issubnormal_test): New function.
2022         * manual/arith.texi (Floating Point Classes): Document
2023         issubnormal.
2024         * manual/libm-err-tab.pl: Update comment on interfaces without
2025         ulps tabulated.
2027         * sysdeps/generic/stdint.h: Define
2028         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2029         <bits/libc-header-start.h> instead of including <features.h>.
2030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2063         * manual/arith.texi (Integers): Document these macros for types
2064         specified by width properties.
2065         * manual/lang.texi (Width of Type): Document these macros for
2066         other standard typedefs.
2067         * stdlib/tst-width-stdint.c: New file.
2068         * stdlib/Makefile (tests): Add tst-width-stdint.
2070 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2072         [BZ #20016]
2073         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2074         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2075         Move ...
2076         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2077         ... here, as compatibility symbols in a new file.
2078         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2079         * resolv/res_init.c (__res_vinit): Adjust member names.
2080         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2081         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2082         (res_send_rhook): Remove.
2083         (struct __res_state): Rename qhook, rhook members.
2085 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2087         malloc: Use __libc_lock wrappers.
2088         * malloc/arena.c (list_lock, free_list_lock): Define using
2089         __libc_lock_define_initialized.
2090         (arena_lock): Adjust formatting.
2091         * malloc/malloc.c (struct malloc_state): Define mutex using
2092         __libc_lock_define.
2093         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2094         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2095         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2096         (mutex_unlock, mutex_trylock): Remove.
2097         (__pthread_initialize): Remove unused macro.
2098         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2099         (mutex_unlock, mutex_trylock): Remove.
2101 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2103         [BZ #20592]
2104         Remove RR type classification macros.
2105         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2106         (ns_t_udp_p, ns_t_xfr_p): Remove.
2108 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2110         Remove misleading version information.
2111         * resolv/arpa/nameser.h (__NAMESER): Remove.
2112         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2114 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2116         Remove the always-defined BIND_4_COMPAT macro.
2117         * resolv/arpa/nameser.h: Unconditionally include
2118         <arpa/nameser_compat.h>.
2119         (BIND_4_COMPAT): Remove.
2120         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2122 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2124         [BZ #20591]
2125         Remove obsolete DNSSEC support.
2126         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2127         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2128         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2129         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2130         (ns_cert_types): Add comment.
2131         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2132         separately.
2133         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2134         (dst_s_dns_key_id): Remove.
2135         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2136         variables.
2138 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2140         [BZ #20524]
2141         * manual/string.texi (String/Array Comparison): Clarify the
2142         strverscmp behavior.
2144 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2146         * test-skeleton.c (xasprintf): Add function.
2147         * io/tst-open-tmpfile.c: New test.
2148         * io/Makefile (tests): Add it.
2150 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2152         Avoid running $(CXX) during build to obtain header file paths.
2153         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2154         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2155         * Makerules (cstdlib, cmath): Remove variables.  Use
2156         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2157         * configure: Regenerate.
2159 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2161         * Makeconfig (all-object-suffixes): Include .op only if
2162         $(build-profile).
2164 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2166         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2167         conditionals.  Do not define PATH_MAX.
2169 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2171         * posix/Makefile (tests): Add tst-spawn3.
2172         * posix/tst-spawn3.c: New file.
2173         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2174         if it is already opened for open action.
2176         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2177         all signals when executing the clone vfork child.
2178         (SIGALL_SET): Remove macro.
2180         * nptl/Makefile (tests): Add tst-exec5.
2181         * nptl/tst-exec5.c: New file.
2182         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2183         asynchronous cancellation.
2185 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2187         * hurd/exc2signal.c: #include <hurd/signal.h>
2188         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2189         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2190         accordingly.
2191         * mach/mach_error.c (mach_error): Fix old-style function definition.
2192         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2194 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2196         * math/Makefile (libm-calls): Remove s_nanF.
2197         (gen-libm-calls): Add s_nanF.
2199         * math/s_nan.c: Refactor into ...
2200         * math/s_nan_template.c: New file.
2202         * math/s_nanf.c: Removed.
2203         * math/s_nanl.c: Removed.
2204         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2205         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2207         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2208         (LDOUBLE_nanl_libm_version): New macro.
2210         * sysdeps/generic/math-type-macros-double.h:
2211         (M_STRTO_NAN): New macro.
2212         * sysdeps/generic/math-type-macros-float.h: Likewise.
2213         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2215         * sysdeps/generic/math-type-macros.h: Document
2216         M_STRTO_NAN.
2218 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2220         * math/s_nanf.c: Remove __nanf undef.
2221         * math/s_nan.c: Remove __nan undef.
2222         * math/s_nanl.c: Remove __nanl undef.
2224         * sysdeps/generic/math_private.h (__nan): Remove macro
2225         override.
2226         (__nanf): Likewise.
2227         (__nanl): Likewise.
2229 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2231         * math/Makefile (gen-all-calls): New variable.
2232         (generated): Replace gen-libm-calls with gen-all-calls.
2233         (gen-libm-templates.stmp): Likewise.  Also, ensure
2234         the output directory exists or is created and add
2235         dependency on the Makefile.
2236         (calls): Move s_ldexpF into gen-calls.
2237         (gen-calls): New variable.
2239         * math/s_ldexpf.c: Removed.
2240         * math/s_ldexpl.c: Removed.
2241         * math/s_ldexp.c: Refactored into ...
2242         * math/s_ldexp_template.c: New file.
2244         * sysdeps/generic/math-type-macros-double.h: Remove
2245         redundant fall-through definition of declare_mgen_alias.
2246         (declare_mgen_alias_2): New macro.
2248         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2249         New macro for function aliased to two exported symbols.
2251         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2252         new template file.
2253         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2255 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2257         * Makeconfig (all-object-suffixes): Remove .og.
2258         * Makerules (elide-routines.og): Remove.
2259         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2260         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2261         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2263 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2265         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2266         .os objects.
2268 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2270         [BZ #20615]
2271         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2272         fpu directory by non-fpu.
2273         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2274         on non-fpu directory from a fpu directory.
2276 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2278         * include/limits.h: Define
2279         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2280         <bits/libc-header-start.h> instead of including <features.h>.
2281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2292         * manual/lang.texi (Width of Type): Document these macros.
2293         * stdlib/tst-width.c: New file.
2294         * stdlib/Makefile (tests): Add tst-width.
2296 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2298         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2299         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2301 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2303         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2304         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2305         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2307 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2309         [BZ #18243]
2310         * rt/Makefile (test): Add tst-shm-cancel.
2311         * rt/tst-shm-cancel.c: New file.
2312         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2314         [BZ #18243]
2315         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2316         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2317         definition.
2318         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2319         uncontended case.
2320         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2321         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2322         (tf): Fix check for uncontended case.
2323         (do_test): Likewise.
2324         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2325         (tf): Fix check for uncontended case.
2326         (do_test): Likewise.
2327         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2328         (tf): Fix check for uncontended case.
2329         (do_test): Likewise.
2330         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2331         (tf): Fix check for uncontended case.
2332         (do_test): Likewise.
2334         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2335         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2337         [BZ #15765]
2338         * nptl/Makefile (tests): Add tst-sem16.
2339         * nptl/tst-sem16.c: New file.
2340         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2342         * nptl/sem_open.c (sem_open): Init pad value to 0.
2343         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2344         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2346 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2348         [BZ #20611]
2349         * inet/Makefile (routines): Add inet6_scopeid_pton.
2350         (tests): Add tst-inet6_scopeid_pton.
2351         * inet/inet6_scopeid_pton.c: New file.
2352         * inet/net-internal.h: Likewise.
2353         * inet/tst-inet6_scopeid_pton.c: New test.
2354         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2355         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2358 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2360         Remove support for compiling wrappers with PTW.
2361         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2362         * nptl/Makefile (pthread-compat-wrappers): Define.
2363         (libpthread-routines): Use pthread-compat-wrappers.
2364         * sysdeps/unix/sysv/linux/alpha/Makefile
2365         (libpthread-routines, libpthread-shared-only-routines): Remove
2366         ptw- prefix.
2367         * sysdeps/s390/nptl/Makefile
2368         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2369         * sysdeps/ia64/nptl/Makefile
2370         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2371         * sysdeps/nacl/Makefile (libpthread-routines): Use
2372         pthread-compat-wrappers to filter the routines list instead of the
2373         ptw- prefix.
2375 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2377         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2378         with L() and remove explicit suffix, convert real literals
2379         which can be equivalentally substituted with integers, and
2380         transform -L(x) to L(-x).
2382         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2425         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2426         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2429         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2430         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2433 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2435         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2437 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2439         * malloc/Makefile (tests): Remove individual static test names
2440         and just add all of tests-static.
2442         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2444 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2446         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2447         file.
2449         * sysdeps/sparc/fpu/fegetmode.c: New file.
2450         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2452         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2453         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2455         * sysdeps/s390/fpu/fegetmode.c: New file.
2456         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2458         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2459         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2460         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2461         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2462         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2463         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2465         * sysdeps/mips/fpu/fegetmode.c: New file.
2466         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2468         * sysdeps/m68k/fpu/fegetmode.c: New file.
2469         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2471         * sysdeps/ia64/fpu/fegetmode.c: New file.
2472         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2474         * sysdeps/hppa/fpu/fegetmode.c: New file.
2475         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2477         * sysdeps/arm/fegetmode.c: New file.
2478         * sysdeps/arm/fesetmode.c: Likewise.
2480         * sysdeps/alpha/fpu/fegetmode.c: New file.
2481         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2483         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2484         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2486         * math/fegetmode.c: New file.
2487         * math/fesetmode.c: Likewise.
2488         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2489         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2490         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2491         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2492         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2494         declaration.
2495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2496         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2497         typedef.
2498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2499         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2500         (femode_t): New typedef.
2501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2502         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2503         (femode_t): New typedef.
2504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2505         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2506         (femode_t): New typedef.
2507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2508         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2509         (femode_t): New typedef.
2510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2511         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2512         (femode_t): New typedef.
2513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2514         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2515         (femode_t): New typedef.
2516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2517         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2518         (femode_t): New typedef.
2519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2520         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2521         (femode_t): New typedef.
2522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2523         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2524         (femode_t): New typedef.
2525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2526         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2527         (femode_t): New typedef.
2528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2529         declaration.
2530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2531         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2532         (femode_t): New typedef.
2533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2534         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2535         (femode_t): New typedef.
2536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2537         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2538         (femode_t): New typedef.
2539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2540         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2541         (femode_t): New typedef.
2542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2543         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2544         (femode_t): New typedef.
2545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2546         * manual/arith.texi (FE_DFL_MODE): Document macro.
2547         (fegetmode): Document function.
2548         (fesetmode): Likewise.
2549         * math/Versions (fegetmode): New libm symbol at version
2550         GLIBC_2.25.
2551         (fesetmode): Likewise.
2552         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2553         (tests): Add test-femode and test-femode-traps.
2554         * math/test-femode-traps.c: New file.
2555         * math/test-femode.c: Likewise.
2556         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2557         alias for __fe_dfl_env.
2558         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2560         (__fe_dfl_mode): Likewise.
2561         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2562         version GLIBC_2.25.
2563         * sysdeps/nacl/libm.abilist: Update.
2564         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2572         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2573         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2574         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2575         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2577         Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2579         Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2587         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2588         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2590         Likewise.
2591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2592         Likewise.
2593         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2595         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2597 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2599         [BZ #20495]
2600         [BZ #20508]
2601         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2602         processors, set Use_dl_runtime_resolve_slow and set
2603         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2604         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2605         New.
2606         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2607         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2608         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2609         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2610         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2611         if Use_dl_runtime_resolve_opt is set.  Use
2612         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2613         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2614         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2615         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2616         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2617         New.
2618         (_dl_runtime_resolve_opt): Likewise.
2619         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2620         defined.
2622 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2624         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2625         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2627 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2629         Convert malloc to __libc_lock.  Automated part, using this Perl
2630         s/// command:
2631           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2632             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2633         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2634         conversion.
2636 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2638         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2639         (linknamespace-symlists-tests): Likewise.
2640         (linknamespace-header-tests): Likewise.
2642 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2644         [BZ #19810]
2645         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2646         * elf/tst-noload.c: New test case.
2647         * elf/Makefile (tests): Add tst-noload.
2649 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2651         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2653         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2654         not any more.
2656         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2658 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2660         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2661         (do_cos_slow): Likewise.
2662         (do_sin): Likewise.
2663         (do_sin_slow): Likewise.
2664         (slow): Likewise.
2665         (slow1): Likewise.
2666         (slow2): Likewise.
2667         (sloww): Likewise.
2668         (sloww1): Likewise.
2669         (sloww2): Likewise.
2670         (bsloww): Likewise.
2671         (bsloww1): Likewise.
2672         (bsloww2): Likewise.
2673         (cslow2): Likewise.
2675         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2677         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2678         arguments.  Consolidate input partitioning from callers here.
2679         (do_cos_slow): Likewise.
2680         (do_sin): Likewise.
2681         (do_sin_slow): Likewise.
2682         (do_sincos_1): Remove the no longer necessary input partitioning.
2683         (do_sincos_2): Likewise.
2684         (__sin): Likewise.
2685         (__cos): Likewise.
2686         (slow1): Likewise.
2687         (slow2): Likewise.
2688         (sloww1): Likewise.
2689         (sloww2): Likewise.
2690         (bsloww1): Likewise.
2691         (bsloww2): Likewise.
2692         (cslow2): Likewise.
2694 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2696         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2697         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2698         outside of allocated array.
2700 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2702         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2703         instead of MB_CUR_MAX to avoid variable-length array.
2705 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2707         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2708         (type-double-routines): Add k_rem_pio2.
2709         (type-float-routines): Add k_rem_pio2f.
2711         * sysdeps/generic/math_private.h:
2712         (__kernel_rem_pio2l): Removed.
2714         * math/k_rem_pio2l.c: Removed.
2715         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2716         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2717         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2718         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2720 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2722         * math/Makefile (gen-libm-calls): Add s_fmin
2723         (libm-calls): Remove above.
2725         * math/s_fmin.c: Refactor into ...
2726         * math/s_fmin_template.c: New file.
2728         * math/s_fminf.c: Removed.
2729         * math/s_fminl.c: Removed.
2730         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2731         (LDOUBLE_fmin_libm_version): New macro.
2733         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2734         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2736 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2738         * math/Makefile: (gen-libm-calls): Add s_fmax.
2739         (libm-calls): Remove above.
2741         * math/s_fmax.c: Refactor into ...
2742         * math/s_fmax_template.c: New file.
2743         * math/s_fmaxf.c: Removed.
2744         * math/s_fmaxl.c: Removed.
2746         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2747         (LDOUBLE_fmaxl_libm_version): New macro.
2749         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2750         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2752         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2753         s_fmin.c to pick the aarch64 version of the file.
2754         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2755         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2757 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2759         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2760         (libm-calls): Remove above.
2762         * math/s_nextdown.c: Refactor into ...
2763         * math/s_nextdown_template.c: New file.
2764         * math/s_nextdownf.c: Removed.
2765         * math/s_nextdownl.c: Removed.
2767         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2769 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2771         * math/Makefile (gen-libm-calls): Add s_fdim.
2772         (libm-calls): Move to above.
2774         * math/s_fdim.c: Renamed and refactored into to ...
2775         * math/s_fdim_template.c: New file.
2776         * math/s_fdiml.c: Removed.
2777         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2778         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2780         * sysdeps/generic/math-type-macros-double.h:
2781         (declare_mgen_alias): Don't declare if already declared.
2782         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2783         Likewise.
2785         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2786         (declare_mgen_alias): Don't declare if already declared.
2787         (M_LIBM_NEED_COMPAT): Likewise.
2788         (declare_mgen_libm_compat): Likewise.
2789         (LDOUBLE_fdiml_libm_version): New macro.
2791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2792         Include math/s_fdim.c now that ldbl-opt version is not needed.
2793         (declare_mgen_alias): New macro to disable aliasing.
2795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2796         (declare_mgen_alias): Likewise.
2797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2798         (declare_mgen_alias): Likewise.
2799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2800         (declare_mgen_alias): Likewise.
2801         (M_LIBM_NEED_COMPAT): Likewise.
2803 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2805         [BZ #20525]
2806         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2807         Include <linux/quota.h>.
2808         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2809         and btodb.
2810         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2811         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2812         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2813         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2814         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2815         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2816         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2817         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2818         types.
2819         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2820         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2822 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2824         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2825         (gammal_positive): Fix spacing.
2826         (__ieee754_gammal_r): Likewise.
2828 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2830         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2831         (_Float128): Define as long double, always.
2832         (L): Apply long double type suffix, always.
2834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2835         _Float128, excepting comments.
2837         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2845         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2846         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2851         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2852         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2901         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2903         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2904         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2907         _Float128, and include math_private.h.
2908         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2911         long double semantics.
2912         (_Float128): Likewise.
2913         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2915         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2916         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2918 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2920         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2921         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2922         * sysdeps/s390/configure: Regenerated.
2923         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2924         instruction for raising over-/underflow if z196 zarch is supported
2925         by default.
2926         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2928 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2930         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2931         it point to a dumb buffer for RPC to fill it.
2933 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2935         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2936         instead of if/else.
2937         (do_sin_slow): Likewise.
2938         (do_sincos_1): Use fabs instead of if/else.
2939         (do_sincos_2): Likewise.
2940         (__sin): Likewise.
2941         (__cos): Likewise.
2942         (slow2): Likewise.
2943         (sloww): Likewise.
2944         (sloww1): Likewise.  Drop argument M.
2945         (sloww2): Use fabs instead of if/else.
2946         (bsloww): Likewise.
2947         (bsloww1): Likewise.
2948         (bsloww2): Likewise.
2950         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2951         fall through comment.
2952         (do_sincos_1): Likewise.
2954         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2955         Consolidate switch cases 0 and 2.
2957 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2959         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2960         (libm-calls): Remove the above.
2962         * math/s_cexp_template.c: Update using type-generic macros.
2963         * math/s_clog10_template.c: Likewise.
2964         * math/s_cpow_template.c: Likewise.
2965         * math/s_clog_template.c: Likewise.
2966         * math/s_cproj_template.c: Likewise.
2967         * math/s_csqrt_template.c: Likewise.
2969         * math/s_cexp.c: Removed.
2970         * math/s_cexpf.c: Removed.
2971         * math/s_cexpl.c: Removed.
2972         * math/s_clog10.c: Removed.
2973         * math/s_clog10f.c: Removed.
2974         * math/s_clog10l.c: Removed.
2975         * math/s_cpow.c: Removed.
2976         * math/s_cpowf.c: Removed.
2977         * math/s_cpowl.c: Removed.
2978         * math/s_clog.c: Removed.
2979         * math/s_clogf.c: Removed.
2980         * math/s_clogl.c: Removed.
2981         * math/s_cproj.c: Removed.
2982         * math/s_cprojf.c: Removed.
2983         * math/s_cprojl.c: Removed.
2984         * math/s_csqrt.c: Removed.
2985         * math/s_csqrtf.c: Removed.
2986         * math/s_csqrtl.c: Removed.
2988         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2989         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2990         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2991         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2992         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2993         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2995         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2996         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2997         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2998         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2999         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3000         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3001         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3002         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3003         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3004         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3005         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3007         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3008         version.
3010         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3011         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3012         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3013         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3015 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3017         * s_cexp_template.c: Copy of s_cexp.c.
3018         * s_clog_template.c: Copy of s_clog.c.
3019         * s_clog10_template.c: Copy of s_clog10.c.
3020         * s_cpow_template.c: Copy of s_cpow.c.
3021         * s_cproj_template.c: Copy of s_cproj.c.
3022         * s_csqrt_template.c: Copy of s_csqrt.c.
3024 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3026         [BZ #20517]
3027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3028         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3029         exported.
3031 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3033         * math/fetestexceptflag.c: New file.
3034         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3035         Stefan Liebler.
3036         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3037         (fetestexceptflag): New function declaration.
3038         * manual/arith.texi (fetestexceptflag): Document function.
3039         * math/Versions (fetestexceptflag): New libm symbol at version
3040         GLIBC_2.25.
3041         * math/Makefile (libm-support): Add fetestexceptflag.
3042         (tests): Add test-fetestexceptflag.
3043         * math/test-fetestexceptflag.c: New file.
3044         * sysdeps/nacl/libm.abilist: Update.
3045         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3055         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3056         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3060         Likewise.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3062         Likewise.
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3064         Likewise.
3065         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3071         Likewise.
3072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3073         Likewise.
3074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3075         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3076         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3078 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3080         [BZ #20432]
3081         Avoid strong references to malloc-internal symbols when linking
3082         statically, to support statically interposed mallocs.
3083         * include/libc-symbols.h (call_function_static_weak): New macro.
3084         * malloc/Makefile (tests): Add tst-interpose-nothread,
3085         tst-interpose-thread, tst-interpose-static-nothread,
3086         tst-interpose-static-thread.
3087         (tests-static): Add tst-interpose-static-nothread,
3088         tst-interpose-static-thread.
3089         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3090         tst-interpose-aux-thread.o.
3091         (test-extras): Add tst-interpose-aux-nothread,
3092         tst-interpose-aux-thread.
3093         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3094         tst-interpose-aux-nothread.o.
3095         (tst-interpose-thread, tst-interpose-static-thread): Link with
3096         tst-interpose-aux-thread.o and libthread.
3097         * malloc/tst-interpose-aux-nothread.c: New file.
3098         * malloc/tst-interpose-aux-thread.c: Likewise.
3099         * malloc/tst-interpose-aux.c: Likewise.
3100         * malloc/tst-interpose-aux.h: Likewise.
3101         * malloc/tst-interpose-nothread.c: Likewise.
3102         * malloc/tst-interpose-skeleton.c: Likewise.
3103         * malloc/tst-interpose-static-nothread.c: Likewise.
3104         * malloc/tst-interpose-static-thread.c: Likewise.
3105         * malloc/tst-interpose-thread.c: Likewise.
3106         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3107         * sysdeps/mach/hurd/fork.c (__fork): Only call
3108         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3109         __malloc_fork_unlock_child if defined.
3110         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3112 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3114         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3115         timespec C99 designated initialization.
3117 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3119         [BZ #19946]
3120         Avoid expected SIGALRM signals.
3121         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3122         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3123         (xpthread_create, xpthread_detach, xpthread_join)
3124         (delayed_exit_thread, delayed_exit): New functions.
3125         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3126         (tf): Use xpthread_cond_wait.
3127         (do_test): Likewise.  Replace alarm with delayed_exit.
3128         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3129         (do_test): Call delayed_exit.  Report failure.
3130         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3131         (do_test): Call delayed_exit.
3132         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3133         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3134         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3135         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3136         error.
3137         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3138         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3139         error.
3140         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3141         (do_test): Call delayed_exit.
3142         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3143         (do_test): Call delayed_exit.
3144         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3145         (do_test): Call delayed_exit instead of alarm.  Use
3146         xpthread_mutex_lock.
3147         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3148         (do_test): Call delayed_exit instead of alarm.  Use
3149         xpthread_mutex_lock.
3150         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3151         (do_test): Call delayed_exit instead of alarm.
3152         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3153         (do_test): Call delayed_exit instead of alarm.  Use
3154         xpthread_spin_lock.
3155         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3156         (do_test): Call delayed_exit instead of alarm.  Use
3157         xpthread_join.
3159 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3161         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3162         adjust CFA when allocating register save area on re-aligned
3163         stack.
3165 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3167         * string/tst-cmp.c: New test.
3168         * string/Makefile (tests): Add it.
3170 2016-08-25  Mark Wielaard  <mark@klomp.org>
3172         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3173         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3174         (check_tree_recurse): Use newly defined accessors.
3175         (check_tree): Likewise.
3176         (maybe_split_for_insert): Likewise.
3177         (__tfind): Likewise.
3178         (__tdelete): Likewise.
3179         (trecurse): Likewise.
3180         (tdestroy_recurse): Likewise.
3181         (__tsearch): Likewise. And add asserts for malloc alignment.
3182         (__twalk): Cast root to node in case CHECK_TREE is defined.
3184 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3186         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3188 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3190         * math/Makefile (libm-gen-calls): Add
3191         catan, catanh, ctan, ctanh.
3192         (libm-calls): Remove the above.
3194         * math/s_catan_template.c: Update using type-generic macros.
3195         * math/s_catanh_template.c: Likewise.
3196         * math/s_ctan_template.c: Likewise.
3197         * math/s_ctanh_template.c: Likewise.
3199         * math/s_catanf.c: Removed.
3200         * math/s_catan.c: Removed.
3201         * math/s_catanl.c: Removed.
3202         * math/s_catanhf.c: Removed.
3203         * math/s_catanh.c: Removed.
3204         * math/s_catanhl.c: Removed.
3205         * math/s_ctanf.c: Removed.
3206         * math/s_ctan.c: Removed.
3207         * math/s_ctanl.c: Removed.
3208         * math/s_ctanhf.c: Removed.
3209         * math/s_ctanh.c: Removed.
3210         * math/s_ctanhl.c: Removed.
3212         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3213         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3214         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3215         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3216         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3217         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3219         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3220         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3221         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3222         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3224 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3226         * s_catan_template.c: Copy of s_catan.c.
3227         * s_catanh_template.c: Copy of s_catanh.c.
3228         * s_ctan_template.c: Copy of s_ctan.c.
3229         * s_ctanh_template.c: Copy of s_ctanh.c.
3231 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3233         * math/Makefile (gen-libm-calls): Move
3234         casin, casinh, csin, csinh here.
3235         (libm-calls): Remove the above.
3237         * math/s_casin_template.c: Update using type-generic macros.
3238         * math/s_casinh_template.c: Likewise.
3239         * math/s_csin_template.c: Likewise.
3240         * math/s_csinh_template.c: Likewise.
3241         * math/k_casinh_template.c: Likewise.
3243         * math/s_casinf.c: Removed.
3244         * math/s_casin.c: Removed.
3245         * math/s_casinl.c: Removed.
3246         * math/s_casinh.c: Removed.
3247         * math/s_casinhf.c: Removed.
3248         * math/s_casinhl.c: Removed.
3249         * math/s_csin.c: Removed.
3250         * math/s_csinf.c: Removed.
3251         * math/s_csinl.c: Removed.
3252         * math/s_csinh.c: Removed.
3253         * math/s_csinhf.c: Removed.
3254         * math/s_csinhl.c: Removed.
3255         * math/k_casinh.c: Removed.
3256         * math/k_casinhf.c: Removed.
3257         * math/k_casinhl.c: Removed.
3259         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3260         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3261         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3262         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3264         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3265         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3266         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3267         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3268         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3269         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3270         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3271         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3273         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3274         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3275         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3276         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3278         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3279         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3280         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3281         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3283 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3285         * s_casin_template.c: Copy of s_casin.c.
3286         * s_casinh_template.c: Copy of s_casinh.c.
3287         * s_csin_template.c: Copy of s_csin.c.
3288         * s_csinh_template.c: Copy of s_csinh.c.
3289         * k_casinh_template.c: Copy of k_casinh.c.
3291 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3293         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3295 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3297         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3298         (mul_split) Remove, rename as mul_splitl, remove
3299         redundant float.h include, and include via mul_splitl.h
3301         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3302         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3303         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3304         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3305         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3307         * math/mul_splitl.h: New file.
3309         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3310         Move into mul_split.h, and remove redundant float.h include.
3312         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3313         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3314         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3315         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3317         * math/mul_split.h: New file.
3319 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3321         * math/Makefile (libm-gen-calls): Move
3322         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3323         (libm-calls): Remove above.
3325         * math/s_cacos_template.c: Update using type-generic macros.
3326         * math/s_cacosh_template.c: Likewise.
3327         * math/s_ccos_template.c: Likewise.
3328         * math/s_ccosh_template.c: Likwise.
3330         * math/s_cacosf.c: Removed.
3331         * math/s_cacos.c: Removed.
3332         * math/s_cacosl.c: Removed.
3333         * math/s_cacoshf.c: Removed.
3334         * math/s_cacosh.c: Removed.
3335         * math/s_cacoshl.c: Removed.
3336         * math/s_ccosf.c: Removed.
3337         * math/s_ccos.c: Removed.
3338         * math/s_ccosl.c: Removed.
3339         * math/s_ccoshf.c: Removed.
3340         * math/s_ccosh.c: Removed.
3341         * math/s_ccoshl.c: Removed.
3343         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3344         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3345         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3346         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3347         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3348         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3350         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3351         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3352         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3353         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3355         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3356         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3357         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3358         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3360 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3362         * s_cacos_template.c: Copy of s_cacos.c.
3363         * s_cacosh_template.c: Copy of s_cacosh.c.
3364         * s_ccos_template.c: Copy of s_ccos.c.
3365         * s_ccosh_template.c: Copy of s_ccosh.c.
3367 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3369         * stdlib/tst-strtod-round-skeleton.c:
3370         Refactored from tst-strtod-round.c.
3372         (L_): New macro to apply literal modifier.
3373         (FNPFX): New macro to select str or wcs prefix.
3374         (CHAR): New macro to choose wchar_t or char.
3375         (STRM): New macro to choose printf for tested character type.
3377         (STRTO): New macro to choose appropriate string -> real function.
3378         (FNPFXS): Stringitized version of FNPFX.
3379         (STR): Support for above macro.
3380         (STRX): Likewise.
3382         (TEST): Update with above macros.
3383         (test): Likewise.
3384         (GEN_ONE_TEST): Likewise.
3385         (test_in_one_mode): Likewise.
3387         * stdlib/tst-strtod-round.c: New file.
3388         * wcsmbs/tst-wcstod-round.c: New file.
3390         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3391         (tst-wcstod-round): Add libm depencency for fesetround.
3393 2016-08-19  Zack Weinberg  <zackw@panix.com>
3395         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3397 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3399         [BZ #20477]
3400         * resolv/res_hconf.c (do_init): Use atomic access.
3401         * resolv/res_hconf.h: Add comments.
3402         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3403         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3406 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3409         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3411         Likewise.
3413 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3415         [BZ #16907]
3416         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3417         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3418         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3419         (__attribute__): Remove definition.
3421 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3423         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3424         Remove unused sqrtl declaration.
3426 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3428         * math/Makefile: (gen-libm-templates.stmp): New rule.
3429         (libm-calls): Move carg conj cimag and cabs into ...
3430         (gen-libm-calls): New variable.
3431         (generated): Inform Make objects from gen-libm-calls
3432         may be generated.
3434         * sysdeps/generic/math-type-macros.h: New file.
3435         * sysdeps/generic/math-type-macros-float.h: Likewise.
3436         * sysdeps/generic/math-type-macros-double.h: Likewise.
3437         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3438         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3439         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3441         * math/cabs.c: Refactor into
3442         * math/cabs_template.c: new file.
3443         * math/cabsf.c: Removed.
3444         * math/cabsl.c: Removed.
3445         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3446         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3448         * math/carg.c: Refactor into
3449         * math/carg_template.c: new file.
3450         * math/cargf.c: Removed.
3451         * math/cargl.c: Removed.
3452         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3453         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3455         * math/conj.c: Refactor into
3456         * math/conj_template.c: new file.
3457         * math/conjf.c: Removed.
3458         * math/conjl.c: Removed.
3459         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3460         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3462         * math/cimag.c: Refactor into
3463         * math/cimag_template.c: new file.
3464         * math/cimagf.c: Removed.
3465         * math/cimagl.c: Removed.
3466         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3467         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3469         * math/cimag.c: Refactor into
3470         * math/cimag_template.c: new file.
3471         * math/cimagf.c: Removed.
3472         * math/cimagl.c: Removed.
3473         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3474         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3476 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3478         Reduce time to expected nptl/tst-once5 failure.
3479         * nptl/tst-once5.cc (TIMEOUT): Define.
3481 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3483         [BZ #20452]
3484         Avoid additional copies of objects in libc.a in static libraries.
3485         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3486         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3487         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3488         rt-sysdep.
3489         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3490         Add nptl-sysdep.
3491         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3492         Add ptw-sysdep.
3493         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3494         rt-sysdep.
3495         * sysdeps/unix/sysv/linux/alpha/Makefile
3496         (libpthread-shared-only-routines): Add ptw-sysdep,
3497         ptw-sigprocmask, ptw-rt_sigaction.
3498         * sysdeps/unix/sysv/linux/ia64/Makefile
3499         (librt-shared-only-routines): Add rt-sysdep.
3500         * sysdeps/unix/sysv/linux/i386/Makefile
3501         (libpthread-shared-only-routines): Add libc-do-syscall.
3502         * sysdeps/unix/sysv/linux/microblaze/Makefile
3503         (libpthread-shared-only-routines): Add sysdep.
3504         * sysdeps/unix/sysv/linux/powerpc/Makefile
3505         (librt-shared-only-routines): Add rt-sysdep.
3506         (libpthread-shared-only-routines): Add sysdep.
3507         * sysdeps/unix/sysv/linux/s390/Makefile
3508         (librt-shared-only-routines): Add rt-sysdep.
3509         * sysdeps/unix/sysv/linux/sparc/Makefile
3510         (librt-shared-only-routines): Add rt-sysdep.
3511         (libpthread-shared-only-routines): Add sysdep.
3512         * sysdeps/unix/sysv/linux/tile/Makefile
3513         (libpthread-shared-only-routines): Likewise.
3515 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3517         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3518         Mask implicit bit out of unpacked value.
3519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3523         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3525         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3527         * sysdeps/s390/fpu/fesetexcept.c: New file.
3529         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3530         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3533         * sysdeps/mips/fpu/fesetexcept.c: New file.
3535         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3537         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3539         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3541         * sysdeps/arm/fesetexcept.c: New file.
3543         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3545         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3547         * math/fesetexcept.c: New file.
3548         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3549         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3550         * math/fenv.h: Define
3551         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3552         <bits/libc-header-start.h> instead of including <features.h>.
3553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3554         declaration.
3555         * manual/arith.texi (fesetexcept): Document function.
3556         * math/Versions (fesetexcept): New libm symbol at version
3557         GLIBC_2.25.
3558         * math/Makefile (libm-support): Add fesetexcept.
3559         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3560         * math/test-fesetexcept.c: New file.
3561         * math/test-fesetexcept-traps.c: Likewise.
3562         * sysdeps/nacl/libm.abilist: Update.
3563         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3564         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3565         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3566         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3567         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3568         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3570         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3571         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3572         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3573         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3574         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3576         Likewise.
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3578         Likewise.
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3580         Likewise.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3582         Likewise.
3583         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3584         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3585         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3586         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3587         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3589         Likewise.
3590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3591         Likewise.
3592         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3594         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3596 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3598         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3599         New.
3600         (do_test): Apply default_stack_size_in_mb if not set.
3601         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3603 2016-08-15  Andreas Schwab  <schwab@suse.de>
3605         [BZ #20435]
3606         CVE-2016-6323
3607         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3608         as .cantunwind.
3610 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3612         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3613         comment from fraiseexcpt.c.
3615         * math/test-fexcept.c (feraiseexcept_exact): New function.
3616         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3617         (test_except): Likewise.
3619 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3621         [BZ #20455]
3622         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3623         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3624         to be restored.
3626         * math/test-fexcept-traps.c: New file.
3627         * math/test-fexcept.c: Likewise.
3628         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3629         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3630         macro.
3631         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3632         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3634 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3636         * include/atomic.h (atomic_fetch_and_relaxed,
3637         atomic_fetch_and_release, atomic_fetch_or_release,
3638         atomic_fetch_xor_release): New.
3640 2016-08-06  Christian Seiler  <christian@iwakd.de>
3642         [BZ #20444]
3643         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3644         MACH_PORT_NULL.
3646 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3648         * math/s_fdim.c: Avoid alias renamed.
3649         * math/s_fdimf.c: Likewise.
3650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3651         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3652         Add s_fdimf-vis3, s_fdim-vis3.
3653         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3654         (CFLAGS-s_fdim-vis3.c): Likewise.
3655         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3656         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3658 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3661         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3662         Remove s_fdimf-vis3, s_fdim-vis3.
3663         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3664         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3671         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3672         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3674 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3676         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3677         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3678         -Wa,-Av9a -mvis.
3680 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3682         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3683         LIT() to individual constants in simple expressions
3684         after splitting on spaces.
3685         (_apply_lit): Rename replaced version, and use it to
3686         apply to what appears to be a token.
3688         * math/libm-test.inc: Fix many, many issues with
3689         spacing.
3691 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3693         * math/math.h: Move comment about <bits/mathdef.h> definitions
3694         above inclusion of <bits/mathdef.h>.  Do not mention
3695         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3697 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3699         * include/atomic.h (atomic_exchange_relaxed): New.
3701 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3703         * math/e_scalb.c: Do not include <fenv.h>.
3704         (invalid_fn): Do calculation resulting in NaN instead of raising
3705         FE_INVALID and returning a NaN explicitly.
3706         * math/e_scalbf.c: Do not include <fenv.h>.
3707         (invalid_fn): Do calculation resulting in NaN instead of raising
3708         FE_INVALID and returning a NaN explicitly.
3709         * math/e_scalbl.c: Do not include <fenv.h>.
3710         (invalid_fn): Do calculation resulting in NaN instead of raising
3711         FE_INVALID and returning a NaN explicitly.
3713 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3715         * po/de.po: Updated from Translation Project.
3716         * po/fi.po: Likewise.
3717         * po/sv.po: Likewise.
3719 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3721         [BZ #20452]
3722         Use sysdep.o from libc.a in static libraries.
3723         * sysdeps/unix/sysv/linux/i386/Makefile
3724         (libpthread-shared-only-routines): Add sysdep.
3725         (librt-shared-only-routines): Likewise.
3727 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3729         * math/tgmath.h (nextdown): Define if
3730         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3731         (nextup): Likewise.
3733         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3734         macro.
3735         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3736         Document.
3737         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3738         Document macro.
3739         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3740         (exp10f): Likewise.
3741         (exp10l): Likewise.
3742         * math/bits/mathcalls.h (exp10): Declare if
3743         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3745         * manual/arith.texi (nextup): Fix typo in last change.
3747 2016-08-03  Zack Weinberg  <zackw@panix.com>
3749         [BZ #19239]
3750         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3751         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3752         define major, minor, and makedev to issue deprecation warnings on use.
3753         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3754         previously-activated deprecation warnings for these macros and prevent
3755         subsequent inclusions of this header from having any effect.
3756         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3757         including <sys/sysmacros.h>, and undefine it again afterward.
3759 2016-08-03  Zack Weinberg  <zackw@panix.com>
3761         * sysdeps/generic/sys/sysmacros.h: Delete file.
3762         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3763         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3764         * bits/sysmacros.h: ... here; this encoding is now the generic
3765         encoding.  Now defines only the following macros:
3766         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3767         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3768         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3770         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3771         bits/sysmacros.h and the above new macros to generate the
3772         public implementations of major, minor, and makedev.
3773         * misc/tst-makedev.c: New test.
3774         * include/sys/sysmacros.h: New wrapper.
3776         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3777         (routines): Add makedev.
3778         (tests): Add tst-makedev.
3779         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3780         gnu_dev_makedev.
3781         * posix/Makefile (headers): Remove sys/sysmacros.h.
3782         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3784         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3785         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3786         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3787         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3788         * sysdeps/unix/sysv/linux/arm/libc.abilist
3789         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3790         * sysdeps/unix/sysv/linux/i386/libc.abilist
3791         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3792         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3793         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3794         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3795         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3796         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3797         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3798         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3799         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3804         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3805         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3806         * sysdeps/unix/sysv/linux/sh/libc.abilist
3807         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3808         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3811         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3812         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3813         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3814         Add GLIBC_2.25.
3816         * include/features.h (__glibc_clang_prereq): New macro.
3817         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3818         (__attribute_deprecated_msg__): New macros.
3820 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3822         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3823         macro.
3824         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3825         * manual/arith.texi (issignaling): Document as ISO from TS
3826         18661-1:2014.
3827         (nextup): Likewise.
3828         (nextupf): Likewise.
3829         (nextupl): Likewise.
3830         (nextdown): Likewise.
3831         (nextdownf): Likewise.
3832         (nextdownl): Likewise.
3833         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3834         macro.
3835         * math/math.h: Define
3836         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3837         <bits/libc-header-start.h> instead of including <features.h>.
3838         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3839         [__USE_GNU].
3840         * math/bits/mathcalls.h (nextdown): Declare if
3841         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3842         (nextup): Likewise.
3843         (__issignaling): Likewise.
3845 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3847         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3848         check, and remove __glibc_likely hint
3849         from FP_INFINITE check.
3850         * s_csinhf.c (__csinhf): Likewise.
3852         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3853         hint from FP_INFINITE check.
3854         * s_csinhl.c (__csinhl): Likewise.
3856 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3858         * math/Makefile (libm-calls): Insert F placeholder into
3859         object names.  Move w_lgamma_compat* routines into
3860         (libm-compat-calls): New variable.
3861         (libm-compat-calls-ldouble-yes): New variable.
3862         (calls): Insert F placeholder.
3863         (generated): Redefine using new type-foreach macro call.
3864         (routines): Likewise.
3866         (types): New variable to hold a list of symbolic names
3867         for each type supported by the target machine.
3868         (libm-routines): Redefine using new types variable.
3869         (type-foreach): macro to replace fooF with the
3870         appropriately suffixed foo for each types.
3872         (type-ldouble-suffix): New variable.
3873         (type-ldouble-routines): Likewise.
3874         (type-ldouble-yes): Likewise.
3875         (type-double-suffix): Likewise.
3876         (type-double-routines): Likewise.
3877         (type-float-suffix): Likewise.
3878         (type-float-routines): Likewise.
3880         (dbl-only-routines): Remove.
3881         (long-c-yes): Likewise.
3882         (long-m-routines): Likewise.
3883         (long-m-support): Likewise.
3884         (long-m-yes): Likewise.
3885         (test-longdouble-yes): Likewise.
3887         (test-float.o): Simplify by increasing the scope of the
3888         recipe which adds libm-test.stmp to the vector types.
3889         (test-ifloat.o): Likewise.
3890         (test-float-finite.o): Likewise.
3891         (test-double.o): Likewise
3892         (test-idouble.o): Likewise.
3893         (test-double-finite.o): Likewise.
3894         (test-ldouble.o): Likewise
3895         (test-ildoubl.o): Likewise.
3896         (test-ldouble-finite.o): Likewise.
3898         (libm-tests): Redefine type tests using foreach and the
3899         list of types in types.
3901         (CPPFLAGS-test-ildoubl.c): Rename to
3902         (CPPFLAGS-test-ildouble.c): New variable
3904         * math/test-ildoubl.c: Rename to
3905         * math/test-ildouble.c: New file.
3907 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3909         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3910         Use fabsl instead of fabs.
3911         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3912         Likewise.
3913         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3914         Add long double suffix to constant to ensure proper
3915         promotion to long double.
3917 2016-08-03  Tom Tromey  <tom@tromey.com>
3919         [BZ #20311]
3920         * nptl_db/Makefile (headers): Add proc_service.h.
3921         * nptl_db/proc_service.h: Add include guard.  Use
3922         __BEGIN/__END_DECLS.
3923         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3924         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3925         arguments.
3928 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3930         [BZ #17730]
3931         Avoid using memalign for TCB allocations.
3932         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3933         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3934         Avoid alignment gap in the TLS_DTV_AT_TP case.
3935         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3936         determine the pointer to free.
3937         * nptl/tst-tls3-malloc.c: New test.
3938         * nptl/Makefile (tests): Add it.
3939         (tst-tls3-malloc): Link with libdl, libpthread.
3940         (LDFLAGS-tst-tls3-malloc): Set.
3941         (tst-tls3-malloc.out): Depend on DSO used in test.
3943 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3945         [BZ #17730]
3946         Avoid using memalign for TLS allocations.
3947         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3948         is_static member with to_free member.
3949         (union dtv): Use struct dtv_pointer.
3950         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3951         dtv_pointer instead of is_static.
3952         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3953         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3954         instead of val.
3955         (allocate_dtv_entry): New function.
3956         (allocate_and_init): Return struct dtv_pointer.  Call
3957         allocate_dtv_entry instead of __libc_memalign.
3958         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3959         instead of val.
3960         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3961         instead of is_static.  Adjust call to allocate_and_init.
3962         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3963         struct dtv_pointer instead of val.
3965 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3967         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3968         (MALLOC_ALIGN_MASK): Move ...
3969         * malloc/malloc-internal.h: ... to here.
3970         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3972 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3974         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3975         (UDP_ENCAP_GTP1U): Likewise.
3977         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3978         (PF_MAX): Update value.
3979         (AF_QIPCRTR): New macro.
3981 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3983         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3984         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3985         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3987         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3988         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3989         s_truncf-vis3, s_trunc-vis3.
3990         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3991         (CFLAGS-s_ceil-vis3.c): Likewise.
3992         (CFLAGS-s_floorf-vis3.c): Likewise.
3993         (CFLAGS-s_floor-vis3.c): Likewise.
3994         (CFLAGS-s_truncf-vis3.c): Likewise.
3995         (CFLAGS-s_trunc-vis3.c): Likewise.
3996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4005         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4007         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4009 2016-08-02  David S. Miller  <davem@davemloft.net>
4011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4012         (__nearbyint_vis3): Don't check for sNaN before float register is
4013         loaded with the incoming argument.
4014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4015         (__nearbyintf_vis3): Likewise.
4016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4017         Likewise.
4018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4019         Likewise.
4021         * string/test-strncmp.c (do_test_limit): Make sure the test data
4022         stream is aligned as required for the type "CHAR".
4023         (do_test): Likewise.
4025 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4027         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4028         by beq instructions jumping to the end of the function.
4029         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4030         clobber list. Use "i" constraint instead of "X".
4031         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4032         of "X".
4034 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4036         * bits/libc-header-start.h: New file.
4037         * Makefile (headers): Add bits/libc-header-start.h.
4038         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4039         (__GLIBC_USE): New macro.
4040         * libio/stdio.h: Define
4041         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4042         <bits/libc-header-start.h> instead of including <features.h>.
4043         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4044         (open_memstream): Likewise.
4045         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4046         (__asprintf): Likewise.
4047         (asprintf): Likewise.
4048         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4049         (getdelim): Likewise.
4050         (getline): Likewise.
4051         * string/string.h: Define
4052         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4053         <bits/libc-header-start.h> instead of including <features.h>.
4054         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4055         (strndup): Likewise.
4056         * wcsmbs/wchar.h: Define
4057         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4058         <bits/libc-header-start.h> instead of including <features.h>.
4059         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4060         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4062 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4064         Support linking against compatibility symbols, for use in tests.
4065         * include/libc-symbols.h (symbol_version_reference): New macro.
4066         (symbol_version): Use it.
4067         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4068         (compat_symbol): Use compat_symbol_reference.
4069         (compat_symbol_1, compat_symbol_2): Remove.
4070         (compat_symbol_reference, compat_symbol_reference_1)
4071         (compat_symbol_reference_2): New macro.  Use
4072         symbol_version_reference.
4074 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4076         [BZ #19469]
4077         * malloc/Makefile (CPPFLAGS): Compile tests with
4078         -DTEST_NO_MALLOPT.
4079         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4081 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4083         [BZ #20033]
4084         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4085         finite version.
4086         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4087         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4088         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4089         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4090         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4092         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4100         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4101         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4102         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4103         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4104         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4105         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4106         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4107         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4108         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4109         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4110         in zero power.
4112 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4114         [BZ #20370]
4115         * malloc/arena.c (get_free_list): Update comment.  Assert that
4116         arenas on the free list have no attached threads.
4117         (remove_from_free_list): New function.
4118         (reused_arena): Call it.
4120 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4122         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4123         when it is a NaN.
4124         [_IEEE_FP_INEXACT] Remove.
4125         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4126         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4127         when it is a NaN.
4128         [_IEEE_FP_INEXACT] Remove.
4129         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4130         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4131         when it is a NaN.
4132         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4133         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4134         when its absolute value is greater than 0x1.0p52.
4135         [_IEEE_FP_INEXACT] Remove.
4136         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4137         when its absolute value is greater than 0x1.0p23.
4138         [_IEEE_FP_INEXACT] Remove.
4140 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4142         * version.h (RELEASE): Set to "development"
4143         (VERSION): Set to 2.24.90.
4144         * NEWS: Add 2.25 section.
4146         * version.h (RELEASE): Set to "stable"
4147         (VERSION): Set to 2.24.
4148         * include/features.h (__GLIBC_MINOR__): Set to 24.
4150         * NEWS: Add 2.24 fixed bugs.
4151         * po/libc.pot: Regenerate.
4153 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4156         [$(subdir) = math] (libm-sysdep_routines): Remove.
4157         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4158         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4159         s_truncf-vis3, s_trunc-vis3.
4160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4162         file.
4163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4196         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4198         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4200         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4201         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4202         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4203         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4204         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4205         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4207 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4209         [BZ #20384]
4210         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4211         test-double-libmvec-sincos-avx-main.o,
4212         test-double-libmvec-sincos-avx2-main.o,
4213         test-double-libmvec-sincos-main.o,
4214         test-float-libmvec-sincosf-avx-main.o,
4215         test-float-libmvec-sincosf-avx2-main.o and
4216         test-float-libmvec-sincosf-main.o.
4217         test-float-libmvec-sincosf-avx512-main.o.
4218         ($(objpfx)test-double-libmvec-sincos): Also link with
4219         $(objpfx)test-double-libmvec-sincos-main.o.
4220         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4221         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4222         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4223         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4224         ($(objpfx)test-float-libmvec-sincosf): Also link with
4225         $(objpfx)test-float-libmvec-sincosf-main.o.
4226         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4227         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4228         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4229         test-double-libmvec-sincos-avx512-main.o and
4230         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4231         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4232         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4233         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4234         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4235         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4236         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4237         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4238         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4239         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4240         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4241         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4242         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4243         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4244         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4245         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4246         -DREQUIRE_AVX2.
4247         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4248         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4249         -DREQUIRE_AVX512F.
4250         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4251         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4252         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4253         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4254         file.
4255         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4256         Likewise.
4257         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4258         Likewise.
4259         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4260         Likewise.
4261         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4262         Likewise.
4263         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4264         Likewise.
4265         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4266         Likewise.
4267         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4268         Likewise.
4270 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4272         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4274 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4276         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4277         and typo in a comment about AT_HWCAP entry.
4279 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4281         * sysdeps/aarch64/libm-test-ulps: Updated.
4283 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4285         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4286         of r13 as it is not restored in mvcle case.
4288 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4290         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4291         Rename "ret" to "__ret".
4292         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4293         inline_syscall5, inline_syscall6): Likewise.
4295 2016-07-19   Will Newton  <will.newton@gmail.com>
4297         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4298         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4299         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4300         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4301         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4303 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4305         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4306         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4307         -mfpmath=387 with $(rtld-CFLAGS).
4308         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4309         $(rtld-CFLAGS).
4311 2016-07-18   Ross Burton  <ross.burton@intel.com>
4312              Khem Raj  <raj.khem@gmail.com>
4314         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4315         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4316         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4317         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4318         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4319         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4320         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4321         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4322         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4323         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4324         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4325         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4326         R_METAG_TLS_DTPOFF): New.
4328 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4329             Matt Clay  <mclay@lycos.com>
4331         [BZ #20357]
4332         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4333         to call __mpsin/__mpcos and to negate values.
4334         * math/auto-libm-test-in: Add test.
4335         * math/auto-libm-test-out: Regenerate.
4337 2016-07-18  Zack Weinberg  <zackw@panix.com>
4339         * grp/Makefile: Don't install the internal header grp-merge.h.
4341 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4343         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4345 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4347         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4349 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4351         [BZ #15368]
4352         * sysdeps/unix/sysv/linux/nptl-signals.h
4353         (__nptl_clear_internal_signals): New function.
4354         (__libc_signal_block_all): Likewise.
4355         (__libc_signal_block_app): Likewise.
4356         (__libc_signal_restore_set): Likewise.
4357         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4358         implementation.
4359         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4360         the cached pid/tid value in pthread structure.
4362 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4364         [BZ #20347]
4365         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4367 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4369         [BZ #20348]
4370         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4371         preadv64, pwrite64 and pwritev64.
4373 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4375         [BZ #20350]
4376         * posix/tst-preadwrite.c: Renamed to ...
4377         * posix/tst-preadwrite-common.c: This.
4378         (PREAD): Removed.
4379         (PWRITE): Likewise.
4380         (STRINGIFY): Likewise.
4381         (STRINGIFY2): Likewise.
4382         (do_prepare): Make it static and remove function arguments.
4383         (do_test): Likewise.
4384         (PREPARE): Updated.
4385         (TEST_FUNCTION): New.
4386         (name): Make it static.
4387         (fd): Likewise.
4388         (do_prepare): Use create_temp_file.
4389         (do_test): Renamed to ...
4390         (do_test_with_offset): This.  Make it static and accept offset.
4391         Properly check return value of PWRITE and PREAD.  Return bytes
4392         read.  Don't close fd nor unlink name.
4393         * posix/tst-preadwrite.c: Rewrite.
4394         * posix/tst-preadwrite64.c: Likewise.
4396 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4398         [BZ #20309]
4399         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4400         -mtls-dialect=gnu2 works.
4401         * configure: Regenerated.
4402         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4403         (tests): Add tst-gnu2-tls1.
4404         (modules-names): Add tst-gnu2-tls1mod.
4405         ($(objpfx)tst-gnu2-tls1): New.
4406         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4407         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4408         * elf/tst-gnu2-tls1.c: New file.
4409         * elf/tst-gnu2-tls1mod.c: Likewise.
4410         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4411         bytes for push in the PLT entry to align the stack.
4413 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4415         [BZ #20349]
4416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4418 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4420         [BZ #18707]
4421         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4422         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4424 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4426         * sysdeps/unix/sysv/linux/sysdep.h
4427         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4428         guards.
4429         * misc/tst-preadvwritev-common.c: New file.
4430         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4431         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4432         a check for files larger than 2GB.
4434         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4435         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4436         * sysdeps/unix/sysv/linux/pread.c
4437         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4438         __OFF_T_MATCHES_OFF64_T.
4439         * sysdeps/unix/sysv/linux/pread64.c
4440         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4441         * sysdeps/unix/sysv/linux/preadv.c
4442         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4443         * sysdeps/unix/sysv/linux/preadv64.c
4444         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4445         * sysdeps/unix/sysv/linux/pwrite.c
4446         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4447         * sysdeps/unix/sysv/linux/pwrite64.c
4448         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4449         * sysdeps/unix/sysv/linux/pwritev.c
4450         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4451         * sysdeps/unix/sysv/linux/pwritev64.c
4452         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4454 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4456         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4457         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4459 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4461         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4463 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4465         [BZ #20240]
4466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4467         (CFLAGS-s_modf-ppc32.c): New variable.
4468         (CFLAGS-s_modff-ppc32.c): Likewise.
4469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4470         (CFLAGS-s_modf-ppc64.c): Likewise.
4471         (CFLAGS-s_modff-ppc64.c): Likewise.
4473 2016-07-07  Andreas Schwab  <schwab@suse.de>
4475         [BZ #20263]
4476         * nptl/tst-robust10.c: New test.
4477         * nptl/Makefile (tests): Add tst-robust10.
4479 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4481         [BZ #20263]
4482         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4484 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4486         * sysdeps/s390/linkmap.h (struct link_map_machine):
4487         Remove member gotplt and add member jmprel.
4488         * sysdeps/s390/s390-32/dl-machine.h
4489         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4490         instead of gotplt with &got[3].
4491         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4492         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4494 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4496         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4498 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4500         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4501         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4502         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4503         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4504         * libio/vtables.c (_IO_vtable_check)
4505         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4506         * libio/libioP.h (IO_set_accept_foreign_vtables)
4507         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4509 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4511         [BZ #20314]
4512         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4513         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4514         $(common-objpfx)cmath.
4515         ($(common-objpfx)cstdlib): New target.
4516         ($(common-objpfx)cmath): Likewise.
4518 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4520         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4522 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4524         [BZ #20327]
4525         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4526         are not part of the string.
4528 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4530         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4531         * nptl/tst-cancel4-common.h (fifoname): New variable.
4532         (fifofd): Likewise.
4533         (cl_fifo): New function.
4534         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4535         SIGINT.
4536         (tf_open): Add early cancel test.
4538 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4540         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4542 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4544         * sysdeps/generic/ldsodefs.h
4545         (dl_symbol_visibility_binds_local_p): New inline function.
4546         * elf/dl-addr.c (determine_info): Treat hidden and internal
4547         symbols as local.
4548         * elf/dl-lookup.c (do_lookup_x): Likewise.
4549         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4551 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4553         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4554         invalid exception for a sNaN input.
4555         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4556         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4557         (__nearbyint_vis3): Likewise
4558         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4559         (__nearbyintf_vis3): Likewise
4560         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4561         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4562         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4563         Likewise.
4564         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4565         Likewise.
4567 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4569         [BZ #20139]
4570         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4571         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4572         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4573         2.24 or above.
4574         (HAVE_AVX512_ASM_SUPPORT): Removed.
4575         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4576         * sysdeps/x86_64/configure: Regenerated.
4577         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4578         check unconditional.
4579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4580         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4581         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4582         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4583         Likewise.
4584         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4585         Likewise.
4586         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4587         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4588         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4590         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4591         Likewise.
4592         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4593         Likewise.
4594         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4595         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4597         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4599         Likewise.
4600         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4601         Likewise.
4602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4603         Likewise.
4604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4605         Likewise.
4606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4607         Likewise.
4608         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4609         Likewise.
4610         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4611         Likewise.
4612         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4613         Likewise.
4614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4615         Likewise.
4616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4617         Likewise.
4618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4619         Likewise.
4621 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4623         [BZ #20024]
4624         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4626         of this implementation of vector function.
4627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4630         Likewise.
4631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4632         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4633         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4634         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4635         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4636         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4637         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4638         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4639         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4640         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4642         for testing vector sincos with fixed ABI.
4643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4644         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4645         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4650         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4651         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4652         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4653         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4654         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4655         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4656         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4657         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4658         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4660 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4662         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4664 2016-06-30  Anton Blanchard  <anton@samba.org>
4666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4667         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4668         s_sinf-ppc64.
4669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4672         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4674 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4678         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4679         e_expf-ppc64.
4680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4683         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4685 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4687         [BZ #20277]
4688         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4689         when SHARED is defined.
4691 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4693         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4694         (index_arch_Prefer_ERMS): Likewise.
4695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4696         __memcpy_erms for Prefer_ERMS.
4697         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4698         (__memmove_erms): Enabled for libc.a.
4699         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4700         __memmove_erms or Prefer_ERMS.
4701         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4702         __mempcpy_erms for Prefer_ERMS.
4703         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4704         __memset_erms for Prefer_ERMS.
4706 2016-06-30  Andreas Schwab  <schwab@suse.de>
4708         [BZ #20262]
4709         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4710         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4711         of memory.
4713 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4715         [BZ #18645]
4716         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4717         (test-extras): Add tst-cleanupx4aux.
4718         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4719         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4720         tst-cleanupx4aux.o.
4721         * nptl/tst-cleanupx4aux.c: New file.
4723 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4725         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4727 2016-06-29  Andreas Schwab  <schwab@suse.de>
4729         [BZ #20260]
4730         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4731         address before the beginning of the string as an integer to avoid
4732         array-bounds warning.
4734 2016-06-28  Richard Henderson  <rth@redhat.com>
4736         * elf/elf.h (EM_BPF): New.
4737         (EM_NUM): Update.
4738         (R_BPF_NONE, R_BPF_MAP_FD): New.
4740         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4741         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4742         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4743         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4744         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4745         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4746         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4747         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4748         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4749         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4750         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4751         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4752         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4753         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4754         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4755         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4756         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4757         (EM_NUM): Update.
4759 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4761         [BZ #18960]
4762         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4763         Set _nl_current_LC_CATEGORY_used to two instead of one.
4765 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4767         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4768         (do_test): ... this.
4769         (TEST_FUNCTION): New macro.
4770          Include test-skeleton.c.
4771         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4772         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4774 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4776         [BZ #15479]
4777         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4778         floating-point environment rather than just control word.
4779         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4780         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4781         floating-point environment, with "invalid" exceptions merged in,
4782         rather than just control word.
4783         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4784         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4785         "inexact" exceptions.
4787         [BZ #15479]
4788         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4789         floating-point environment rather than just control word.
4790         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4791         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4792         floating-point environment, with "invalid" exceptions merged in,
4793         rather than just control word.
4794         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4795         * math/libm-test.inc (floor_test_data): Do not allow spurious
4796         "inexact" exceptions.
4798         [BZ #15479]
4799         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4800         floating-point environment rather than just control word.
4801         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4802         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4803         floating-point environment, with "invalid" exceptions merged in,
4804         rather than just control word.
4805         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4806         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4807         "inexact" exceptions.
4809 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4811         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4812         __libc_vfork.
4813         (__vfork) [IS_IN (libc)]: Remove alias.
4814         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4815         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4816         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4818 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4820         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4821         of atomic_compare_and_exchange_bool_rel.
4822         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4823         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4824         catomic_compare_and_exchange_bool_rel): Remove.
4825         * sysdeps/aarch64/atomic-machine.h
4826         (atomic_compare_and_exchange_bool_rel): Likewise.
4827         * sysdeps/alpha/atomic-machine.h
4828         (atomic_compare_and_exchange_bool_rel): Likewise.
4829         * sysdeps/arm/atomic-machine.h
4830         (atomic_compare_and_exchange_bool_rel): Likewise.
4831         * sysdeps/mips/atomic-machine.h
4832         (atomic_compare_and_exchange_bool_rel): Likewise.
4833         * sysdeps/microblaze/atomic-machine.h
4834         ( __arch_compare_and_exchange_bool_8_rel,
4835         __arch_compare_and_exchange_bool_16_rel): Likewise.
4836         * sysdeps/powerpc/atomic-machine.h
4837         ( __arch_compare_and_exchange_bool_8_rel,
4838         __arch_compare_and_exchange_bool_16_rel): Likewise.
4839         * sysdeps/powerpc/powerpc32/atomic-machine.h
4840         ( __arch_compare_and_exchange_bool_32_rel,
4841         __arch_compare_and_exchange_bool_64_rel): Likewise.
4842         * sysdeps/powerpc/powerpc64/atomic-machine.h
4843         ( __arch_compare_and_exchange_bool_32_rel,
4844         __arch_compare_and_exchange_bool_64_rel): Likewise.
4845         * sysdeps/tile/atomic-machine.h
4846         (atomic_compare_and_exchange_bool_rel): Likewise.
4848 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4850         [BZ #20296]
4851         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4852         when either argument is a NaN.
4853         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4854         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4856         * math/libm-test.inc (snan_value_ld): New macro.
4857         (isgreater_test_data): Add sNaN tests.
4858         (isgreaterequal_test_data): Likewise.
4859         (isless_test_data): Likewise.
4860         (islessequal_test_data): Likewise.
4861         (islessgreater_test_data): Likewise.
4862         (isunordered_test_data): Likewise.
4863         (nextafter_test_data): Likewise.
4864         (nexttoward_test_data): Likewise.
4865         (remainder_test_data): Likewise.
4866         (remquo_test_data): Likewise.
4867         (significand_test_data): Likewise.
4868         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4870 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4872         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4873         environment macros are defined.
4874         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4876 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4878         [BZ #20191]
4879         Implement vtable verification in libio.
4880         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4881         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4882         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4883         _IO_new_file_init_internal instead of _IO_file_init.
4884         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4885         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4886         * libio/Makefile (routines): Add vtables.
4887         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4888         (_IO_init): Remove, not for internal use.
4889         (_IO_init_internal): Declare, internal replacement for _IO_init.
4890         (_IO_file_init): Remove, not for internal use.
4891         (_IO_new_file_init): Remove, not for internal use.
4892         (_IO_new_file_init_internal): Declare, internal replacement for
4893         _IO_new_file_init.
4894         (_IO_old_file_init): Remove, not for internal use.
4895         (_IO_old_file_init_internal): Declare, internal replacement for
4896         _IO_old_file_init.
4897         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4898         internal use.
4899         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4900         Declare.
4901         (libio_vtable): New macro.
4902         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4903         functions.
4904         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4905         _IO_new_file_init.
4906         (_IO_new_file_init): New externally visible wrapper which disables
4907         vtable verification.
4908         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4909         Define as vtables.
4910         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4911         (_IO_init): New externally visible wrapper which disables
4912         vtable verification.
4913         * libio/iofdopen.c (_IO_new_fdopen): Call
4914         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4915         comment.
4916         * libio/iofopen.c (__fopen_internal): Call
4917         _IO_new_file_init_internal instead of _IO_file_init.
4918         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4919         Define as vtables.
4920         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4921         _IO_new_file_init_internal instead of _IO_file_init.
4922         * libio/iopopen.c (_IO_new_popen): Likewise.
4923         (_IO_proc_jumps): Define as vtable.
4924         * libio/iovdprintf.c (_IO_vdprintf): Call
4925         _IO_new_file_init_internal instead of _IO_file_init.
4926         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4927         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4928         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4929         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4930         _IO_old_file_init.
4931         (_IO_old_file_init): New externally visible wrapper which disables
4932         vtable verification.
4933         (_IO_old_file_jumps): Define as vtable.
4934         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4935         _IO_old_file_init_internal instead of _IO_old_file_init.
4936         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4937         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4938         (_IO_old_proc_jumps): Define as vtable.
4939         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4940         Define as vtables.
4941         * libio/vtables.c: New file.
4942         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4943         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4944         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4945         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4946         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4947         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4948         instead of _IO_init.
4950 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4952         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4954 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4956         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4957         potentially unused.
4959 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4961         * test-skeleton.c (write_message): New function.
4962         * malloc/tst-mallocfork2.c (write_message): Remove.
4963         * debug/tst-longjmp_chk2.c (write_indented): New function.
4964         (write_message): Remove.
4965         (stackoverflow_handler): Call write_indented.
4967 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4969         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4970         "inexact" exceptions after fnstenv.
4971         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4972         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4973         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4975 2015-06-22  Zack Weinberg  <zackw@panix.com>
4977         * sysdeps/generic/bits/hwcap.h: Moved to ...
4978         * bits/hwcap.h: Here.
4980 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4982         * sysdeps/aarch64/memcpy.S (memcpy):
4983         Further tuning for performance.
4985 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4987         [BZ #20284]
4988         * malloc/arena.c (reused_arena): Do not return NULL if we start
4989         out with a non-corrupted arena.
4991 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4993         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4994         * misc/tst-preadvwritev.c: New file.
4995         * misc/tst-preadvwritev64.c: Likewise.
4996         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4997         usage.
4998         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4999         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5000         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5001         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5003 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5005         [BZ #19654]
5006         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5007         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5008         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5009         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5010         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5011         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5012         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5013         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5014         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5015         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5016         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5017         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5018         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5019         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5020         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5021         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5022         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5023         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5024         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5025         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5026         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5027         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5028         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5029         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5030         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5031         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5033 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5035         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5036         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5038 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5040         * sysdeps/aarch64/memcpy.S (memcpy):
5041         Rewrite of optimized memcpy and memmove.
5042         * sysdeps/aarch64/memmove.S (memmove): Remove
5043         memmove code (merged into memcpy.S).
5045 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5047         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5048         * sysdeps/generic/dl-dtv.h: New file.
5049         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5050         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5051         (dtv_t): Remove.
5052         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5053         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5054         (dtv_t): Remove.
5055         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5056         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5057         (dtv_t): Remove.
5058         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5059         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5060         (dtv_t): Remove.
5061         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5062         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5063         (dtv_t): Remove.
5064         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5065         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5066         (dtv_t): Remove.
5067         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5068         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5069         (dtv_t): Remove.
5070         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5071         (dtv_t): Remove.
5072         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5073         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5074         (dtv_t): Remove.
5075         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5076         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5077         (dtv_t): Remove.
5078         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5079         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5080         (dtv_t): Remove.
5081         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5082         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5083         (dtv_t): Remove.
5084         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5085         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5086         (dtv_t): Remove.
5087         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5088         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5089         (dtv_t): Remove.
5090         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5091         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5092         (dtv_t): Remove.
5093         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5094         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5095         (dtv_t): Remove.
5097 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5099         Revert symbol poisoning of  __malloc_initialize_hook.
5100         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5101         poisoning.
5102         * malloc/Makefile: Remove un-poisoning.
5103         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5104         instead of old__malloc_initialize_hook.
5105         * malloc/malloc-hooks.h: Likewise.
5106         * malloc/malloc.c: Likewise.
5107         * malloc/mcheck-init.c: Likewise.
5109 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5111         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5113 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5115         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5116         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5117         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5118         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5120 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5122         * NEWS: Mention addition of nextup and nextdown.
5123         * manual/arith.texi: Document nextup and nextdown.
5124         * manual/libm-err-tab.pl: Add nextup and nextdown.
5125         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5126         * math/Versions (libm): Add GLIBC_2.24.
5127         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5128         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5129         Add new test.
5130         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5131         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5132         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5133         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5134         (nextup_test_data): Likewise.
5135         (nextdown_test_data): Likewise.
5136         * math/s_nextdown.c: New file.
5137         * math/s_nextdownf.c: Likewise.
5138         * math/s_nextdownl.c: Likewise.
5139         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5140         F(nextup): New function.
5141         F(nextdown): Likewise.
5142         * math/tgmath.h: Add nextup and nextdown.
5143         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5144         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5145         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5146         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5147         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5148         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5149         Add nextup and nextdown.
5150         (CFLAGS-nldbl-nextup.c): New variable.
5151         (CFLAGS-nldbl-nextdown.c): Likewise.
5152         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5153         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5154         * sysdeps/nacl/libm.abilist: Update.
5155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5169         Likewise.
5170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5179         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5180         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5182         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5184 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5186         * manual/pattern.texi: Fix typos & grammar errors.
5188 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5190         * manual/search.texi: Fix typos & grammar errors.
5192 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5194         * manual/message.texi: Fix typos & grammar errors.
5196 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5198         * manual/contrib.texi: Fix spelling typos.
5199         * manual/crypt.texi: Likewise.
5200         * manual/filesys.texi: Likewise.
5201         * manual/locale.texi: Likewise.
5202         * manual/message.texi: Likewise.
5203         * manual/nss.texi: Likewise.
5204         * manual/string.texi: Likewise.
5206 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5208         * manual/locale.texi: Fix typos & grammar errors.
5210 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5212         * manual/charset.texi: Fix typos & grammar errors.
5214 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5216         * manual/string.texi: Fix typos.
5218 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5220         * manual/ctype.texi: Fix typos.
5222 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5224         * manual/memory.texi: Fix various typos & grammar errors.
5226 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5228         [BZ #20255]
5229         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5230         * math/libm-test.inc (fdim_test_data): Add another test.
5232         [BZ #6796]
5233         [BZ #20255]
5234         [BZ #20256]
5235         * math/s_fdim.c: Include <math_private.h>.
5236         (__fdim): Use math_narrow_eval on result.
5237         * math/s_fdimf.c: Include <math_private.h>.
5238         (__fdimf): Use math_narrow_eval on result.
5239         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5240         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5241         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5242         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5243         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5244         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5245         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5246         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5247         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5248         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5249         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5250         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5251         overflow.  Add sNaN tests.
5253         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5254         fpclassify.
5255         * math/s_fdimf.c (__fdimf): Likewise.
5256         * math/s_fdiml.c (__fdiml): Likewise.
5258 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5260         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5261         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5263         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5264         ifunc'ed strcasecmp/strncasecmp.
5265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5266         [EALIGN]: Removed.
5267         [END]: Likewise.
5268         [__strcasecmp]: Define instead of the above to control symbol name.
5269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5270         for __strcasecmp_power8.
5271         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5272         for __strncasecmp_power8.
5273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5275         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5276         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5277         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5278         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5280 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5282         [BZ #20252]
5283         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5284         arguments when second argument is a NaN.
5285         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5286         qNaN tests.
5288         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5289         (conj_test_data): Likewise.
5290         (copysign_test_data): Likewise.
5291         (creal_test_data): Likewise.
5292         (fma_test_data): Likewise.
5293         (fmod_test_data): Likewise.
5295         [BZ #20250]
5296         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5297         itself.
5298         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5299         zero input to itself.
5300         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5301         Likewise.
5302         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5303         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5305         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5306         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5308 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5310         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5311         * nptl/tst-cancel4-common.c: New file.
5312         * nptl/tst-cancel4-common.h: Likewise.
5313         * nptl/tst-cancel4.c: Move common definitions to
5314         tst-cancel4-common.{c,h} file.
5315         * nptl/tst-cancel4_1.c: New test.
5316         * nptl/tst-cancel4_2.c: New test.
5318 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5320         [BZ #20248]
5321         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5322         (write_message): New function.
5323         (stackoverflow_handler): Call it instead of printf, to avoid
5324         excessive stack usage by printf.
5325         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5327 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5329         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5330         (prio_inherit_missing): Remove define.
5331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5332         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5337         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5338         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5339         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5340         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5342 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5344         [BZ #19670]
5345         [BZ #19672]
5347         * io/test-lfs.c (do_prepare): Use xmalloc.
5348         * io/tst-fcntl.c (do_prepare): Likewise.
5349         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5350         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5351         * login/tst-utmp.c (do_prepare): Likewise.
5352         * posix/tst-exec.c (do_prepare): Likewise.
5353         * posix/tst-pathconf.c (prepare): Likewise.
5354         * posix/tst-spawn.c (do_prepare): Likewise.
5355         * posix/tst-truncate.c (do_prepare): Likewise.
5356         * rt/tst-aio.c (do_prepare): Likewise.
5357         * rt/tst-aio64.c (do_prepare): Likewise.
5359 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5361         [BZ #20237]
5362         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5363         (get*ent): Set entidx to NULL during initialization.  If entidx is
5364         NULL, start iteration from the beginning.
5366 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5368         * malloc/malloc.c (musable): Return correct size for dumped fake
5369         mmapped chunk.
5371 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5373         [BZ #20222]
5374         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5375         (_IO_cookie_write): Likewise.
5376         (_IO_cookie_seek): Likewise.
5377         (_IO_cookie_close): Likewise.
5378         (_IO_old_cookie_seek): Likewise.
5379         (set_callbacks): New function.
5380         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5382 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5384         * locale/programs/localedef.c (oldstyle_tables): Remove.
5385         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5387 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #20240]
5390         * math/Makefile (CFLAGS-s_modf.c): New variable.
5391         (CFLAGS-s_modff.c): Likewise.
5392         (CFLAGS-s_modfl.c): Likewise.
5393         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5395 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5397         [BZ #20215]
5398         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5399         [!__GNUC_PREREQ (3,2)]: Likewise.
5401 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5403         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5404         (msghdr.msg_controllen): Likewise.
5405         (cmsghdr.cmsg_len): Likewise.
5406         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5407         ptw-oldsendmsg.
5408         (CFLAGS-oldrecvmsg.c): Remove rule.
5409         (CFLAGS-oldsendmsg.c): Likewise.
5410         (CFLAGS-recvmsg.c): Add rule.
5411         (CFLAGS-sendmsg.c): Likewise.
5412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5413         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5414         (CFLAGS-recvmsg.c): Remove rule.
5415         (CFLAGS-sendmsg.c): Likewise.
5416         (CFLAGS-oldrecvmsg.c): Likewise.
5417         (CFLAGS-oldsendmsg.c): Likewise.
5418         (CFLAGS-recvmmsg.c): Likewise.
5419         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5420         to kernel defined interfaces.
5421         (msghdr.msg_controllen): Likewise.
5422         (cmsghdr.cmsg_len): Likewise.
5423         (msghdr.__glibc_reserved1): Remove member.
5424         (msghdr.__glibc_reserved2): Likewise.
5425         (cmsghdr.__glibc_reserved1): Likewise.
5426         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5427         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5428         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5429         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5430         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5431         version.
5432         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5433         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5434         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5435         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5436         Remove recvmsg and sendmsg.
5437         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5438         Likewise.
5439         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5442         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5443         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5444         Likewise.
5445         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5446         Likewise.
5447         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5448         [libc] (GLIBC_2.24): Likewise.
5449         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5450         Likewise.
5451         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5452         Likewise.
5453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5454         [libc] (GLIBC_2.24): Likewise.
5455         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5456         Likewise.
5457         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5458         Likewise.
5459         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5460         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5461         Likewise.
5462         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5465         Likewise.
5466         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5467         Likewise.
5468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5469         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5470         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5471         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5472         version for {recv,send,recm,sendm}msg.
5473         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5474         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5475         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5476         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5477         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5478         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5479         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5480         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5482         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5483         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5484         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5486         Likewise.
5487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5488         Likewise.
5489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5491         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5492         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5493         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5494         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5501         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5503 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5505         [BZ #19564]
5506         Remove __malloc_initialize_hook from the API.
5507         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5508         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5509         #pragma GCC poison.
5510         * malloc/malloc-hooks.h: New file.
5511         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5512         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5513         (old__malloc_initialize_hook): Rename from
5514         __malloc_initialize_hook to evade poisoning.  Turn into compat
5515         symbol.
5516         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5517         __malloc_initialize_hook.
5518         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5519         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5520         * manual/memory.texi (Hooks for Malloc): Remove
5521         __malloc_initialize_hook.  Adjust hook example.
5523 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5525         [BZ #20235]
5526         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5527         itself.
5528         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5529         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5531         [BZ #20234]
5532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5533         infinity or NaN input to itself.
5535         [BZ #20233]
5536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5537         to itself.
5539         [BZ #20232]
5540         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5541         itself.
5543 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5545         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5546         __libc_start_main via GOT.
5548 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5550         * sysdeps/x86_64/memcopy.h: New file.
5551         * sysdeps/x86_64/wordcopy.c: Likewise.
5553 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5555         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5556         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5557         <cstdlib>.
5558         (optimization_barrier): New.
5559         (do_test): Use it.  Call quick_exit in the global namespace.
5560         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5561         instead of <cstdlib>, <thread>.
5562         (optimization_barrier): New.
5563         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5564         Call quick_exit in the global namespace.
5565         (do_test): Call optimization_barrier.  Use pthread_create,
5566         pthread_join instead of std::thread.
5568 2016-06-09  Andreas Schwab  <schwab@suse.de>
5570         [BZ #19755]
5571         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5572         new entries in auto-propagate mode.
5573         * nscd/grpcache.c (cache_addgr): Likewise.
5575 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5577         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5578         New functions.
5579         (add_temp_file): Use them.
5581 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5583         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5585 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5587         [BZ #20229]
5588         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5589         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5590         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5592         [BZ #20228]
5593         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5594         itself.
5595         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5596         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5598         [BZ #20227]
5599         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5600         itself.
5601         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5602         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5603         * math/libm-test.inc (log_test_data): Add sNaN tests.
5605         [BZ #20226]
5606         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5607         itself.
5608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5609         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5610         (exp10_test_data): Likewise.
5611         (expm1_test_data): Likewise.
5613         [BZ #20225]
5614         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5615         itself.
5616         * math/s_ldexpf.c (__ldexpf): Likewise.
5617         * math/s_ldexpl.c (__ldexpl): Likewise.
5618         * math/w_scalbln.c (__w_scalbln): Likewise.
5619         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5620         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5621         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5622         (scalbln_test_data): Likewise.
5624         [BZ #20224]
5625         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5626         argument to itself.
5627         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5629 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5631         [BZ #19776]
5632         * sysdeps/x86_64/memcpy.S: Make it dummy.
5633         * sysdeps/x86_64/mempcpy.S: Likewise.
5634         * sysdeps/x86_64/memmove.S: New file.
5635         * sysdeps/x86_64/memmove_chk.S: Likewise.
5636         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5637         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5638         * sysdeps/x86_64/memmove.c: Removed.
5639         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5640         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5641         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5642         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5643         Likewise.
5644         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5645         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5647         memcpy-sse2-unaligned, memmove-avx-unaligned,
5648         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5650         (__libc_ifunc_impl_list): Replace
5651         __memmove_chk_avx512_unaligned_2 with
5652         __memmove_chk_avx512_unaligned.  Remove
5653         __memmove_chk_avx_unaligned_2.  Replace
5654         __memmove_chk_sse2_unaligned_2 with
5655         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5656         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5657         with __memmove_avx512_unaligned.  Replace
5658         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5659         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5660         with __memcpy_chk_avx512_unaligned.  Remove
5661         __memcpy_chk_avx_unaligned_2.  Replace
5662         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5663         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5664         Replace __memcpy_avx512_unaligned_2 with
5665         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5666         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5667         with __mempcpy_chk_avx512_unaligned.  Remove
5668         __mempcpy_chk_avx_unaligned_2.  Replace
5669         __mempcpy_chk_sse2_unaligned_2 with
5670         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5671         Replace __mempcpy_avx512_unaligned_2 with
5672         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5673         Replace __mempcpy_sse2_unaligned_2 with
5674         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5676         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5677         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5678         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5679         (ENTRY): Removed.
5680         (END): Likewise.
5681         (ENTRY_CHK): Likewise.
5682         (libc_hidden_builtin_def): Likewise.
5683         Don't include ../memcpy.S.
5684         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5685         __memcpy_chk_avx512_unaligned_erms and
5686         __memcpy_chk_avx512_unaligned.  Use
5687         __memcpy_chk_avx_unaligned_erms and
5688         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5689         Default to __memcpy_chk_sse2_unaligned.
5690         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5691         Change function suffix from unaligned_2 to unaligned.
5692         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5693         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5694         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5695         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5696         (ENTRY): Removed.
5697         (END): Likewise.
5698         (ENTRY_CHK): Likewise.
5699         (libc_hidden_builtin_def): Likewise.
5700         Don't include ../mempcpy.S.
5701         (mempcpy): New.  Add a weak alias.
5702         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5703         __mempcpy_chk_avx512_unaligned_erms and
5704         __mempcpy_chk_avx512_unaligned.  Use
5705         __mempcpy_chk_avx_unaligned_erms and
5706         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5707         Default to __mempcpy_chk_sse2_unaligned.
5709 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5711         [BZ #19881]
5712         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5713         into ...
5714         * sysdeps/x86_64/memset.S: This.
5715         (__bzero): Removed.
5716         (__memset_tail): Likewise.
5717         (__memset_chk): Likewise.
5718         (memset): Likewise.
5719         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5720         defined.
5721         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5722         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5723         (__memset_zero_constant_len_parameter): Check SHARED instead of
5724         PIC.
5725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5726         memset-avx2 and memset-sse2-unaligned-erms.
5727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5728         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5729         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5730         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5731         (__bzero): Enabled.
5732         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5733         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5734         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5735         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5736         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5737         (memset): Removed.
5738         (__memset_chk): Likewise.
5739         (MEMSET_SYMBOL): New.
5740         (libc_hidden_builtin_def): Replace __memset_sse2 with
5741         __memset_sse2_unaligned.
5742         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5743         __memset_chk_sse2 and __memset_chk_avx2 with
5744         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5745         Use __memset_chk_sse2_unaligned_erms or
5746         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5747         __memset_chk_avx512_unaligned_erms and
5748         __memset_chk_avx512_unaligned.
5750 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5752         * math/gen-auto-libm-test.c (fp_format_desc): remove
5753         suffix member.
5754         (output_generic_value): Remove usage of suffix member,
5755         and the resulting unuse of the fp_format argument.
5756         (output_for_one_input_case): Remove unused fp_format
5757         parameter.
5759         * math/auto-libm-test-out: Regenerate.
5761         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5762         usage with TEST_COND_ibm128.
5763         (TEST_COND_flt_32): Remove.
5764         (TEST_COND_dbl_64): Remove.
5765         (TEST_COND_ldbl_96_intel): Remove.
5766         (TEST_COND_ldbl_96_m68k): Remove.
5767         (TEST_COND_ldbl_128): Remove.
5769 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5771         * auto-libm-test-in:
5772         Replace flt-32 usage with binary32.
5773         Replace dbl-64 usage with binary64.
5774         Replace ldbl-intel-96 usage with intel96.
5775         Replace ldbl-m68k-96 usage with m68k96.
5776         Replace ldbl-128ibm usage with ibm128.
5777         Replace ldbl-128 usage with binary128.
5779         * auto-libm-test-out: Regenerate.
5781 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5783         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5784         (parse_ulps): Dynamically generate type name matching
5785         string from all_floats.
5786         (get_ulps): Generate the ulps as an array instead.
5787         (output_ulps): Dynamically compose the type based
5788         on the number of supported formats, and print
5789         the indices as type specific helper macros.
5791         * math/libm-test.inc: Remove comment about CHOOSE.
5792         (ulp_data): Generate the type in libm-test-ulps.h.
5793         (ULP_IDX): New macro.
5794         (find_ulps): Update usage of max_ulp.
5796         * math/test-double-vlen2.h (CHOOSE): Remove.
5797         * math/test-double-vlen4.h (CHOOSE): Likewise.
5798         * math/test-double-vlen8.h (CHOOSE): Likewise.
5799         * math/test-float.c (CHOOSE): Likewise.
5800         * math/test-float-finite.c (CHOOSE): Likewise.
5801         * math/test-double.c (CHOOSE): Likewise.
5802         * math/test-double-finite.c (CHOOSE): Likewise.
5803         * math/test-idouble.c (CHOOSE): Likewise.
5804         * math/test-ifloat.c (CHOOSE): Likewise.
5805         * math/test-ildoubl.c (CHOOSE): Likewise.
5806         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5807         * math/test-ldouble.c (CHOOSE): Likewise.
5809         * math/test-float.h (TEST_FLOAT): Remove.
5810         * math/test-double.h (TEST_DOUBLE): Likewise.
5811         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5813 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5815         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5816         (parse_args): Strip C suffix from floating point literals
5817         typed with 'f' and wrap them with LIT().
5819         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5820         (test_ff_f_data_nexttoward): Rename to
5821         (test_fj_f_data): New struct.
5822         (nexttoward_test_data): Relabel tests as
5823         TEST_fj_f instead of TEST_ff_f.
5825 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5827         Emacs bug 23726.
5828         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5829         (__libc_realloc): Correct size computation for dumped fake mmapped
5830         chunks.
5832 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5834         [BZ #20219]
5835         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5836         to itself.
5837         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5839         [BZ #20218]
5840         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5841         to itself.
5842         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5844 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5846         [BZ #20195]
5847         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5848         check to ...
5849         (init_cpu_features): Here.
5851 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5853         [BZ #20214]
5854         * sysdeps/unix/sysv/linux/bits/in.h
5855         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5856          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5857         Define to 1.
5858         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5859          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5860         Define to 0.
5861         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5862         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5864 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5866         [BZ #20198]
5867         * stdlib/Makefile (tests): Add tst-quick_exit, and
5868         tst-thread-quick_exit.
5869         [ifeq ($(have-cxx-thread_local),yes)]
5870         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5871         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5872         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5873         (LDLIBS-tst-thread-quick_exit): Likewise.
5874         [ifneq ($(have-cxx-thread_local),yes)]
5875         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5876         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5877         If run_dtors is true call __call_tls_dtors.
5878         (exit): Call __run_exit_handlers with run_dtors set to true.
5879         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5880         definition.
5881         * stdlib/quick_exit.c (quick_exit): Remove function.
5882         (__new_quick_exit): New function.
5883         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5884         function.
5885         * stdlib/tst-quick_exit.cc: New file.
5886         * stdlib/tst-thread-quick_exit.cc: New file.
5887         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5888         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5889         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5890         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5891         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5892         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5893         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5894         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5895         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5896         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5897         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5898         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5899         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5900         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5901         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5902         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5907         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5909         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5910         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5911         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5914         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5915         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5916         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5918 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5920         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5921         a typo in comments.
5923 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #20213]
5926         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5927         argument to itself.
5928         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5930 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5932         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5933         required flags.
5934         (CFLAGS-pwritev64.c): Likewise.
5935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5937         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5939         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5940         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5941         syscall from auto-generation.
5942         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5943         [WORDSIZE == 64] (pwritev64): Remove macro.
5944         [!PWRITEV] (PWRITEV): Likewise.
5945         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5946         [!PWRITEV] (PWRITE): Likewise.
5947         [!PWRITEV] (OFF_T): Likewise.
5948         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5949         (LO_HI_LONG): Remove macro.
5950         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5951         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5952         (PWRITEV): Remove macro.
5953         (PWRITEV_REPLACEMENTE): Likewise.
5954         (PWRITE): Likewise.
5955         (OFF_T): Likewise.
5956         (pwritev64): New function.
5957         * nptl/tst-cancel4.c (tf_writev): Add test.
5959         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5960         required flags.
5961         (CFLAGS-preadv64.c): Likewise.
5962         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5963         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5964         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5965         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5966         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5967         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5968         syscall from auto-generation.
5969         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5970         [WORDSIZE == 64] (preadv64): Remove macro.
5971         [!PREADV] (PREADV): Likewise.
5972         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5973         [!PREADV] (PREAD): Likewise.
5974         [!PREADV] (OFF_T): Likewise.
5975         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5976         (LO_HI_LONG): Remove macro.
5977         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5978         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5979         (PREADV): Remove macro.
5980         (PREADV_REPLACEMENTE): Likewise.
5981         (PREAD): Likewise.
5982         (OFF_T): Likewise.
5983         (preadv64): New function.
5984         * nptl/tst-cancel4.c (tf_preadv): Add test.
5986 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5988         [BZ #20212]
5989         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5990         argument to itself.
5991         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5993 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5995         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5996         New symbol defined as libc_hidden_def.
5997         (strcasestr): Became a weak alias to __strcasestr.
5998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5999         according to multi-arch support.  Move __stpncpy hidden
6000         definition from here to...
6001         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6002         symbol stpncpy.
6003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6004         libc_hidden_builtin_def.
6005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6006         memset symbol to use when multi-arch support is available.
6008 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6010         * dlfcn/tst-rec-dlopen.c: Include string.h.
6012 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6014         * manual/install.texi: Remove mention of --without-tls
6015         * INSTALL: Regenerate.
6017 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6019         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6020         Remove.
6021         (call_function, interposed_malloc_called): New variables.
6022         (malloc): New function.
6023         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6024         and clear call_function as needed.
6026 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6028         * include/wchar.h (__wmemset): Use __typeof.
6030 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6032         * include/wchar.h (__wmemset): Declare function without typeof.
6034 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6036         [BZ #20205]
6037         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6038         exponent when incrementing negative subnormal with low mantissa
6039         word zero.
6040         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6041         Add another test.
6043 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6045         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6046         __wmemset instead of wmemset.
6048 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6050         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6051         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6052         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6053         __USE_KERNEL_IPV6_DEFS to 0.
6054         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6055         Update comment.
6057 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6059         [BZ #19861]
6060         Do not use IFUNC resolver with potentially unrelocated symbol.
6061         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6062         (DEFINE_FORK): Remove macro and inline definition.
6063         (fork_alias): Renamed from fork_ifunc.
6064         (__fork_alias): Renamed from __fork_ifunc.
6066 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6068         [BZ 19653]
6069         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6070         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6072 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6074         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6075         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6076         i386-linux-gnu).
6077         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6078         Set to no.
6079         * sysdeps/mach/hurd/configure: Refresh.
6081 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6083         [BZ #20178]
6084         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6085         on failure instead of exit.
6087 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6089         [BZ #3629]
6090         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6091         of POSIX.1-2008.
6093 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6095         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6096           Use PLT entry for calling _hurd_self_sigstate.
6098 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6100         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6101         available logical processors with SMT level type sharing L2
6102         cache for Intel processors.
6104 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #20160]
6107         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6108         argument to itself before returning the result.
6109         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6110         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6111         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6113         Likewise.
6114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6115         Likewise.
6116         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6117         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6118         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6119         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6120         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6121         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6123         [BZ #20160]
6124         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6125         argument to itself before returning the result.
6126         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6127         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6128         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6129         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6130         Likewise.
6131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6132         Likewise.
6133         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6134         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6135         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6137         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6138         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6140 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6142         * libm-test.inc: Replace usage of M_El with
6143         (lit_e): New macro.
6145 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6147         * libm-test.inc: Replace usage of M_PI_4l with
6148         (lit_pi_4_d): New macro.
6150 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6152         * libm-test.inc: Replace usage of M_PIl with
6153         (lit_pi): New macro.
6155 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6157         * libm-test.inc: Replace usage of M_PI2l with
6158         (lit_pi_2_d): New macro.
6160         * math/test-double.h (LITM): New macro.
6161         * math/test-float.h (LITM): Likewise.
6162         * math/test-ldouble.h (LITM): Likewise.
6164 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6166         * libm-test.inc (M_PI_34l): Rename to
6167         (lit_pi_3_m_4_d): New Macro.
6168         (M_PI_34_LOG10El): Rename to
6169         (lit_pi_3_m_4_ln10_m_d): New Macro.
6170         (M_PI2_LOG10El): Rename to
6171         (lit_pi_2_ln10_m_d):  New Macro.
6172         (M_PI4_LOG10El): Rename to
6173         (lit_pi_4_ln10_m_d):  New Macro.
6174         (M_PI_LOG10El): Rename to
6175         (lit_pi_ln10_d):  New Macro.
6177 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6179         [BZ #20157]
6180         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6181         determine whether to negate low half if [_ARCH_PPCGR], and integer
6182         comparison otherwise.
6183         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6184         determine whether to negate low half.
6186         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6187         (NO_TEST_INLINE_DOUBLE): Likewise.
6188         (TEST_COND_x86_64): Likewise.
6189         (TEST_COND_x86): Likewise.
6190         (M_PI_6l): Likewise.
6192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6194         * math/libm-test.inc:
6195         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6196         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6197         (TEST_LDOUBLE): Update usage to evaluate as true if
6198         the guarded tests match the property being tested.
6199         (LDBL_MAX_EXP): Change to MAX_EXP.
6200         (LDBL_MIN_EXP): Change to MIN_EXP.
6201         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6202         nexttoward tests.
6204 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6206         * math/libm-test.inc:
6207         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6208         (TYPE_MIN): Likewise.
6209         (TYPE_TRUE_MIN): Likewise.
6210         (TYPE_MAX): Likewise.
6211         (MIN_EXP): Likewise.
6212         (MAX_EXP): Likewise.
6213         (MANT_DIG): Likewise.
6215         (FSTR_MAX): New macro.
6216         (__CONCATX): Likewise.
6217         (QTYPE_STR): Likewise.
6218         (TEST_COND_binary32): Likewise.
6219         (TEST_COND_binary64): Likewise.
6220         (TEST_COND_binary128): Likewise.
6221         (TEST_COND_ibm128): Likewise.
6222         (TEST_COND_intel96): Likewise.
6223         (TEST_COND_m68k96): Likewise.
6225         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6226         (TEST_COND_dbl_64): Likewise.
6227         (TEST_COND_ldbl_96_intel): Likewise.
6228         (TEST_COND_ldbl_96_m68k): Likewise.
6229         (TEST_COND_ldbl_128): Likewise.
6230         (TEST_COND_ldbl_128ibm): Likewise.
6232         (plus_zero): Redefine using LIT macro.
6233         (minus_zero): Likewise.
6234         (plus_infty): Redefine as (INF).
6235         (minux_infty): Redefine as (-INF).
6236         (max_value): Redefine as TYPE_MAX.
6237         (min_value): Redefine as TYPE_MIN.
6238         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6240         (print_float): Refactor to use snprintf to convert FLOAT values
6241         to string. This brings it closer to dropin replacement of strtof
6242         for the TS 18661 defined types.
6243         (update_stats): Likewise.
6244         (print_complex_function_ulps): Likewise.
6245         (print_max_error): Likewise.
6246         (print_complex_max_error): Likewise.
6247         (check_float_internal): Likewise.
6249         * math/test-float.h (PREFIX): New macro.
6250         (LIT): Likewise.
6251         (TYPE_STR): Likewise.
6252         (FTOSTR): Likewise.
6254         * math/test-double.h (PREFIX): New macro.
6255         (LIT): Likewise.
6256         (TYPE_STR): Likewise.
6257         (FTOSTR): Likewise.
6259         * math/test-ldouble.h (PREFIX): New macro.
6260         (LIT): Likewise.
6261         (TYPE_STR): Likewise.
6262         (FTOSTR): Likewise.
6264 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6266         [BZ #20156]
6267         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6268         to itself when zero or not finite.
6269         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6270         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6271         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6272         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6274 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #20153]
6277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6278         x * x + x for infinities and NaNs.
6280         [BZ #20151]
6281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6282         argument to itself before returning result.
6283         (__ieee754_y0l): Likewise.
6284         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6285         (__ieee754_y1l).
6287         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6288         (atan_test_data): Likewise.
6289         (ceil_test_data): Likewise.
6290         (cos_test_data): Likewise.
6291         (cosh_test_data): Likewise.
6292         (erf_test_data): Likewise.
6293         (exp2_test_data): Likewise.
6294         (fabs_test_data): Likewise.
6295         (floor_test_data): Likewise.
6296         (ilogb_test_data): Likewise.
6297         (j0_test_data): Likewise.
6298         (j1_test_data): Likewise.
6299         (jn_test_data): Likewise.
6300         (lgamma_test_data): Likewise.
6301         (lrint_test_data): Likewise.
6302         (llrint_test_data): Likewise.
6303         (logb_test_data): Likewise.
6304         (lround_test_data): Likewise.
6305         (llround_test_data): Likewise.
6306         (nearbyint_test_data): Likewise.
6307         (rint_test_data): Likewise.
6308         (round_test_data): Likewise.
6309         (sin_test_data): Likewise.
6310         (sincos_test_data): Likewise.
6311         (sinh_test_data): Likewise.
6312         (sqrt_test_data): Likewise.
6313         (tan_test_data): Likewise.
6314         (tanh_test_data): Likewise.
6315         (tgamma_test_data): Likewise.
6316         (trunc_test_data): Likewise.
6317         (y0_test_data): Likewise.
6318         (y1_test_data): Likewise.
6319         (yn_test_data): Likewise.
6321         * math/libm-test.inc: Update comment about NaN testing.
6322         (TEST_SNAN): New macro.
6323         (snan_value): Likewise.
6324         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6325         (fpclassify_test_data): Add sNaN tests.
6326         (isfinite_test_data): Likewise.
6327         (isinf_test_data): Likewise.
6328         (isnan_test_data): Likewise.
6329         (isnormal_test_data): Likewise.
6330         (issignaling_test_data): Likewise.
6331         (signbit_test_data): Likewise.
6332         * math/gen-libm-test.pl (%beautify): Add snan_value.
6333         (show_exceptions): Add argument $test_snan.
6334         (parse_args): Handle snan_value as non-finite.  Update call to
6335         show_exceptions.
6336         * math/Makefile (libm-test-no-inline-cflags): Add
6337         -fsignaling-nans.
6339 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6341         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6342         (CFLAGS-oldsendmsg.c): Add rule.
6343         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6344         Correct recvmsg symbol name.
6345         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6346         Likewise.
6348 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6350         * sysdeps/unix/sysv/linux/Makefile
6351         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6352         oldsendmmsg.
6353         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6354         sendmmsg.
6355         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6356         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6357         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6358         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6360         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6361         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6363         Likewise.
6364         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6365         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6366         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6367         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6368         iovlen and controllen fields to adjust to POSIX specification.
6369         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6371         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6372         and change to correct expected type.
6373         (msghdr.msg_controllen): Likewise.
6374         (cmsghdr.cmsg_len): Likewise.
6375         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6376         expected POSIX assumption about the size.
6377         (msghdr.msg_controllen): Likewise.
6378         (msghdr.__glibc_reserved1): Likewise.
6379         (msghdr.__glibc_reserved2): Likewise.
6380         (cmsghdr.cmsg_len): Likewise.
6381         (cmsghdr.__glibc_reserved1): Likewise.
6382         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6383         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6384         (CFLAGS-sendmsg.c): Remove rule.
6385         (CFLAGS-recvmsg.c): Likewise.
6386         (CFLAGS-oldsendmsg.c): Add rule.
6387         (CFLAGS-oldrecvmsg.c): Likewise.
6388         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6389         recvmsg and sendmsg.
6390         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6391         Likewise.
6392         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6393         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6394         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6395         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6396         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6397         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6398         Likewise.
6399         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6400         Likewise.
6401         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6402         Likewise.
6403         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6404         Likewise.
6405         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6408         Likewise.
6409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6410         (GLIBC_2.24): Likewise.
6411         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6412         Likewise.
6413         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6414         Likewise.
6415         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6416         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6417         Likewise.
6418         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6419         Likewise.
6420         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6421         Likewise.
6422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6423         (GLIBC_2.24): Likewise.
6424         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6425         Likewise.
6426         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6427         Likewise.
6428         * sysdeps/unix/sysv/linux/Makefile
6429         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6430         (CFLAGS-sendmsg.c): Add rule.
6431         (CFLAGS-recvmsg.c): Likewise.
6432         (CFLAGS-oldsendmsg.c): Likewise.
6433         (CFLAGS-oldrecvmsg.c): Likewise.
6434         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6435         initialization.
6436         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6437         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6438         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6439         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6440         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6441         iovlen and controllen fields to adjust to POSIX specification.
6442         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6444         added recvmsg and sendmsg.
6445         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6450         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6451         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6453         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6454         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6456         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6458         Likewise.
6459         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6461         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6462         Likewise.
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6465         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6466         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6473         Likewise.
6474         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6475         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6477         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6478         from auto-generation.
6479         (sendmsg): Likewise.
6480         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6481         (sendmsg): Likewise.
6482         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6483         (sendmsg): Likewise.
6484         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6485         (sendmsg): Likewise.
6486         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6487         (sendmsg): Likewise.
6488         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6489         (sendmsg): Likewise.
6490         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6491         Likewise.
6492         (sendmsg): Likewise.
6493         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6494         (sendmsg): Likewise.
6495         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6497         Remove.
6498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6499         Likewise.
6500         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6501         Undefine.
6502         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6503         Likewise.
6504         * sysdeps/unix/sysv/linux/kernel-features.h
6505         (__ASSUME_SENDMSG_SYSCALL): Define.
6506         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6507         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6508         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6509         Remove.
6510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6511         Likewise.
6512         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6513         Undefine.
6514         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6515         Likewise.
6516         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6518         Remove.
6519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6520         Likewise.
6521         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6522         Undefine.
6523         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6526         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6527         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6528         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6529         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6530         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6531         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6532         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6533         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6535 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6537         * stdlib/gen-tst-strtod-round.c: Add backslash to
6538         compile command in comment.
6539         (printfp): Remove the literal suffix, and define an infinite
6540         value as INF to avoid expansion clash with INFINITY.
6541         (round_str): Remove the literal suffix.
6542         (round_for_all): Likewise, remove the now duplicate ldbl-64
6543         entry, and remove some magic constants.
6545         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6546         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6547         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6548         (_CONCAT): New macro.
6549         (CONCAT): Likewise.
6550         (CHOOSE_ld): Likewise.
6551         (CHOOSE_f): Likewise.
6552         (CHOOSE_d): Likewise.
6553         (FTYPE_MEMBER): Likewise.
6554         (BOOL_MEMBER): Likewise.
6555         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6556         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6557         (_XNTRY): Likewise.
6558         (XNTRY): Likewise.
6559         (_ENTRY): Likewise.
6560         (ENTRY): Likewise.
6561         (test_exactness): Generate members via macro.
6562         (test_results): Likewise.
6563         (test): Update members.
6564         (TEST): Redefine using new macros.
6565         (INF): New macro.
6566         (fetestmodes): New structure.
6567         (do_test): Refactor to be type generic.
6568         (test_in_one_mode): Refactor duplicate code into
6569         (GEN_ONE_TEST): New macro.
6571         * stdlib/tst-strtod-round-data.h: Regenerate.
6573         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6574         Extend to pass additional arbitrary parameters to
6575         generators.
6577 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6579         [BZ #15479]
6580         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6581         floating-point state after first floating-point operation on
6582         input.  Restore full floating-point state instead of just rounding
6583         mode.
6584         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6585         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6586         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6587         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6588         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6590         [BZ #15479]
6591         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6592         floating-point state after first floating-point operation on
6593         input.  Restore full floating-point state instead of just rounding
6594         mode.
6595         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6596         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6597         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6598         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6599         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6601 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6603         [BZ #19727]
6604         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6605         valid high surrogate.
6606         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6607         of an utf16 surrogate.
6608         * iconv/gconv_simple.c (BODY): Likewise.
6609         * iconvdata/bug-iconv12.c: New file.
6610         * iconvdata/Makefile (tests): Add bug-iconv12.
6612 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6614         [BZ #19726]
6615         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6616         outptrp in case of an illegal input.
6617         * iconv/tst-iconv6.c: New file.
6618         * iconv/Makefile (tests): Add tst-iconv6.
6620 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6622         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6623         an error in case of a value in range of an utf16 low surrogate.
6625 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6627         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6628         an error in case of a value in range of an utf16 low surrogate.
6630 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6632         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6633         Move to ...
6634         * sysdeps/s390/Makefile: ... here.
6635         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6636         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6637         (BRANCH_ON_COUNT): New define.
6638         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6639         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6640         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6641         run on s390-32, too.
6642         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6643         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6644         run on s390-32, too.
6645         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6646         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6647         run on s390-32, too.
6649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6651         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6652         etf3eh or new vector loop-variant.
6654 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6656         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6657         etf3eh or new vector loop-variant.
6659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6661         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6662         or new vector loop-variant.
6664 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6666         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6667         Rename to TR_LOOP and usage of tr instead of troo instruction.
6669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6671         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6674 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6676         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6677         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6678         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6679         New override define.
6680         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6682 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6684         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6685         * sysdeps/s390/configure.ac: Add test for S390 vector register
6686         support in gcc.
6687         * sysdeps/s390/configure: Regenerated.
6689 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6691         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6692         Install file from $(objpfx)gconv-modules.
6693         ($(objpfx)gconv-modules): Concatenate architecture specific file
6694         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6695         * sysdeps/s390/gconv-modules: New file.
6696         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6697         Deleted.
6698         ($(objpfx)gconv-modules-s390): Deleted.
6699         (sysdeps-gconv-modules): New variable.
6701 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6703         [BZ #15479]
6704         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6705         of immediate operand to rounding instruction.
6706         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6707         Likewise.
6708         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6709         Likewise.
6710         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6711         Likewise.
6713 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6715         * math/libm-test.inc (MIN_EXP): Directly define as
6716         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6718 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6720         * math/libm-test.inc (MANT_DIG): Directly define as
6721         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6723 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6725         * stdlib/gen-tst-strtod-round.c (main):
6726           Change usage to more closely match the generated
6727           output.  Add usage and compilation instructions.
6728           (string_to_fp): Add and use FILE* parameter as
6729           output target.
6730           (print_fp): Likewise.
6731           (round_str): Likewise.
6732           (round_for_all): Likewise.
6733         * stdlib/tst-strtod-round.c (tests): Move into
6734         * stdlib/tst-strtod-round-data.h: New file.
6736 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6738         [BZ #15479]
6739         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6740         (__round): Do not force "inexact" exception.
6741         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6742         variable.
6743         (__round): Do not force "inexact" exception.
6744         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6745         (__roundf): Do not force "inexact" exception.
6746         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6747         (__roundl): Do not force "inexact" exception.
6748         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6749         (__roundl): Do not force "inexact" exception.
6750         * math/libm-test.inc (round_test_data): Do not allow spurious
6751         "inexact" exceptions.
6753         [BZ #15479]
6754         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6755         exception in comment.
6756         (huge): Remove variable.
6757         (__floor): Do not force "inexact" exception.
6758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6759         "inexact" exception in comment.
6760         (huge): Remove variable.
6761         (__floor): Do not force "inexact" exception.
6762         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6763         exception in comment.
6764         (huge): Remove variable.
6765         (__floorf): Do not force "inexact" exception.
6766         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6767         exception in comment.
6768         (huge): Remove variable.
6769         (__floorl): Do not force "inexact" exception.
6771         [BZ #15479]
6772         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6773         exception in comment.
6774         (huge): Remove variable.
6775         (__ceil): Do not force "inexact" exception.
6776         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6777         "inexact" exception in comment.
6778         (huge): Remove variable.
6779         (__ceil): Do not force "inexact" exception.
6780         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6781         (__ceilf): Do not force "inexact" exception.
6782         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6783         exception in comment.
6784         (huge): Remove variable.
6785         (__ceill): Do not force "inexact" exception.
6787 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6789         * config.h.in (BIND_NOW): New.
6790         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6791         * configure: Regenerated.
6792         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6793         indirect branch via the GOT slot.
6795 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6797         [BZ #19765]
6798         * sysdeps/s390/mempcpy.S: New File.
6799         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6801         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6802         Add mempcpy variants.
6803         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6804         (memcpy): Adjust to be usable from mempcpy entry point.
6805         (__memcpy_mvcle): Likewise.
6806         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6807         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6808         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6809         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6810         (__memcpy_z10): Likewise.
6811         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6813 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6815         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6816         Remove __GI_ symbol.
6817         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6818         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6819         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6820         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6821         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6822         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6824 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6826         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6827         Use cghi instead of chi to compare 64bit value.
6829 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6831         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6832         Jump to 1MB check before executing mvc-loop.
6834 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6836         [BZ #6527]
6837         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6838         unconditionally.
6839         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6841 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6843         * stdlib/tst-strtod6.c (do_test): Use new type generic
6844         invocation of the test function.
6845         (test): Refactor into ...
6846         (TEST_STRTOD): New macro base function.
6848 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6850         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6851         (TEST_STRTOD): New macro.
6852         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6854 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6856         * stdlib/tst-strtod6.c (do_test): Use new type generic
6857         invocation of the test function.
6858         (test): Refactor into ...
6859         (TEST_STRTOD): New macro base function.
6861 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6863         CVE-2016-4429
6864         [BZ #20112]
6865         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6866         payload.
6868 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6870         [BZ #20111]
6871         * bits/sockaddr.h (_SS_SIZE): Define.
6872         * 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/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6877         (_SS_PADSIZE): Adjust to account for all padding.
6878         (struct sockaddr_storage): Update comment.  Avoid implicit
6879         padding.
6880         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6881         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6882         (_SS_PADSIZE): Adjust to account for all padding.
6883         (struct sockaddr_storage): Update comment.  Avoid implicit
6884         padding.
6885         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6886         __SS_SIZE is 126 in this version.
6887         * inet/tst-sockaddr.c: New file.
6888         * inet/Makefile (tests): Add tst-sockaddr.c
6889         (tst-sockaddr.c): Compile with non-strict aliasing.
6891 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6893         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6894         [XPG3 || XPG4].
6895         (NL_ARGMAX): Also expect for [XPG3].
6896         (NL_LANGMAX): Likewise.
6897         (NL_MSGMAX): Likewise.
6898         (NL_NMAX): Likewise.
6899         (NL_SETMAX): Likewise.
6900         (NL_TEXTMAX): Likewise.
6901         (NZERO): Likewise.
6902         (TMP_MAX): Likewise.
6903         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6904         variable.
6906         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6907         (PF_MAX): Update value.
6908         (AF_KCM): New macro.
6909         (SOL_NETBEUI): Likewise.
6910         (SOL_LLC): Likewise.
6911         (SOL_DCCP): Likewise.
6912         (SOL_NETLINK): Likewise.
6913         (SOL_TIPC): Likewise.
6914         (SOL_RXRPC): Likewise.
6915         (SOL_PPPOL2TP): Likewise.
6916         (SOL_BLUETOOTH): Likewise.
6917         (SOL_PNPIPE): Likewise.
6918         (SOL_RDS): Likewise.
6919         (SOL_IUCV): Likewise.
6920         (SOL_CAIF): Likewise.
6921         (SOL_ALG): Likewise.
6922         (SOL_NFC): Likewise.
6923         (SOL_KCM): Likewise.
6924         (MSG_BATCH): New enum value and macro.
6926 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6928         [BZ #18185]
6929         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6930         sharing L2 cache to 2 for Knights Landing.
6932 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6934         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6935         (FTW_DP): Do not expect for [XPG3 || XPG4].
6936         (FTW_SL): Do not expect for [XPG3].
6937         (FTW_SLN): Likewise.
6938         (FTW_PHYS): Likewise.
6939         (FTW_MOUNT): Likewise.
6940         (FTW_DEPTH): Likewise.
6941         (FTW_CHDIR): Likewise.
6942         (nftw): Likewise.
6943         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6944         variable.
6946 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6948         * manual/errno.texi: Fix various typos & grammar errors.
6950 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6952         * manual/intro.texi: Fix duplicated typo.
6954 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #13304]
6957         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6958         <float.h>, <math_private.h> and <stdlib.h>.
6959         (add_split): New function.
6960         (mul_split): Likewise.
6961         (ext_val): New typedef.
6962         (store_ext_val): New function.
6963         (mul_ext_val): New function.
6964         (compare): New function.
6965         (add_split_ext): New function.
6966         (__fmal): After checking for Inf, NaN and zero, compute result as
6967         an exact sum of scaled double values in round-to-nearest before
6968         adding those up and adjusting for other rounding modes.
6969         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6970         tests of fma.
6971         * math/auto-libm-test-out: Regenerated.
6973 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6975         [BZ #20119]
6976         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6977         processor level type mask for CPUID with EAX == 11.
6979 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6981         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6982         logical threads if the HTT bit is 0.
6983         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6984         (index_cpu_HTT): Likewise.
6985         (reg_HTT): Likewise.
6987 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6989         [BZ #20115]
6990         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6991         Remove alignments on jump targets.
6993 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6995         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6996         (getpwent): Likewise.
6997         (setpwent): Likewise.
6998         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6999         variable.
7001         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7002         (remque): Likewise.
7003         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7004         variable.
7006 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7008         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7009         not being tested.
7011 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7014         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7015         call.
7016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7017         (__condvar_cleanup1): Likewise.
7019 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7021         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7022         New
7023         (__pthread_unwind): Renamed to ...
7024         (PTHREAD_UNWIND): This.
7025         (__pthread_enable_asynccancel): Replace
7026         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7028 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7030         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7031         (CLONE_NEWCGROUP): New macro.
7033         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7034         (Q_GETNEXTQUOTA): New macro.
7036 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7038         [BZ #19907]
7039         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7040         buffer updated by the previous run.
7041         * string/test-memcpy.c (do_one_test): Likewise.
7042         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7043         * string/test-memmove.c (do_one_test): Likewise.
7045 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7047         [BZ #20094]
7048         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7049         not [__USE_XOPEN].
7050         (unlockpt): Likewise.
7051         (ptsname): Likewise.
7052         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7053         variable.
7055         [BZ #20076]
7056         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7057         instead of [__USE_UNIX98].
7058         (S_ISSOCK): Likewise.
7059         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7060         variable.
7062         [BZ #20074]
7063         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7064         [__USE_POSIX].
7065         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7066         variable.
7068         [BZ #20051]
7069         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7070         (ttyslot): Do not declare.
7071         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7072         (ttyslot): New prototype.
7073         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7074         variable.
7075         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7077 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7079         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7081 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7083         Fix race condition in tst-mallocfork2, use fewer resources.
7084         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7085         to current process group.
7086         (signal_sender): Yield in the non-sleeping case.
7088 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7090         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7091         (ecvt): Likewise.
7092         (fcvt): Likewise.
7093         (gcvt): Likewise.
7094         (getsubopt): Likewise.
7095         (grantpt): Likewise.
7096         (initstate): Likewise.
7097         (l64a): Likewise.
7098         (mktemp): Likewise.
7099         (mkstemp): Likewise.
7100         (ptsname): Likewise.
7101         (random): Likewise.
7102         (realpath): Likewise.
7103         (setstate): Likewise.
7104         (srandom): Likewise.
7105         (ttyslot): Likewise.
7106         (unlockpt): Likewise.
7107         (valloc): Likewise.
7109         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7110         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7111         variable.
7113 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7115         [BZ #20072]
7116         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7117         init_cpu_features only if SHARED is defined.
7118         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7120 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7122         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7123         non-inclusive caches on Intel processors.
7125 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7127         * malloc/malloc.c (dumped_main_arena_start)
7128         (dumped_main_arena_end): New variables.
7129         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7130         (do_check_chunk): Skip dumped fake mmapped chunks.
7131         (munmap_chunk): Likewise.
7132         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7133         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7134         mmapped chunks.
7135         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7136         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7137         and dumped_main_arena_end to cover the dumped heap.
7139 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7141         * conform/data/time.h-data (getdate_err): Do not expect for
7142         [XPG3].
7143         (getdate): Likewise.
7144         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7145         variable.
7147         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7148         (F_ULOCK): Likewise.
7149         (F_TEST): Likewise.
7150         (F_TLOCK): Likewise.
7151         (useconds_t): Likewise.
7152         (intptr_t): Do not expect for [XPG3] or [XPG4].
7153         (brk): Do not expect for [XPG3]
7154         (fchown): Likewise.
7155         (fchdir): Likewise.
7156         (ftruncate): Likewise.
7157         (getdtablesize): Likewise.
7158         (gethostid): Likewise.
7159         (getpagesize): Likewise.
7160         (getpgid): Likewise.
7161         (getsid): Likewise.
7162         (getwd): Likewise.
7163         (lchown): Likewise.
7164         (lockf): Likewise.
7165         (readlink): Likewise.
7166         (sbrk): Likewise.
7167         (setpgrp): Likewise.
7168         (setregid): Likewise.
7169         (setreuid): Likewise.
7170         (symlink): Likewise.
7171         (sync): Likewise.
7172         (truncate): Likewise.
7173         (ualarm): Likewise.
7174         (usleep): Likewise.
7175         (vfork): Likewise.
7176         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7177         variable.
7179         [BZ #20054]
7180         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7181         not [__USE_UNIX98].
7182         * conform/data/unistd.h-data (gethostname): Do not expect for
7183         [XPG3].
7185         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7186         [!POSIX] (S_IFBLK): Likewise.
7187         [!POSIX] (S_IFCHR): Likewise.
7188         [!POSIX] (S_IFIFO): Likewise.
7189         [!POSIX] (S_IFREG): Likewise.
7190         [!POSIX] (S_IFDIR): Likewise.
7191         [!POSIX] (S_IFLNK): Likewise.
7192         [!POSIX] (S_IFSOCK): Likewise.
7193         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7194         variable.
7195         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7197 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7199         * sysdeps/aarch64/memset.S (__memset):
7200         Rewrite of optimized memset.
7202 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7204         [BZ #19703]
7205         Partially async-signal-safe fork for single-threaded processes.
7206         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7207         variable.  Do not acquire and reset/release malloc and libio locks
7208         in single-threaded processes.
7209         * malloc/tst-mallocfork2.c: New file.
7210         * malloc/Makefile (tests): Add it.
7212 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7214         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7215         argument.  Use scratch buffer instead of extend_alloca.
7216         (gethosts): Use scratch buffer instead of extend_alloca.
7217         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7218         extend_alloca.
7219         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7221 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7223         [BZ #20055]
7224         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7225         instead of [__USE_UNIX98].
7226         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7227         [__USE_UNIX98].
7228         * conform/data/termios.h-data (tcgetsid): Do not expect for
7229         [XPG3].
7230         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7231         variable.
7232         (test-xfail-XPG4/termios.h/conform): Likewise.
7234 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7236         Do not use mcheck in localedef.
7237         * locale/programs/localedef.c (turn_on_mcheck)
7238         (__malloc_initialize_hook): Remove.
7240 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7242         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7243         * sysdeps/s390/s390-64/Makefile: Likewise.
7245 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7247         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7248         Remove ifunc-defines.sym.
7249         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7250         Likewise.
7251         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7252         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7253         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7254         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7255         rtld-global-offsets.sym.
7256         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7257         * sysdeps/x86/cpu-features-offsets.sym: This.
7258         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7259         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7261 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7263         [BZ #20073]
7264         * io/sys/stat.h (fchmod): Declare for
7265         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7266         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7267         variable.
7269         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7270         [XPG3] (S_IFSOCK): Likewise.
7271         [XPG3] (S_ISVTX): Likewise.
7272         [XPG3] (S_ISLNK): Likewise.
7273         [XPG3] (S_ISSOCK): Likewise.
7274         [XPG3] (fchmod): Likewise.
7275         [XPG3] (lstat): Likewise.
7276         [XPG3] (mknod): Likewise.
7278         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7279         [XPG3].  Expect type long and XFAIL for [XPG4].
7280         (st_blocks): Likewise.
7282         [BZ #20044]
7283         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7284         (pthread_atfork): New prototype.
7285         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7286         variable.
7288         [BZ #20043]
7289         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7290         prototype.
7292 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7294         [BZ #20017]
7295         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7296         gmtime.
7298 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7300         [BZ #19994]
7301         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7302         flag in _res.options.
7304 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7306         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7307         [XPG3 || XPG4].
7308         (blksize_t): Likewise.
7309         (clockid_t): Likewise.
7310         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7311         variable.
7312         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7314 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7316         * sysdeps/unix/sysv/linux/s390/init-first.c:
7317         Add VDSO_SYMBOL(getcpu).
7318         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7319         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7320         Add VDSO_SYMBOL(getcpu).
7321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7322         New define HAVE_GETCPU_VSYSCALL.
7323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7325 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7327         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7328         instead of <sysdeps/x86_64/cacheinfo.c>.
7329         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7330         * sysdeps/x86/cacheinfo.c: Here.
7332 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7334         * malloc/malloc-internal.h: Adjust header file guard.
7336 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7338         [BZ #19787]
7339         * inet/getnameinfo.c (check_sprintf_result): New function.
7340         (CHECKED_SNPRINTF): New macro.
7341         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7342         to the host buffer.
7343         (gni_host_local): Use checked_copy to copy the host name.
7344         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7345         (gni_serv_local): Use checked_copy to copy the service name.
7346         (getnameinfo): Remove unnecessary truncation of result buffers.
7348 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7350         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7351         in case of inet_ntop failure.
7353 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7355         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7356         avoid long lines.
7357         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7358         variables.
7359         (gni_host_inet, gni_host_local): Add comment.
7360         (gni_host): Add comment.  Use temporary to avoid long lines.
7362 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7365         registers specifiers where general purpose registers specifiers should
7366         have been used.
7368 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7370         [BZ #19779]
7371         CVE-2016-1234
7372         Avoid copying names of directory entries.
7373         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7374         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7375         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7376         (struct readdir_result): New type.
7377         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7378         (GL_READDIR): New macros.
7379         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7380         (convert_dirent, convert_dirent64): New functions.
7381         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7382         convert_dirent64.  Adjust references to the readdir result.
7383         * sysdeps/unix/sysv/linux/i386/glob64.c:
7384         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7385         * posix/bug-glob2.c (LONG_NAME): Define.
7386         (filesystem): Add LONG_NAME.
7387         (my_DIR): Increase the size of room_for_dirent.
7389 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7391         [BZ #20041]
7392         * misc/sys/select.h (__need_timespec): Only define if
7393         [__USE_XOPEN2K].
7394         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7395         variable.
7396         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7397         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7398         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7400 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7401             Segher Boessenkool  <segher@gcc.gnu.org>
7403         [BZ #20004]
7404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7405         (__novec_swapcontext): Add missing load.
7407 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7409         [BZ #20023]
7410         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7411         <time.h>.
7412         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7413         variable.
7414         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7416 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7419         flags CLONE_VM compare.
7421 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7423         [BZ #20031]
7424         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7425         completely empty.
7427 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7429         [BZ #19573]
7430         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7431         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7432         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7433         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7434         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7435         (hesiod_free_list): Mark as hidden.
7436         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7437         res_set, res_get.
7438         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7439         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7440         (hesiod_init): Remove obsolete res_ninit call.
7441         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7442         (hesiod_bind): Do not call init.
7443         (get_txt_records): Use res_mkquery, res_send instead of
7444         res_nmkquery, res_nsend.
7445         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7446         instead of _nss_hesiod_init.
7447         (_nss_hesiod_initgroups_dyn): Likewise.
7448         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7449         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7450         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7452 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7454         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7455         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7457 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7459         * hesiod/hesiod.h: Remove RCS keyword.
7460         * hesiod/hesiod_p.h: Likewise.
7462         * hesiod/hesiod.c: Likewise.
7464 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7466         [BZ #12450]
7467         * locale/iso-639.def: Add Samogitian/sgs.
7469 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7471         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7473         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7475 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7476             Carlos O'Donell  <carlos@redhat.com>
7478         [BZ #19072]
7479         * grp/Makefile (headers): Add grp-merge.h
7480         (routines): Add grp-merge.
7481         * grp/getgrgid_r.c: Include grp-merge.h.
7482         (DEEPCOPY_FN): Define.
7483         (MERGE_FN): Define.
7484         * grp/getgrname_r.c: Include grp-merge.h.
7485         (DEEPCOPY_FN): Define.
7486         (MERGE_FN): Define.
7487         * grp/grp-merge.c: New file.
7488         * grp/grp-merge.h: New file.
7489         * include/grp-merge.h: New file.
7490         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7491         __copy_grp@GLIBC_PRIVATE.
7492         * manual/nss.texi (Actions in the NSS configuration): Describe
7493         return, continue, and merge.
7494         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7495         (DEEPCOPY_FN): Define.
7496         (MERGE_FN): Define.
7497         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7498         (DEEPCOPY_FN): Define.
7499         (MERGE_FN): Define.
7500         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7501         [!MERGE_FN]: Define __merge_einval.
7502         (CHECK_MERGE): Define.
7503         (REENTRANT_NAME): Process merge if do_merge is true.
7504         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7505         (__nss_getent_r): Likewise.
7506         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7507         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7509 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7511         [BZ #20012]
7512         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7513         length to calculate the buffer to read.
7514         (fmemopen_write): Set the buffer position based on bytes written.
7515         (fmemopen_seek): Return EINVAL for invalid whence modes.
7517         [BZ #19957]
7518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7519         tst-getpid2.
7520         (test): Add tst-clone2.
7521         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7522         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7523         pid/tid fields for CLONE_VM.
7524         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7525         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7526         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7527         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7528         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7529         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7530         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7531         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7533         Likewise.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7535         Likewise.
7536         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7537         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7538         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7539         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7540         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7541         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7542         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7543         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7545 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7547         [BZ #19642]
7548         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7549         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7550         (gni_serv_local, gni_serv): New functions extracted from
7551         getnameinfo.
7552         (getnameinfo): Call gni_host and gni_serv to perform the
7553         processing.  Always free scratch buffer.
7555 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7557         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7558         remaining bytes in the dest string, with zeros.
7560 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7562         [BZ #20010]
7563         CVE-2016-3706
7564         * sysdeps/posix/getaddrinfo.c
7565         (convert_hostent_to_gaih_addrtuple): New function.
7566         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7567         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7568         AF_INET data.
7570 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7572         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7573         callback function gl_readdir.
7574         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7575         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7576         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7577         memcpy to copy the name.
7578         * manual/pattern.texi (Calling Glob): Document requirements for
7579         implementations of the gl_readdir callback function.
7580         * manual/examples/mkdirent.c: New example.
7581         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7582         per the manual guidance.
7583         * posix/tst-gnuglob.c (my_readdir): Likewise.
7585 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7587         [BZ #20014]
7588         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7589         not [__USE_POSIX].
7590         (getchar_unlocked): Likewise.
7591         (putc_unlocked): Likewise.
7592         (putchar_unlocked): Likewise.
7593         (flockfile): Likewise.
7594         (ftrylockfile): Likewise.
7595         (funlockfile): Likewise.
7596         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7597         variable.
7598         (test-xfail-XPG4/stdio.h/conform): Likewise.
7600         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7601         Expect constant.
7602         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7603         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7604         variable.
7605         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7606         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7608         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7609         [__USE_LARGEFILE64] (off64_t): Likewise.
7610         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7611         variable.
7613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7615         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7617 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7619         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7620         * resolv/res_init.c: Likewise.
7621         * resolv/res_mkquery.c: Likewise.
7623 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7625         * resolv/res_init.c (isascii): Do not define.  Use definition in
7626         <ctype.h>.
7627         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7628         (LOG_AUTH): Remove.
7629         (SPRINTF): Remove, adjust caller.
7630         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7632 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7635         SUNSECURITY conditional.
7636         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7638 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7640         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7641         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7642         Remove BSD-related preprocessor conditionals.
7643         * conf/portability.h: Remove.
7645 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7647         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7648         * resolv/res_data.c: Likewise.
7650 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7652         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7653         * resolv/res_data.c: Remove code conditional on ultrix.
7655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7657         * resolv/res_init.c (RFC1535): Do not define.  Remove
7658         RFC1535 preprocessor conditionals.
7659         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7660         because there configuration options which make the resolver
7661         behavior different.
7663 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7665         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7666         RESOLVSORT preprocessor conditionals.
7667         * resolv/nss_dns/dns-host.c: Likewise.
7668         * resolv/res_init.c: Likewise.
7670 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7672         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7673         is never defined.
7675 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7677         * inet/inet_lnaof.c: Remove SCSS keyword.
7678         * inet/inet_mkadr.c: Likewise.
7679         * inet/inet_net.c: Likewise.
7680         * inet/inet_netof.c: Likewise.
7681         * inet/rcmd.c: Likewise.
7682         * inet/rexec.c: Likewise.
7683         * inet/ruserpass.c: Likewise.
7685 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7687         * resolv/inet_addr.c: Remove _LIBC conditionals.
7688         * resolv/res_data.c: Likewise.
7689         * resolv/res_init.c: Likewise.
7690         * resolv/res_mkquery.c: Likewise.
7691         * resolv/res_libc.c: Update comment.
7692         * resolv/README: Update.
7694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7696         * resolv/gethnamaddr.c: Remove SCSS keyword.
7697         * resolv/herror.c: Likewise.
7698         * resolv/inet_addr.c: Likewise.
7699         * resolv/inet_net_ntop.c: Likewise.
7700         * resolv/inet_net_pton.c: Likewise.
7701         * resolv/inet_neta.c: Likewise.
7702         * resolv/inet_ntop.c: Likewise.
7703         * resolv/inet_pton.c: Likewise.
7704         * resolv/ns_date.c: Remove RCS keyword.
7705         * resolv/ns_name.c: Likewise.
7706         * resolv/ns_netint.c: Likewise.
7707         * resolv/ns_parse.c: Likewise.
7708         * resolv/ns_print.c: Likewise.
7709         * resolv/ns_samedomain.c: Likewise.
7710         * resolv/ns_ttl.c: Likewise.
7711         * resolv/nsap_addr.c: Likewise.
7712         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7713         * resolv/res_data.c: Remove RCS keyword.
7714         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7715         * resolv/res_init.c: Likewise.
7716         * resolv/res_mkquery.c: Likewise.
7717         * resolv/res_query.c: Likewise.
7718         * resolv/res_send.c: Likewise.
7720 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7722         * conform/data/stdio.h-data (fdopen): Expect also for
7723         [XPG3 || XPG4].
7725         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7726         (fseeko): Likewise.
7727         (ftello): Likewise.
7728         (ftrylockfile): Likewise.
7729         (funlockfile): Likewise.
7730         (getc_unlocked): Likewise.
7731         (getchar_unlocked): Likewise.
7732         (putc_unlocked): Likewise.
7733         (putchar_unlocked): Likewise.
7735 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7737         [BZ #19868]
7738         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7739         DNS packet syntax checks (which were not needed before).  Skip
7740         over non-PTR records.
7742 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7744         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7745         definition.  Include <stddef.h> instead.
7747 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7749         [BZ #19831]
7750         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7751         function.
7752         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7753         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7755 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7757         [BZ #19862]
7758         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7759         (getanswer_r): Do not call syslog.
7760         (gaih_getanswer_slice): Likewise.
7761         * resolv/gethnamaddr.c (AskedForGot): Remove.
7762         (getanswer): Do not call syslog.
7763         (gethostbyaddr): Likewise.
7765 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7767         * conform/data/signal.h-data (union sigval): Expect also if
7768         [XOPEN2K].
7769         (struct sigevent): Likewise.
7770         (SIGEV_NONE): Likewise.
7771         (SIGEV_SIGNAL): Likewise.
7772         (SIGEV_THREAD): Likewise.
7773         (SIGRTMIN): Likewise.
7774         (SIGRTMAX): Likewise.
7775         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7776         variable.
7777         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7779 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7781         [BZ #19830]
7782         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7783         (gaih_getanswer_slice): Likewise.
7784         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7785         Also check for availability of RR metadata.
7787 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7789         [BZ #19825]
7790         * resolv/res_send.c (send_vc): Remove early *resplen2
7791         initialization.  Set *resplen2 on socket error.  Call
7792         close_and_return_error for other errors.
7794 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7796         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7797         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7798         (SCM_IUCV_TRGCLS): New define.
7800 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7802         [BZ #20005]
7803         * libio/fmemopen.c (fmemopen_write): Update internal position after
7804         write.
7805         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7806         * stdio-common/tst-fmemopen4.c: New file..
7808 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7810         [BZ #19996]
7811         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7812         not [__USE_XOPEN2K].
7813         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7814         variable.
7816         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7817         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7818         variable.
7820         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7821         [__USE_XOPEN2K8].
7822         [__USE_LARGEFILE64] (off64_t): Likewise.
7823         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7824         variable.
7826 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7828         [BZ #19989]
7829         * libio/stdio.h (cuserid): Do not declare if
7830         [__USE_XOPEN2K && !__USE_GNU].
7831         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7832         variable.
7834 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7836         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7837         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7839         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7840         ifunc'ed strcspn.
7841         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7842         [EALIGN]: Removed.
7843         [END]: Likewise
7844         [STRSPN]: Define instead of the above to control symbol name.
7845         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7846         New file.
7847         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7848         Likewise.
7849         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7850         Likewise.
7851         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7852         Likewise.
7853         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7854         [INITIAL_MASK]: New macro.
7855         [STRCSPN]: Likewise.
7856         [UPDATE_MASK]: Likewise.
7857         [USE_AS_STRCSPN]: Lisewise.
7859 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7861         [BZ #19931]
7862         * stdio-common/tst-vfprintf-width-prec.c: New file.
7863         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7864         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7865         (generated): Add mtrace-related files.
7866         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7867         (tst-%-mem.out): New pattern rule, replaces
7868         tst-printf-bz18872-mem.out.
7869         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7870         specifier, deallocate any previously allocated work buffer.
7872 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7874         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7875         Add nop before __startcontext, add explaining comments.
7877 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7879         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7880         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7881         completely different API.
7883         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7884         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7885         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7886         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7887         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7888         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7889         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7890         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7891         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7892         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7894 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7896         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7898 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7900         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7901         when it is the default of 0.
7903 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7905         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7906         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7907         (sysdep_routines): Add new strcasestr targets.
7908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7909         (__libc_ifunc_impl_list): Likewise.
7910         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7911         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7912         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7913         * sysdeps/powerpc/powerpc64/power8/Makefile:
7914         New file to add strcasestr-ppc64 to sysdep_routines.
7915         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7916         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7918 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7920         * benchtests/Makefile (wcsmbs-benchset): Include only for
7921         native builds and runs.
7922         (LOCALES): Likewise.
7923         (bench-build): Build timing-type here instead of the bench
7924         target.  Generate locale only for native builds.
7925         * benchtests/README: Add note for cross-building.
7927         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7929         * benchtests/README: Update README to include instructions on
7930         using bench-build.
7932         * Makefile.in (bench-build): New target.
7933         * Rules (PHONY): Add bench-build target.
7934         * benchtests/Makefile (bench): Depend on bench-build.
7935         (bench-build): New target.
7937 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7939         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7940         profil_reply_port.
7941         (profile_waiter): Do not initialize profil_reply_port.
7942         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7943         frequency instead of tick length in us.
7945 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7947         [BZ #18712]
7948         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7949         (__old_mempcpy_small): Likewise.
7950         (__old_strcpy_small): Likewise.
7951         (__old_stpcpy_small): Likewise.
7952         (__old_strpbrk_c2): Fix compat symbol name.
7953         (__old_strpbrk_c3): Likewise.
7954         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7955         (__mempcpy_small): Remove.
7956         (__strcpy_small): Remove.
7957         (__stpcpy_small): Remove.
7959 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7961         [BZ #19400]
7962         * locale/iso-639.def: Add the Talossan/tzl language.
7964 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7966         [BZ #16983]
7967         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7968         comment.  Add "ln" to strchr check on postal_fmt.
7970 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7972         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7973         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7974         tel_dom_fmt.
7976 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7978         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7979         (sysdep_routines): Added __strlen_power8.
7980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7981         __strlen_power8 entry.
7982         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7983         Implementation for POWER8.
7984         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7985         for __strlen_power8.
7986         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7987         Implementation for POWER8.
7989 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7991         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7993 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7995         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7996         Goldmont and Airmont processors.
7998 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8000         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8001         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8002         (__STRING2_SMALL_GET32): Remove.
8003         (memset): Remove.
8004         (__memset_1): Remove.
8005         (__memset_gc): Remove.
8006         (__mempcpy): Remove.
8007         (mempcpy): Remove.
8008         (__mempcpy_args): Remove.
8009         (strchr): Remove.
8010         (strcpy): Remove.
8011         (strcpy_args): Remove.
8012         (__stpcpy_args): Remove.
8013         (__strcmp_cc): Remove.
8014         (__strcmp_gc): Remove.
8015         (strstr): Remove.
8017 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8019         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8020         * nis/nis_call.c (nis_server_cache_add): Likewise.
8022 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8024         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8026 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8028         * malloc/arena.c (__malloc_fork_lock_parent)
8029         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8030         internal_function attribute.
8032 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8034         * stdio-common/printf_fp.c (__printf_fp_l):
8035         Rename ___printf_fp_l to __printf_fp_l and
8036         remove strong alias. Use libc_hidden_def instead
8037         of ldbl_hidden_def macro.
8039 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8041         Remove malloc hooks from fork handler.  They are no longer needed
8042         because malloc runs right before fork, and no malloc calls from
8043         other fork handlers are not possible anymore.
8044         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8045         declarations.
8046         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8047         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8048         (atfork_recursive_cntr): Remove.
8049         (__malloc_fork_lock_parent): Do not override malloc hooks and
8050         thread_arena.
8051         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8052         thread_arena.
8053         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8054         thread_arena instead of save_arena.
8056 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8058         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8059         (thread_atfork, thread_atfork_static): Remove.
8060         * sysdeps/mach/hurd/malloc-machine.h:
8061         (thread_atfork, thread_atfork_static): Remove.
8063 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8065         [BZ #19431]
8066         Run the malloc fork handler as late as possible to avoid deadlocks.
8067         * malloc/malloc-internal.h: New file.
8068         * malloc/malloc.c: Include it.
8069         * malloc/arena.c (ATFORK_MEM): Remove.
8070         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8071         Update comment.
8072         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8073         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8074         Remove outdated comment.
8075         (ptmalloc_init): Do not call thread_atfork.  Remove
8076         thread_atfork_static.
8077         * malloc/tst-malloc-fork-deadlock.c: New file.
8078         * Makefile (tests): Add tst-malloc-fork-deadlock.
8079         (tst-malloc-fork-deadlock): Link against libpthread.
8080         * manual/memory.texi (Aligned Memory Blocks): Update safety
8081         annotation comments.
8082         * sysdeps/nptl/fork.c (__libc_fork): Call
8083         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8084         __malloc_fork_unlock_child.
8085         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8087 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8089         [BZ #19613]
8090         Remove union wait.
8091         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8092         (w_stopsig, w_stopval): Remove.
8093         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8094         stat_loc argument.
8095         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8096         (__WAIT_STATUS_DEFN): Remove.
8097         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8098         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8099         (wait, wait3, wait4): Use int * for the stat_loc argument.
8100         * posix/wait.c (__wait): Likewise.
8101         * posix/wait3.c (__wait3): Likewise.
8102         * posix/wait4.c (__wait4): Likewise.
8103         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8104         (__WAIT_STATUS_DEFN): Remove.
8105         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8106         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8107         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8108         argument.
8109         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8110         * sysdeps/posix/wait3.c (__wait3): Likewise.
8111         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8112         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8113         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8114         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8115         stat_loc argument.
8116         * manual/process.texi (BSD Wait Functions): Remove union wait.
8118 2016-04-13  Andreas Schwab  <schwab@suse.de>
8120         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8121         (test-extras): Add tst-tlsalign-vars.
8122         * math/Makefile: Wrap long lines.
8123         (libm-vec-test-wrappers): Define.
8124         (test-extras): Add $(libm-vec-test-wrappers).
8125         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8126         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8127         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8128         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8129         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8130         (extra-test-objs): Add corresponding objects.
8132 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8134         [BZ #19928]
8135         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8136         New.
8137         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8138         times of shared cache size.
8139         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8140         (VMOVNT): New.
8141         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8142         (VMOVNT): Likewise.
8143         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8144         (VMOVNT): Likewise.
8145         (VMOVU): Changed to movups for smaller code sizes.
8146         (VMOVA): Changed to movaps for smaller code sizes.
8147         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8148         comments.
8149         (PREFETCH): New.
8150         (PREFETCH_SIZE): Likewise.
8151         (PREFETCHED_LOAD_SIZE): Likewise.
8152         (PREFETCH_ONE_SET): Likewise.
8153         Rewrite to use forward and backward loops, which move 4 vector
8154         registers at a time, to support overlapping addresses and use
8155         non temporal store if size is above the threshold and there is
8156         no overlap between destination and source.
8158 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8160         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8161         Include dl-vdso.
8162         * sysdeps/unix/sysv/linux/mips/Versions: Add
8163         __vdso_clock_gettime.
8164         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8165         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8166         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8167         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8168         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8169         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8170         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8171         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8172         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8174 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8176         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8177         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8180         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8181         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8184         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8186         syscalls generation.
8187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8188         [__NR_pwrite64] (__NR_write): Remove define.
8189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8190         [__NR_pwrite64] (__NR_write): Remove define.
8191         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8192         Remove define.
8193         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8194         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8195         Remove define.
8196         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8197         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8198         Linux implementation as base.
8199         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8201         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8202         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8207         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8209         syscall generation.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8211         [__NR_pread64] (__NR_pread): Remove define.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8213         [__NR_pread64] (__NR_pread): Likewise.
8214         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8215         define.
8216         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8217         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8218         Remove define.
8219         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8220         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8221         Linux implementation as base.
8222         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8223         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8224         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8226         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8227         definition.
8228         (__ALIGNMENT_COUNT): Likewise.
8229         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8230         (__ALIGNMENT_COUNT): Likewise.
8231         (SYSCALL_LL): New define.
8232         (SYSCALL_LL64): Likewise.
8233         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8234         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8235         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8236         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8239         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8240         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8241         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8242         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8243         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8245 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8247         [BZ #19865]
8248         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8249         original buffer before retry.
8251 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8253         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8254         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8255         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8256         GLRO(dl_auxv) list.
8257         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8258         including <ldsodefs.h>.
8259         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8261 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8263         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8264         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8265         $(CPPFLAGS).
8267 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8269         [BZ #17950]
8270         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8271         Add -mfpmath=387.
8273 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8275         * sysdeps/i386/configure.ac: Change == to = when calling test.
8276         * sysdeps/x86_64/configure.ac: Likewise.
8277         * sysdeps/i386/configure: Regenerated.
8278         * sysdeps/x86_64/configure: Likewise.
8280 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8282         [BZ #16137]
8283         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8284         * benchtests/bench-strcoll.c (input_files): Likewise.
8285         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8286         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8287         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8289 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8291         [BZ #19929]
8292         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8293         [__USE_XOPEN2K8 && !__USE_GNU].
8294         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8295         variable.
8297         [BZ #19925]
8298         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8299         define if [!__USE_MISC && __USE_XOPEN2K].
8300         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8301         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8302         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8303         Likewise.
8304         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8305         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8306         variable.
8307         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8309 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8311         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8312         (sysdep_routines): Add new strspn targets.
8313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8314         (__libc_ifunc_impl_list): Add strspn.
8315         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8316         New file.
8317         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8318         Likewise.
8319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8320         Likewise.
8321         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8322         Likewise.
8324 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8326         * misc/hsearch_r.c: Include <limits.h>.
8328 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8330         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8332 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8334         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8335         (MEMCPY_SYMBOL): New.
8336         (MEMPCPY_SYMBOL): Likewise.
8337         (MEMMOVE_CHK_SYMBOL): Likewise.
8338         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8339         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8340         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8341         Provide alias for memcpy in libc.a and ld.so.
8343 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8345         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8346         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8347         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8348         Disabled fro now.
8349         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8350         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8352 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8354         * benchtests/Makefile (string-benchset): Add memcpy-large,
8355         memmove-large and memset-large.
8356         * benchtests/bench-memcpy-large.c: New file.
8357         * benchtests/bench-memmove-large.c: Likewise.
8358         * benchtests/bench-memmove-large.c: Likewise.
8359         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8361 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8363         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8364         32-bit displacement to avoid long nop between instructions.
8366 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8368         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8369         a comment on VMOVU and VMOVA.
8371 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8373         [BZ #19633]
8374         Use specified locale for number formatting in strfmon_l.
8375         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8376         (__nl_lookup_word): New inline functions.
8377         * include/printf.h (__print_fp_l): Declare.
8378         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8379         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8380         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8381         (___printf_fp): New function.
8382         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8383         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8384         * stdlib/tst-strfmon_l.c (do_test): New test.
8385         * stdlib/Makefile (tests): Add kt.
8386         (LOCALES): Build additional locales.
8387         (tst-strfmon_l.out): Require locales.
8389 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8391         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8392         if not in libc.
8393         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8394         Likewise.
8395         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8396         Likewise.
8397         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8398         Likewise.
8400 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8402         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8403         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8404         with unaligned_erms.
8405         (__memmove_erms): Skip if source == destination.
8406         (__memmove_unaligned_erms): Don't check source == destination
8407         first.
8409 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8411         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8412         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8414 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8416         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8417         * string/strspn.c (strspn): Likewise.
8419 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8421         * benchtests/bench-memset.c (do_test): Support 64-byte
8422         alignment.
8423         (test_main): Test 64-byte alignment.
8425 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8427         * benchtests/bench-memmove.c (test_main): Test 64-byte
8428         alignment.
8430 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8432         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8434 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8436         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8437         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8438         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8440         * string/strpbrk.c (strpbrk): Rewrite function.
8441         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8442         (__strpbrk_c2): Likewise.
8443         (__strpbrk_c3): Likewise.
8444         * string/string-inlines.c
8445         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8446         Likewise.
8447         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8448         Likewise.
8450         * string/strspn.c (strcspn): Rewrite function.
8451         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8452         (__strspn_c1): Remove inline function.
8453         (__strspn_c2): Likewise.
8454         (__strspn_c3): Likewise.
8455         * string/string-inlines.c
8456         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8457         compatibility symbol.
8458         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8459         Likewise.
8460         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8461         Likewise.
8462         * string/string-inlines.c: Include generic version.
8464 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8465             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8467         * string/Version (libc): Add GLIBC_2.24.
8468         * string/strcspn.c (strcspn): Rewrite function.
8469         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8470         (__strcspn_c1): Remove inline function.
8471         (__strcspn_c2): Likewise.
8472         (__strcspn_c3): Likewise.
8473         * string/string-inline.c
8474         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8475         compatibility symbol.
8476         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8477         Likewise.
8478         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8479         Likewise.
8480         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8482 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8484         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8485         Use ahi instead of aghi to adjust stack pointer.
8487 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8489         [BZ #19853]
8490         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8491         TEST to take significant digits as second parameter.
8492         [TEST]: Redefine in terms of TEST_N taking 30
8493         significant digits.
8494         (do_test): Add test case to demonstrate precision
8495         failure in the ldbl-128ibm printf.
8496         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8497         (__mpn_extract_long_double): Carry 7 extra intermediate
8498         bits of precision to aide computing difference when
8499         signs differ.
8501 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8503         [BZ #19881]
8504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8505         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8506         memset-avx512-unaligned-erms.
8507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8508         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8509         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8510         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8511         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8512         __memset_sse2_unaligned_erms, __memset_erms,
8513         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8514         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8515         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8516         file.
8517         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8518         Likewise.
8519         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8520         Likewise.
8521         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8522         Likewise.
8524 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8526         [BZ #19776]
8527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8528         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8529         memmove-avx512-unaligned-erms.
8530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8531         (__libc_ifunc_impl_list): Test
8532         __memmove_chk_avx512_unaligned_2,
8533         __memmove_chk_avx512_unaligned_erms,
8534         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8535         __memmove_chk_sse2_unaligned_2,
8536         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8537         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8538         __memmove_avx512_unaligned_erms, __memmove_erms,
8539         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8540         __memcpy_chk_avx512_unaligned_2,
8541         __memcpy_chk_avx512_unaligned_erms,
8542         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8543         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8544         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8545         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8546         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8547         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8548         __mempcpy_chk_avx512_unaligned_erms,
8549         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8550         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8551         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8552         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8553         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8554         __mempcpy_erms.
8555         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8556         file.
8557         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8558         Likwise.
8559         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8560         Likwise.
8561         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8562         Likwise.
8564 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8566         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8567         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8568         (La_s390_64_regs): Likewise.
8569         (La_s390_32_retval): Append vector register lrv_v24.
8570         (La_s390_64_retval): Likeweise.
8571         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8572         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8573         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8574         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8576 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8578         [BZ #19916]
8579         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8580         to create a non-vector/vector version for _dl_runtime_resolve and
8581         _dl_runtime_profile. Move implementation to ...
8582         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8583         (_dl_runtime_resolve) Save and restore fpr/vrs.
8584         (_dl_runtime_profile) Save and restore vrs and fix some issues
8585         if _dl_call_pltexit is called.
8586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8587         Choose the correct resolver function if running on a machine with vx.
8588         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8589         to create a non-vector/vector version for _dl_runtime_resolve and
8590         _dl_runtime_profile. Move implementation to ...
8591         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8592         (_dl_runtime_resolve) Save and restore fpr/vrs.
8593         (_dl_runtime_profile) Save and restore vrs and fix some issues
8594         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8595         Choose the correct resolver function if running on a machine with vx.
8597 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8599         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8601 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8603         [BZ #19509]
8604         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8605         skip_map != NULL.
8606         * elf/tst-dlsym-error.c: New file.
8607         * elf/Makefile (tests): Add tst-dlsym-error.
8608         (tst-dlsym-error): Link against libdl.
8610 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8613         (__ASSUME_FUTIMESAT): Remove macro.
8614         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8616 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8618         [BZ #19879]
8619         CVE-2016-3075
8620         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8621         copy name.
8623 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8625         [BZ #19837]
8626         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8627         error if parse_line fails.
8629 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8631         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8632         (index_cpu_ERMS): Likewise.
8633         (reg_ERMS): Likewise.
8635 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8637         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8638         PER_LINUX_FDPIC): Add.
8640 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8643         memcpy-avx512-no-vzeroupper.
8644         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8645         to ...
8646         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8647         (MEMCPY): Don't define.
8648         (MEMCPY_CHK): Likewise.
8649         (MEMPCPY): Likewise.
8650         (MEMPCPY_CHK): Likewise.
8651         (MEMPCPY_CHK): Renamed to ...
8652         (__mempcpy_chk_avx512_no_vzeroupper): This.
8653         (MEMPCPY_CHK): Renamed to ...
8654         (__mempcpy_chk_avx512_no_vzeroupper): This.
8655         (MEMCPY_CHK): Renamed to ...
8656         (__memmove_chk_avx512_no_vzeroupper): This.
8657         (MEMCPY): Renamed to ...
8658         (__memmove_avx512_no_vzeroupper): This.
8659         (__memcpy_avx512_no_vzeroupper): New alias.
8660         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8662 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8664         [BZ #18858]
8665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8666         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8667         and mempcpy-avx512-no-vzeroupper.
8668         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8669         New.
8670         (MEMPCPY): Likewise.
8671         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8672         (MEMPCPY_CHK): New.
8673         (MEMPCPY): Likewise.
8674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8675         (MEMPCPY): Likewise.
8676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8677         (MEMPCPY): Likewise.
8678         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8679         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8680         Likewise.
8681         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8682         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8684 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8685              Amit Pawar  <Amit.Pawar@amd.com>
8687         [BZ #19583]
8688         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8689         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8690         processors.  Set Fast_Copy_Backward for AMD Excavator
8691         processors.
8692         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8693         New.
8694         (index_arch_Fast_Unaligned_Copy): Likewise.
8695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8696         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8698 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8700         [BZ #19791]
8701         * resolv/res_send.c (close_and_return_error): New function.
8702         (send_dg): Initialize *resplen2 after reopen failure.  Call
8703         close_and_return_error for error returns.  On error paths without
8704         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8705         successful return.
8707 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8709         [BZ# 19860]
8710         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8711         zero if the compiler does not provide the AVX512F bit.
8713 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8715         [BZ #19848]
8716         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8717         from 8 to 4.
8718         (__ieee754_powl): Compare integer exponent against 4 not 8.
8719         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8720         from 8 to 4.
8721         (__ieee754_powl): Compare integer exponent against 4 not 8.
8722         * math/auto-libm-test-in: Add more tests of pow.
8723         * math/auto-libm-test-out: Regenerated.
8724         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8727 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8729         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8730         Make code unconditional.
8731         [!__NR_utimensat]: Remove conditional code.
8732         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8733         Make code unconditional.
8734         [!__NR_utimensat]: Remove conditional code.
8735         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8736         Make code unconditional.
8737         [!__NR_utimensat]: Remove conditional code.
8739 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8741         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8742         Make code unconditional.
8744 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8746         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8747         call-clobbered %eax on retry path.
8748         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8750 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8752         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8753         Don't set %rcx twice before "rep movsb".
8755 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8757         [BZ #19583]
8758         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8759         inline.  Check family before setting family, model and
8760         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8761         bits here.
8762         (init_cpu_features): Replace HAS_CPU_FEATURE and
8763         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8764         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8765         for Intel processors with usable AVX2.  Call get_common_indeces
8766         for other processors with family == NULL.
8767         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8768         (CPU_FEATURES_ARCH_P): Likewise.
8769         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8770         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8772 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8774         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8775         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8776         $(shared-thread-library) instead of hardcoding the path to libpthread.
8778 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8780         * sysdeps/unix/sysv/linux/kernel-features.h
8781         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8782         * sysdeps/unix/sysv/linux/getdents.c
8783         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8784         [!have_no_getdents64_defined]: Likewise.
8785         (__GETDENTS): Remove __have_no_getdents64 conditional.
8787 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8789         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8790         Remove macro.
8791         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8792         <kernel-features.h>.
8793         (signalfd) [__NR_signalfd4]: Make code unconditional.
8794         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8796 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8798         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8799         style.
8801 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8803         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8804         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8805         __pthread_unwind.
8806         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8807         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8809         (__condvar_cleanup1): Likewise.
8811 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8813         [BZ #19822]
8814         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8815         move it to the final $@ location.
8817 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8819         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8820         access where posix_spawn success and pid argument is null.
8821         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8822         success case.
8824 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8826         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8828         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8830         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8831         and __fcntl.
8832         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8833         __fcntl only.
8834         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8835         adding attribute_hidden to __open and __fcntl.
8837         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8838         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8839         depend on libc-modules.h,
8840         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8842 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8845         Remove macro.
8846         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8847         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8848         entry.
8850         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8851         Remove macro.
8852         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8853         include <kernel-features.h>.
8854         [!__ASSUME_FALLOCATE]: Remove conditional code.
8855         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8857 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8860         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8862         (_ZGVdN4v_cos_avx2): Likewise.
8863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8864         (_ZGVdN4v_cos): Likewise.
8865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8866         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8868         (_ZGVdN4v_exp_avx2): Likewise.
8869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8870         (_ZGVdN4v_exp): Likewise.
8871         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8872         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8873         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8874         (_ZGVdN4v_log_avx2): Likewise.
8875         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8876         (_ZGVdN4v_log): Likewise.
8877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8878         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8880         (_ZGVdN4vv_pow_avx2): Likewise.
8881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8882         (_ZGVdN4vv_pow): Likewise.
8883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8884         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8886         (_ZGVdN4v_sin_avx2): Likewise.
8887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8888         (_ZGVdN4v_sin): Likewise.
8889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8890         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8892         (_ZGVdN4vvv_sincos_avx2): Likewise.
8893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8894         (_ZGVdN4vvv_sincos): Likewise.
8895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8896         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8898         (_ZGVbN4v_cosf_sse4): Likewise.
8899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8900         (_ZGVdN8v_cosf_avx2): Likewise.
8901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8902         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8904         (_ZGVbN4v_expf_sse4): Likewise.
8905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8906         (_ZGVdN8v_expf_avx2): Likewise.
8907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8908         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8910         (_ZGVbN4v_logf_sse4): Likewise.
8911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8912         (_ZGVdN8v_logf_avx2): Likewise.
8913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8914         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8916         (_ZGVbN4vv_powf_sse4): Likewise.
8917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8918         (_ZGVdN8vv_powf_avx2): Likewise.
8919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8920         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8921         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8922         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8923         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8924         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8926         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8928         (_ZGVbN4v_sinf_sse4): Likewise.
8929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8930         (_ZGVdN8v_sinf_avx2): Likewise.
8931         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8932         Use JUMPTARGET to call callee.
8933         (WRAPPER_IMPL_SSE2_ff): Likewise.
8934         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8935         (WRAPPER_IMPL_AVX): Likewise.
8936         (WRAPPER_IMPL_AVX_ff): Likewise.
8937         (WRAPPER_IMPL_AVX_fFF): Likewise.
8938         (WRAPPER_IMPL_AVX512): Likewise.
8939         (WRAPPER_IMPL_AVX512_ff): Likewise.
8940         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8941         Likewise.
8942         (WRAPPER_IMPL_SSE2_ff): Likewise.
8943         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8944         (WRAPPER_IMPL_AVX): Likewise.
8945         (WRAPPER_IMPL_AVX_ff): Likewise.
8946         (WRAPPER_IMPL_AVX_fFF): Likewise.
8947         (WRAPPER_IMPL_AVX512): Likewise.
8948         (WRAPPER_IMPL_AVX512_ff): Likewise.
8949         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8951 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8953         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8954         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8955         qualifier.
8956         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8957         internal_function qualifiers.
8959 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8961         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8962         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8963         * math/atest-exp.c (exp_mpn): Mark chk unused.
8964         * math/atest-exp2.c (exp_mpn): Likwise.
8965         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8966         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8968 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8971         Remove macro.
8972         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8973         <kernel-features.h>.
8974         [__NR_ppoll]: Make code unconditional.
8975         [!__ASSUME_PPOLL]: Remove conditional code.
8977         * sysdeps/unix/sysv/linux/kernel-features.h
8978         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8979         (__ASSUME_ACCEPT4): Likewise.
8980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8981         Define.
8982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8983         Likewise.
8984         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8985         Likewise.
8986         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8987         Likewise.
8988         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8989         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8991         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8992         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8993         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8995         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8996         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8998         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8999         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9000         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9001         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9002         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9003         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9004         Likewise.
9005         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9006         Likewise.
9007         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9008         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9009         0x040300].
9010         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9011         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9013         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9014         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9015         0x030300].
9016         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9018         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9019         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9020         0x040300].
9021         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9024         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9025         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9026         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9027         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9028         0x030300].
9029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9030         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9031         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9034         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9035         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9037         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9038         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9039         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9040         0x040300].
9041         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9043         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9044         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9045         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9047         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9048         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9049         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9052         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9053         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9054         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9055         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9056         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9057         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9058         Likewise.
9059         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9060         Likewise.
9062 2016-03-15  Andreas Schwab  <schwab@suse.de>
9064         [BZ #19257]
9065         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9066         statp->_u._ext.nscount as loop count.
9068 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9070         * math/test-signgam-finite-c99.c: Also #undef
9071         __LIBC_INTERNAL_MATH_INLINES.
9072         * math/test-signgam-main.c: Likewise.
9074 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9076         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9077         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9078         (MADV_FREE): Likewise.
9079         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9080         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9081         EPOLLEXCLUSIVE.
9083 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9085         * timezone/README: Remove mention of checktab.awk. Mention wiki
9086         SharedSourceFiles.
9088 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9090         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9091         WUNTRACED.
9093 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9095         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9096         order to match the type of p when calling atomic_exchange_acq().
9098 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9100         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9101         cfi_offset calls.
9102         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9103         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9104         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9105         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9106         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9108 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9110         * timezone/checktab.awk: Removed.
9112 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9114         * manual/math.texi (Errors in Math Functions): Document relaxed
9115         accuracy goals for IBM long double.
9116         * math/libm-test.inc (test_exceptions): Always allow spurious
9117         "underflow" and "inexact" exceptions for IBM long double.
9119 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9121         [BZ #19762]
9122         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9123         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9124         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9125         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9126         (bit_arch_*): This for feature array.
9127         (bit_*): Renamed to ...
9128         (bit_cpu_*): This for cpu array.
9129         (index_*): Renamed to ...
9130         (index_arch_*): This for feature array.
9131         (index_*): Renamed to ...
9132         (index_cpu_*): This for cpu array.
9133         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9134         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9135         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9136         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9137         bit_##name with index_cpu_##name and bit_cpu_##name.
9138         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9139         bit_##name with index_arch_##name and bit_arch_##name.
9141 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9143         [BZ #19792]
9144         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9145         Terminate FDE before return label.
9147 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9149         [BZ #19790]
9150         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9151         (rintl): Define as macro.
9152         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9153         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9154         of fesetround.  Ensure results are evaluated before end of scope.
9155         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9156         USE_AS_NEARBYINTL and include s_rintl.c.
9157         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9158         Disable exception traps in new environment.
9159         (libc_feholdsetround_ppc_ctx): Likewise.
9161 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9163         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9164         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9165         (tst_audit10_aux) [__AVX512F__]: ... here.
9167 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9169         * include/sys/auxv.h: New file.
9171 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9173         [BZ #19759]
9174         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9176 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9178         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9179         operand modifier.
9180         (feclearexcept): Likewise.
9182 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9184         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9185         to reflect the entire 32-bit HWCAP.
9186         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9187         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9189 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9191         [BZ #19783]
9192         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9193         $(test-via-rtld-prefix).
9194         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9196 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9198         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9199         union wait.  Report any non-zero exit status as error.
9201 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9203         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9204         configured with --enable-hardcoded-path-in-tests.
9206 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9208         [BZ #19677]
9209         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9210         (__ieee754_remainderl): Put zero low parts in canonical form.
9211         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9212         file.  Based on
9213         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9214         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9215         with wrapper round test-fmodrem-ldbl-128ibm.c.
9216         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9217         file.
9218         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9219         Likewise.
9220         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9221         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9223 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9225         [BZ #19610]
9226         * elf/ldconfig.c (opt_link): Update comment.
9227         (options): Update help string for option -X.
9228         (search_dir): Unlink stale symbolic link only if updating symbolic
9229         links.
9230         * elf/tst-ldconfig-X.sh: New file.
9231         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9232         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9234 2016-03-07  Andreas Schwab  <schwab@suse.de>
9236         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9237         needed arguments.
9239 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9241         [BZ #15333]
9242         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9243         to lstat64.
9245 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9247         * libio/filedoalloc.c (isatty): Remove.
9248         (local_isatty): Add comment.  Call __isatty directly.
9249         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9250         * libio/wfiledoalloc.c (isatty): Remove.
9251         (_IO_wfile_doallocate): Update comment.
9253 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9255         [BZ #19269]
9256         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9257         tst-audit4-aux.o.
9258         (tst-audit10): Depend on tst-audit10-aux.o.
9259         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9260         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9261         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9262         instead of inline AVX code.
9263         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9264         instead of inline AVX512 code.
9265         * sysdeps/x86_64/tst-audit4-aux.c: New file
9266         * sysdeps/x86_64/tst-audit10-aux.c: New file
9268         [BZ #19648]
9269         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9271 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9273         [BZ #14750]
9274         [BZ #10354]
9275         [BZ #18433]
9276         * include/sched.h (__clone): Add hidden prototype.
9277         (__clone2): Likewise.
9278         * include/unistd.h (__dup): Likewise.
9279         * posix/Makefile (tests): Add tst-spawn2.
9280         * posix/tst-spawn2.c: New file.
9281         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9282         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9283         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9284         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9285         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9286         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9287         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9288         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9289         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9290         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9291         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9293         Likewise.
9294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9295         Likewise.
9296         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9297         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9298         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9299         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9300         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9301         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9302         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9303         * sysdeps/unix/sysv/linux/nptl-signals.h
9304         (____nptl_is_internal_signal): New function.
9305         * sysdeps/unix/sysv/linux/spawni.c: New file.
9307         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9308         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9309         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9310         * posix/tst-execvp2.c (do_test): Likewise.
9311         * posix/tst-execvp3.c (do_test): Likewise.
9312         * posix/tst-execvp4.c (do_test): Likewise.
9313         * posix/tst-execvpe1.c: New file.
9314         * posix/tst-execvpe2.c: Likewise.
9315         * posix/tst-execvpe3.c: Likewise.
9316         * posix/tst-execvpe4.c: Likewise.
9317         * posix/tst-execvpe5.c: Likewise.
9318         * posix/tst-execvpe6.c: Likewise.
9320         [BZ #19534]
9321         * posix/execl.c (execl): Remove dynamic memory allocation.
9322         * posix/execle.c (execle): Likewise.
9323         * posix/execlp.c (execlp): Likewise.
9325 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9327         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9328         Replace .text with .text.avx512.
9329         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9330         Likewise.
9332 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9334         * sysdeps/generic/libnsl.abilist: New file.
9335         * sysdeps/generic/libutil.abilist: New file.
9337 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9339         [BZ #19762]
9340         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9341         HAS_ARCH_FEATURE with Fast_Rep_String.
9342         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9343         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9344         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9345         Likewise.
9346         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9347         Likewise.
9348         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9350         Likewise.
9351         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9352         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9353         Likewise.
9355 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9357         [BZ #19745]
9358         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9359         with *%rax in call.
9361 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9363         [BZ #19745]
9364         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9365         with *__libc_start_main@GOTPCREL(%rip) in call.
9367 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9369         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9370         inside conditional for nonempty $(CXX).
9372         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9373         nonempty.
9375         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9376         to test for empty $(CXX) rather than $(CXX) of "no".
9378 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9380         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9382 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9383             H.J. Lu  <hongjiu.lu@intel.com>
9385         [BZ #18880]
9386         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9387         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9388         enable __memcpy_ssse3_back.
9390 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9392         [BZ #19758]
9393         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9394         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9396 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9398         [BZ #19490]
9399         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9400         (__fentry__): Likewise.
9402 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9404         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9405         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9407 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9409         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9410         __mcount_internal directly.
9411         (C_LABEL(__fentry__)): Likewise.
9412         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9413         directly.
9415 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9417         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9418         (__start_context): Call __setcontext directly.
9420 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9423         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9424         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9425         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9427         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9428         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9429         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9431         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9432         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9433         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9434         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9435         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9436         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9437         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9438         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9440         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9441         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9442         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9444         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9445         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9446         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9447         Remove conditional code.
9448         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9449         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9450         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9451         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9452         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9453         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9454         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9455         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9456         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9457         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9458         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9459         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9461 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9463         * NEWS (2.23): Fix typo in bug 19048 text.
9465 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9467         [BZ #14259]
9468         * Makeconfig: Rename msgcatdir to localedir.
9469         Rename inst_msgcatdir to inst_localedir.
9470         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9471         * config.make.in: Add localedir.
9472         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9473         (ldd-rewrite): Likewise.
9474         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9475         (install-others): Use inst_localedir.
9476         (CPPFLAGS): Use localedir.
9477         * locale/Makefile (locale-CPPFLAGS): Likewise.
9478         * po/Makefile (mo-installed): Use inst_localedir.
9480         [BZ #19575]
9481         * localedata/charmaps/GB18030: Update comments regarding PAU to
9482         non-PUA mappings.
9484 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9486         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9487         test for header.
9488         * sysdeps/unix/sysv/linux/configure: Regenerated.
9489         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9490         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9491         Remove conditional code.
9492         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9494         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9495         Define to 3.2.0.
9496         (arch_minimum_kernel): Likewise.
9497         * sysdeps/unix/sysv/linux/configure: Regenerated.
9498         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9499         Define to 2.6.32.
9500         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9501         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9502         (arch_minimum_kernel): Define to 2.6.32.
9503         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9504         * README: Document Linux 3.2 requirement.
9505         * manual/install.texi (Linux): Document Linux 3.2 headers
9506         requirement.
9507         * INSTALL: Regenerated.
9509 2016-02-24  Andreas Schwab  <schwab@suse.de>
9511         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9512         if !NO_LONG_DOUBLE.
9514 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9516         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9517         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9519 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9521         [BZ #19512]
9522         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9524 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9526         * posix/tst-dir.c: Include libc-internal.h.
9528 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9530         [BZ #19056]
9531         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9532         * manual/filesys.texi (Reading/Closing Directory): Mention
9533         deprecaion.
9534         * posix/tst-dir.c (main): Disable deprecation warning in test.
9536 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9538         [BZ #19679]
9539         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9540         Renamed to ...
9541         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9542         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9543         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9544         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9545         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9546         * sysdeps/x86_64/dl-trampoline.h
9547         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9548         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9550 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9552         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9554 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9556         * elf/elf.h (R_386_GOT32X): New.
9557         (R_386_NUM): Update.
9558         (R_X86_64_GOTPCRELX: New.
9559         (R_X86_64_REX_GOTPCRELX): New.
9560         (R_X86_64_NUM): Update.
9562 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9564         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9566 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9568         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9569         assign attr->stackaddr to it, and adjust it down when
9570         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9571         [_STACK_GROWS_UP]: Delete assert.
9572         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9573         Implement stack grows up logic.
9574         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9575         stack grows up logic.
9577 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9579         * NEWS: Update with 2.24 template.
9581 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9583         [BZ #19678]
9584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9585         Ensure +0.0 is returned when taking the next value below the least
9586         positive value.
9588 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9590         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9591         available.  Do not define NO_THREADS.
9592         * malloc/malloc.c: Do not check NO_THREADS.
9593         * malloc/arena.c: Likewise.
9595 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9597         * malloc/malloc.c (__libc_mallinfo): Update comment.
9598         (struct malloc_par): Remove max_total_mem member, it was always 0.
9599         (int_mallinfo): Store 0 into usmblks (no functional change).
9600         * malloc/hooks.c (struct malloc_state): Document that
9601         max_total_mem is always 0.
9602         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9603         always 0.
9604         * manual/memory.texi (Statistics of Malloc): Likewise.
9606 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9608         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9609         * malloc/arena.c (arena_max): Remove.
9610         (heap_trim, _int_new_arena): Do not update arena_max.
9612 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9614         * resolv/res_init.c (res_ninit): Update comment.
9616 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9618         [BZ #19505]
9619         * posix/spawn_int.h: Add headers and include guard.
9620         (__spawn_valid_fd): New function.
9621         * posix/spawn_faction_addopen.c
9622         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9623         * posix/spawn_faction_addclose.c
9624         (posix_spawn_file_actions_addclose): Likewise.
9625         * posix/spawn_faction_adddup2.c
9626         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9627         second file descriptor.
9628         * posix/spawn_valid_fd.c: New file.
9629         * posix/tst-posix_spawn-fd.c: New file.
9630         * posix/Makefile (routines): Add spawn_valid_fd.
9631         (tests): Add tst-posix_spawn-fd.
9633 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9635         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9636         (do_test): Limit the number of arenas, so that we can use fewer
9637         outer threads.  Limit timeout to 3 seconds, in preparation for a
9638         larger TIMEOUT value.
9640 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9642         [BZ #19674]
9643         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9644         sign in overflowing and underflowing results when overflow or
9645         underflow is detected early.  Include sign in result before rather
9646         than after scaling.
9648         [BZ #19603]
9649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9650         (__ieee754_remainderl): Adjust sign of integer version of low part
9651         when taking absolute value of high part.
9652         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9653         * math/libm-test.inc (remainder_test_data): Add another test.
9654         (remquo_test_data): Likewise.
9656 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9658         [BZ #19602]
9659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9660         equal high parts and both low parts zero specially.
9661         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9662         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9663         Add test-fmodl-ldbl-128ibm.
9665         [BZ #19595]
9666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9667         common logic for all cases of shifting subnormal results.  Do not
9668         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9669         exponent to ldbl_insert_mantissa in subnormal case.
9671         [BZ #19594]
9672         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9673         on high and low parts then adjust result and use
9674         ldbl_canonicalize_int if needed.
9676         [BZ #19593]
9677         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9678         on high part and __floor or __ceil on low part then use
9679         ldbl_canonicalize_int if needed.
9681         [BZ #19592]
9682         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9683         high and low parts then use ldbl_canonicalize_int if needed.
9685         [BZ #17899]
9686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9687         New function.
9688         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9689         on high and low parts then use ldbl_canonicalize_int if needed.
9691 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9693         * configure: Regenerated.
9695         * po/libc.pot: Regenerated.
9697         * po/be.po: Updated translation.
9698         * po/bg.po: Likewise.
9699         * po/ca.po: Likewise.
9700         * po/cs.po: Likewise.
9701         * po/da.po: Likewise.
9702         * po/el.po: Likewise.
9703         * po/eo.po: Likewise.
9704         * po/es.po: Likewise.
9705         * po/fi.po: Likewise.
9706         * po/fr.po: Likewise.
9707         * po/gl.po: Likewise.
9708         * po/hr.po: Likewise.
9709         * po/hu.po: Likewise.
9710         * po/ia.po: Likewise.
9711         * po/id.po: Likewise.
9712         * po/it.po: Likewise.
9713         * po/ja.po: Likewise.
9714         * po/lt.po: Likewise.
9715         * po/nb.po: Likewise.
9716         * po/nl.po: Likewise.
9717         * po/pt_BR.po: Likewise.
9718         * po/rw.po: Likewise.
9719         * po/sk.po: Likewise.
9720         * po/sl.po: Likewise.
9721         * po/sv.po: Likewise.
9722         * po/tr.po: Likewise.
9723         * po/zh_CN.po: Likewise.
9724         * po/zh_TW.po: Likewise.
9726         * version.h (RELEAES): Set to "development".
9727         (VERSION): Set to 2.23.90.
9729         * version.h (RELEASE): Set to "stable".
9730         (VERSION): Set to 2.23.
9731         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9733         * NEWS: Updated fixed bugs.
9735 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9736             Wilco Dijkstra  <wdijkstr@arm.com>
9738         [BZ #19462]
9739         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9740         (_STRING_INLINE_unaligned): This.
9741         * include/string.h: Include <string_private.h>.
9742         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9743         _STRING_INLINE_unaligned.
9744         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9745         (_STRING_INLINE_unaligned): New.
9746         * sysdeps/aarch64/string_private.h: New file.
9747         * sysdeps/generic/string_private.h: Likewise.
9748         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9749         * sysdeps/s390/string_private.h: Likewise.
9750         * sysdeps/x86/string_private.h: Likewise.
9751         * sysdeps/m68k/m680x0/m68020/bits/string.h
9752         (_STRING_ARCH_unaligned): Renamed to ...
9753         (_STRING_INLINE_unaligned): This.
9754         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9755         to ...
9756         (_STRING_INLINE_unaligned): This.
9757         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9758         to ...
9759         (_STRING_INLINE_unaligned): This.
9760         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9761         to ...
9762         (_STRING_INLINE_unaligned): This.
9764 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9765             H.J. Lu  <hongjiu.lu@intel.com>
9767         [BZ #19590]
9768         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9769         relocation.
9771 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9773         [BZ #18665]
9774         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9775         *herrno_p.
9776         (gaih_getanswer): Document functional behviour. Return tryagain
9777         if any result is tryagain.
9778         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9779         when freed.
9780         * resolv/res_send.c: Add copyright text.
9781         (__libc_res_nsend): Document that MAXPACKET is expected.
9782         (send_vc): Document. Remove buffer reuse.
9783         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9784         size of the buffer. Add Dprint for truncated UDP buffer.
9786 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9788         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9789         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9790         * INSTALL: Regenerate.
9792 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9793             Jonathan Wakely  <jwakely@redhat.com>
9794             Carlos O'Donell  <carlos@redhat.com>
9796         [BZ 19439]
9797         * math/Makefile (tests): Add test-math-isinff.
9798         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9799         * math/bits/mathcalls.h [__USE_MISC]: Use
9800         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9801         functions not in C++11 and which don't conflict e.g. isinff,
9802         isinfl etc.
9803         * math/test-math-isinff.cc: New file.
9805 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9807         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9809 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9811         [BZ #19529]
9812         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9814 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9816         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9818 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9820         [BZ #19550]
9821         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9822         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9823         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9824         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9825         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9826         New syscall entry.
9827         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9828         New syscall entry.
9829         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9830         syscall entry.
9832 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9834         [BZ #18240]
9835         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9836         unsigned int wraparound.
9838 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9840         [BZ #18240]
9841         * misc/bug18240.c: New test.
9842         * misc/Makefile (tests): Add it.
9844 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9845             Joseph Myers  <joseph@codesourcery.com>
9847         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9848         load in branch delay slot when less than a word of input left.
9850 2016-01-27  Andreas Schwab  <schwab@suse.de>
9852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9853         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9854         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9855         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9857 2016-01-26  David S. Miller  <davem@davemloft.net>
9859         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9861 2016-01-25  David S. Miller  <davem@davemloft.net>
9863         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9864         __sqrtl_finite.
9865         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9866         instead using versioned_symbol.
9867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9868         of entries.
9870         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9871         __sqrtl_finite to GLIBC_2.23
9873 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9875         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9877 2016-01-25  Andreas Schwab  <schwab@suse.de>
9879         [BZ #17514]
9880         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9881         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9882         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9883         * nptl/tst-mutex-errorcheck.c: New file.
9885 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9887         [BZ #18560]
9888         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9889         (IPCOP_semop): Likewise.
9890         (IPCOP_semget): Likewise.
9891         (IPCOP_semctl): Likewise.
9892         (IPCOP_msgsnd): Likewise.
9893         (IPCOP_msgrcv): Likewise.
9894         (IPCOP_msgget): Likewise.
9895         (IPCOP_msgctl): Likewise.
9896         (IPCOP_shmat): Likewise.
9897         (IPCOP_shmdt): Likewise.
9898         (IPCOP_shmget): Likewise.
9899         (IPCOP_shmctl): Likewise.
9901 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9903         * string/tst-endian.c: Include <libc-internal.h>.
9904         (do_test): Ignore tautological-compare warnings around
9905         "htobeXX (beXXtoh (i)) != i" and
9906         "htoleXX (leXXtoh (i)) != i" if-statements.
9908 2016-01-24  David S. Miller  <davem@davemloft.net>
9910         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9911         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9912         alias.
9913         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9914         __sqrtl_finite.
9916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9918 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9920         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9921         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9922         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9924 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9926         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9927         (thread_func): Use new function to simplify barrier check.
9928         (do_test): Use new function to simplify checking barrier exit
9929         code, and actually join the child thread.
9931 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9933         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9934         semicolon.
9935         (__libc_tend): Likewise.
9936         (__libc_tabort): Likewise.
9938 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9940         * sysdeps/nios2/libm-test-ulps: Update.
9941         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9942         (__gtsf2): Likewise.
9943         (__unorddf2): Likewise.
9944         (__unordsf2): Likewise.
9945         (__ledf2): Likewise.
9947 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9949         * nis/nis_table.c (__follow_path): Disable diagnostic for
9950         uninitialized variable that is a false positive for gcc 4.7.
9951         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9953 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9955         * sysdeps/nacl/lowlevellock-futex.h
9956         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9957         Always evaluate PRIVATE argument.
9959 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9961         [BZ #19490]
9962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9963         (pthread_cond_broadcast): Use ENTRY/END
9964         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9965         (pthread_cond_signal): Likewise.
9966         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9967         Likewise.
9968         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9969         Likewise.
9970         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9971         Likewise.
9973 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9975         * sysdeps/ieee754/dbl-64/s_finite.c
9976         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9977         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9978         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9980         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9983         (__gtsf2): Add as optional for libc.so.
9984         (__unordsf2): Likewise.
9985         (__signbit): Remove for libc.so.
9986         (__signbitl): Likewise.
9988 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9990         * iconvdata/bug-iconv11.c (test_ibm93x):
9991         Use %zu printf format specifier for size_t argument.
9993 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9995         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9996         already-recorded ulps.
9997         * sysdeps/arm/libm-test-ulps: Regenerated.
9998         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9999         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10000         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10002 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10003             Paul Pluzhnikov  <ppluzhnikov@google.com>
10005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10006         assembler not supporting AVX-512.
10008 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10010         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10012 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10014         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10015         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10017         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10019         * sysdeps/arm/libm-test-ulps: Regenerated.
10021 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10023         [BZ #19451]
10024         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10026 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10028         [BZ #19486]
10029         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10030         * sysdeps/generic/fix-fp-int-convert-overflow.h
10031         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10032         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10033         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10034         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10035         Likewise.
10036         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10037         Avoid conversions to long int where inexact exceptions
10038         could be raised.
10039         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10040         Likewise.
10041         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10042         Avoid conversions to long long int where inexact exceptions
10043         could be raised.
10044         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10045         Likewise.
10047 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10049         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10050         * configure: Regenerated.
10052 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10054         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10056 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10058         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10059         outside of comment.
10061 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10063         * nptl/tst-barrier1.c: Add description on first line.
10064         * nptl/tst-barrier2.c: Likewise.
10065         * nptl/tst-barrier3.c: Likewise.
10066         * nptl/tst-barrier4.c: Likewise.
10067         * nptl/tst-barrier5.c: Likewise.
10069 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10071         [BZ #18868]
10072         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10074 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10078         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10079         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10080         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10081         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10082         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10083         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10084         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10085         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10086         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10088 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10090         [BZ #13065]
10091         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10092         new implementation.
10093         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10094         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10095         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10096         (BARRIER_IN_THRESHOLD): New macro.
10097         * nptl/pthread_barrierattr_setpshared.c
10098         (pthread_barrierattr_setpshared): Clean up.
10099         * nptl/tst-barrier4.c: Correct comment.
10100         * nptl/tst-barrier5.c: New file.
10101         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10102         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10103         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10104         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10105         * nptl/lowlevelbarrier.sym: Remove.
10106         * nptl/DESIGN-barrier.txt: Remove.
10107         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10108         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10109         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10110         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10111         error.
10112         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10113         implementation.
10115 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10117         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10118         (do_child): Mask SIGRTMIN while thr is running.
10120 2016-01-15  Martin Sebor  <msebor@redhat.com>
10122         [BZ #19432]
10123         * iconvdata/Makefile: Add bug-iconv11.
10124         * iconvdata/bug-iconv11.c: New test.
10125         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10126         * iconvdata/ibm933.c: Same.
10127         * iconvdata/ibm935.c: Same.
10128         * iconvdata/ibm937.c: Same.
10129         * iconvdata/ibm939.c: Same.
10131 2016-01-15  Martin Sebor  <msebor@redhat.com>
10133         [BZ #19443]
10134         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10135         [DEBUG] (_ufc_set_bits): Declare used.
10136         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10137         [DEBUG] (print_all): Declare used.
10138         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10139         operands of the ternary ?: expression to target type.
10140         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10141         calling the undeclared abort.
10142         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10144 2016-01-15  Martin Sebor  <msebor@redhat.com>
10146         [BZ #18755]
10147         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10148         warnings.
10149         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10150         (__gai_create_helper_thread): Same.
10151         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10152         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10153         to suppress -Wmaybe-uninitialized warnings.
10155 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10157         [BZ #19465]
10158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10159         inside if.
10160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10161         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10164 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10166         [BZ #19466]
10167         * time/tst-mktime2.c (time_t_max): Removed.
10168         (time_t_min): Likewise.
10169         (TYPE_SIGNED): New.
10170         (TYPE_MINIMUM): Likewise.
10171         (TYPE_MAXIMUM): Likewise.
10172         (TIME_T_MIN): Likewise.
10173         (TIME_T_MAX): Likewise.
10174         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10175         and TIME_T_MIN.
10176         (do_test): Likewise.
10178 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10180         [BZ #19467]
10181         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10182         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10184 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10186         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10188 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10190         * benchtests/Makefile (PYTHON): Define.
10191         (bench-func): Use $(PYTHON) to run python scripts.
10192         ($(objpfx)bench-%.c): Likewise.
10194 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10196         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10197         leading slash when `file_name' is "/".
10199 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10201         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10202         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10203         Likewise.
10204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10205         Likewise.
10206         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10207         Likewise.
10208         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10209         enum constant and macro.
10210         (PTRACE_SETSIGMASK): Likewise.
10211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10212         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10213         (PTRACE_GETSIGMASK): Likewise.
10214         (PTRACE_SETSIGMASK): Likewise.
10215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10216         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10217         Likewise.
10218         (PTRACE_SETSIGMASK): Likewise.
10219         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10220         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10221         (PTRACE_GETSIGMASK): Likewise.
10222         (PTRACE_SETSIGMASK): Likewise.
10223         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10225         Likewise.
10226         (PTRACE_SETSIGMASK): Likewise.
10227         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10229         Likewise.
10230         (PTRACE_SETSIGMASK): Likewise.
10231         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10232         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10233         Likewise.
10234         (PTRACE_SETSIGMASK): Likewise.
10235         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10237 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10238             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10240         [BZ #19439]
10241         * math/bits/mathcalls.h
10242         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10243         prototype.
10244         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10246 2016-01-11  Andreas Schwab  <schwab@suse.de>
10248         [BZ #19253]
10249         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10250         cache when TZDEFRULES was used.
10251         * time/tst-tzname.c: New file.
10252         * time/Makefile (test): Add tst-tzname.
10253         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10254         * timezone/Makefile (test-zones): Add $(posixrules-file).
10255         ($(testdata)/$(posixrules-file)): New rule.
10257 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10259         Fix doc quoting problems with Texinfo 5
10260         Without this change, in the info file output, Texinfo 5 quotes code
10261         in text with undirected single quotes 'like this' and generates
10262         code examples that with many PDF readers cannot be cut out of PDFs
10263         and pasted into code.
10264         * manual/libc.texinfo: Configure the libc manual like the GNU
10265         Emacs manual, by using @documentencoding and setting
10266         txicodequoteundirected and txicodequotebacktick.  This way,
10267         Texinfo 5 quotes code in text with directed single quotes ‘like
10268         this’ and produces examples that can be cut out of PDFs.  This
10269         change causes Texinfo 5 to generate info files that contain UTF-8
10270         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10271         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10273 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10275         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10276         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10277         barriers to their respective compiler built-ins.
10278         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10279         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10280         * sysdeps/powerpc/sysdep.h: Likewise.
10281         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10282         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10283         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10285 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10287         * scripts/config.guess: Revert previous shebang change.
10288         * scripts/config.sub: Likewise.
10289         * scripts/mkinstalldirs: Likewise.
10291 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10293         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10294         PPC_FEATURE2_HAS_IEEE128.
10295         * sysdeps/powerpc/dl-procinfo.c:
10296         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10298 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10300         [BZ #19415]
10301         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10302         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10303         (_dl_lookup_address): Rewrite using function resolver trampoline.
10304         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10305         two bits in address.
10307 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10309         * longlong.h: Change !__SHMEDIA__ to
10310         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10311         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10313 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10314             Joseph Myers  <joseph@codesourcery.com>
10315             Mark Shinwell  <shinwell@codesourcery.com>
10316             Andrew Stubbs  <ams@codesourcery.com>
10317             Rich Felker <dalias@libc.org>
10319         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10321 2016-01-07  Richard Henderson  <rth@redhat.com>
10323         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10325 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10327         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10328         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10329         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10330         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10331         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10333 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10334             Joseph Myers  <joseph@codesourcery.com>
10336         * timezone/private.h: Update from tzcode 2015g.
10337         * timezone/tzfile.h: Likewise.
10338         * timezone/tzselect.ksh: Likewise.
10339         * timezone/zdump.c: Likewise.
10340         * timezone/zic.c: Likewise.
10341         * timezone/ialloc.c: Remove file.
10342         * timezone/scheck.c: Likewise.
10343         * timezone/Makefile (extra-objs): Remove variable.
10344         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10345         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10346         -Wno-maybe-uninitialized.
10347         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10348         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10349         (CFLAGS-ialloc.c): Remove variable.
10350         (CFLAGS-scheck.c): Likewise.
10351         * timezone/README: Update list of files from tzcode.
10353 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10355         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10356         instead of __fxprintf when _LIBC is undefined.
10358 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10360         * catgets/test-gencat.sh: Remove space after shebang.
10361         * conform/GlibcConform.pm: Likewise.
10362         * conform/check-header-lists.sh: Likewise.
10363         * conform/conformtest.pl: Likewise.
10364         * conform/linknamespace.pl: Likewise.
10365         * conform/list-header-symbols.pl: Likewise.
10366         * debug/catchsegv.sh: Likewise.
10367         * elf/genrtldtbl.awk: Likewise.
10368         * elf/tst-pathopt.sh: Likewise.
10369         * elf/tst-rtld-load-self.sh: Likewise.
10370         * grp/tst_fgetgrent.sh: Likewise.
10371         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10372         * iconvdata/gen-8bit-gap.sh: Likewise.
10373         * iconvdata/gen-8bit.sh: Likewise.
10374         * iconvdata/run-iconv-test.sh: Likewise.
10375         * intl/tst-gettext.sh: Likewise.
10376         * intl/tst-gettext2.sh: Likewise.
10377         * intl/tst-gettext4.sh: Likewise.
10378         * intl/tst-gettext6.sh: Likewise.
10379         * intl/tst-translit.sh: Likewise.
10380         * io/ftwtest-sh: Likewise.
10381         * libio/test-freopen.sh: Likewise.
10382         * locale/gen-translit.pl: Likewise.
10383         * malloc/tst-mtrace.sh: Likewise.
10384         * manual/check-safety.sh: Likewise.
10385         * manual/libc-texinfo.sh: Likewise.
10386         * manual/tsort.awk: Likewise.
10387         * manual/xtract-typefun.awk: Likewise.
10388         * nptl/tst-cancel-wrappers.sh: Likewise.
10389         * nptl/tst-tls6.sh: Likewise.
10390         * posix/globtest.sh: Likewise.
10391         * posix/tst-getconf.sh: Likewise.
10392         * posix/wordexp-tst.sh: Likewise.
10393         * scripts/check-c++-types.sh: Likewise.
10394         * scripts/check-local-headers.sh: Likewise.
10395         * scripts/config.guess: Likewise.
10396         * scripts/config.sub: Likewise.
10397         * scripts/cpp: Likewise.
10398         * scripts/cross-test-ssh.sh: Likewise.
10399         * scripts/documented.sh: Likewise.
10400         * scripts/evaluate-test.sh: Likewise.
10401         * scripts/gen-libc-abis: Likewise.
10402         * scripts/gen-sorted.awk: Likewise.
10403         * scripts/list-fixed-bugs.py: Likewise.
10404         * scripts/merge-test-results.sh: Likewise.
10405         * scripts/mkinstalldirs: Likewise.
10406         * scripts/rellns-sh: Likewise.
10407         * scripts/test-installation.pl: Likewise.
10408         * scripts/update-copyrights: Likewise.
10409         * stdio-common/tst-printf.sh: Likewise.
10410         * stdio-common/tst-unbputc.sh: Likewise.
10411         * stdlib/tst-fmtmsg.sh: Likewise.
10412         * stdlib/tst-setcontext3.sh: Likewise.
10413         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10414         * sysdeps/unix/make-syscalls.sh: Likewise.
10416 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10418         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10419         asm stw with atomic_exchange_rel.  Add explanatory comment.
10420         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10421         Likewise.
10423 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10425         [BZ #19122]
10426         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10427         * sysdeps/generic/dl-unistd.h: New file.
10428         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10430 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10432          [BZ #19122]
10433          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10434          * sysdeps/generic/dl-mman.h: New file.
10435          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10437 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10439         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10440         trailing whitespace removed.
10441         * scripts/config.guess: Update to version 2016-01-01.
10442         * scripts/config.sub: Update to version 2016-01-01.
10443         * scripts/move-if-change: Update from gnulib.
10445 2016-01-04  Anton Blanchard  <anton@samba.org>
10447         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10448         for array indices.
10449         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10451 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10453         * NEWS: Update copyright dates.
10454         * catgets/gencat.c (print_version): Likewise.
10455         * csu/version.c (banner): Likewise.
10456         * debug/catchsegv.sh: Likewise.
10457         * debug/pcprofiledump.c (print_version): Likewise.
10458         * debug/xtrace.sh (do_version): Likewise.
10459         * elf/ldconfig.c (print_version): Likewise.
10460         * elf/ldd.bash.in: Likewise.
10461         * elf/pldd.c (print_version): Likewise.
10462         * elf/sotruss.sh: Likewise.
10463         * elf/sprof.c (print_version): Likewise.
10464         * iconv/iconv_prog.c (print_version): Likewise.
10465         * iconv/iconvconfig.c (print_version): Likewise.
10466         * locale/programs/locale.c (print_version): Likewise.
10467         * locale/programs/localedef.c (print_version): Likewise.
10468         * login/programs/pt_chown.c (print_version): Likewise.
10469         * malloc/memusage.sh (do_version): Likewise.
10470         * malloc/memusagestat.c (print_version): Likewise.
10471         * malloc/mtrace.pl: Likewise.
10472         * manual/libc.texinfo: Likewise.
10473         * nptl/version.c (banner): Likewise.
10474         * nscd/nscd.c (print_version): Likewise.
10475         * nss/getent.c (print_version): Likewise.
10476         * nss/makedb.c (print_version): Likewise.
10477         * posix/getconf.c (main): Likewise.
10478         * scripts/test-installation.pl: Likewise.
10479         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10481         * All files with FSF copyright notices: Update copyright dates
10482         using scripts/update-copyrights.
10483         * intl/plural.c: Regenerated.
10484         * locale/programs/charmap-kw.h: Likewise.
10485         * locale/programs/locfile-kw.h: Likewise.
10487 2016-01-02  Helge Deller  <deller@gmx.de>
10489         [BZ #19285]
10490         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10491         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10492         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10493         (MADV_xxK_PAGES): Remove.
10495 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10497         [BZ #15421]
10498         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10499         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10500         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10501         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10503 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10505         [BZ #19408]
10506         * sysdeps/unix/sysv/linux/personality.c: New file.
10507         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10508         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10510         (sysdep_routines): Add personality.
10511         (tests): Add tst-personality.
10512         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10514         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10516         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10517         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10518         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10519         Likewise.
10520         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10521         Likewise.
10522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10523         Likewise.
10524         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10525         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10526         Likewise.
10528 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10530         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10531         (PATH_ARM_SYSTYPE): Remove.
10532         (PATH_CPUINFO): Likewise.
10533         (IO_BASE_FOOTBRIDGE): Likewise.
10534         (IO_SHIFT_FOOTBRIDGE): Likewise.
10535         (struct platform): Likewise.
10536         (init_iosys): Remove compatibility code for 2.4 kernels.
10537         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10539 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10541         * malloc/tst-malloc-thread-fail.c: New file.
10542         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10543         (tst-malloc-thread-fail): Link against libpthread.
10545 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10547         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10548         (get_parser): New function.
10549         (main): New function.
10551 2015-12-29  Rob Wu  <rob@robwu.nl>
10553         [BZ #19369]
10554         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10556 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10558         [BZ #19270]
10559         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10561 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10563         [BZ #15421]
10564         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10566 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10568         [BZ #13690]
10569         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10570         after releasing it.
10571         (__lll_robust_unlock): Likewise.
10572         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10574         (lll_robust_unlock): Likewise.
10575         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10576         Prevent warnings in callers.
10578 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10580         * malloc/arena.c (list_lock): Update comment.
10582 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10584         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10585         __parse_hwcap_and_convert_at_platform to libc.a.
10587 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10590         platform and feature support for POWER9.
10591         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10592         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10593         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10594         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10595         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10596         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10597         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10598         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10600 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10602         Harmonize generic stdio-lock support with nptl
10604         This fixes build when _IO_funlockfile is a macro, fixes build where
10605         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10606         stack unwind.
10608         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10609         _IO_release_lock ): Use cleanup attribute on new
10610         _IO_acquire_lock_file variable instead of assuming that
10611         _IO_release_lock will be called.
10612         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10613         _IO_acquire_lock_needs_exceptions_enabled.
10614         (_IO_acquire_lock_clear_flags2): New macro.
10616 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10618         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10620 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10622         [BZ #19182]
10623         * malloc/arena.c (list_lock): Document lock ordering requirements.
10624         (free_list_lock): New lock.
10625         (ptmalloc_lock_all): Comment on free_list_lock.
10626         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10627         (detach_arena): Update comment.  free_list_lock is now needed.
10628         (_int_new_arena): Use free_list_lock around detach_arena call.
10629         Acquire arena lock after list_lock.  Add comment, including FIXME
10630         about incorrect synchronization.
10631         (get_free_list): Switch to free_list_lock.
10632         (reused_arena): Acquire free_list_lock around detach_arena call
10633         and attached threads counter update.  Add two FIXMEs about
10634         incorrect synchronization.
10635         (arena_thread_freeres): Switch to free_list_lock.
10636         * malloc/malloc.c (struct malloc_state): Update comments to
10637         mention free_list_lock.
10639 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10641         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10642         Remove functions.
10643         (sloww, sloww1): Accept argument to offset quadrant.
10644         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10645         quadrant.
10646         (__sin, __cos): Consolidate common code into new functions.
10647         (reduce_sincos_1, do_sincos_1): New functions.
10648         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10651         code to new functions.
10652         (reduce_sincos_2, do_sincos_2): New functions.
10653         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10656         common code for sincos.
10657         (__cos) [!IN_SINCOS]: Likewise.
10658         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10659         New function.
10660         (__sincos): Use it.
10662 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10664         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10665         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10666         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10668 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10670         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10673         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10675         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10676         index_Prefer_No_VZEROUPPER): New feature.
10677         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10678         Prefer_No_VZEROUPPER for Knights Landing.
10680 015-12-18  Torvald Riegel  <triegel@redhat.com>
10682         * math/atest-exp2.c (mp_exp_m1): Remove.
10684 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10686         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10687         syscalls.
10688         (__SYSCALL0): New macro.
10689         (__SYSCALL1): Likewise.
10690         (__SYSCALL2): Likewise.
10691         (__SYSCALL3): Likewise.
10692         (__SYSCALL4): Likewise.
10693         (__SYSCALL5): Likewise.
10694         (__SYSCALL6): Likewise.
10695         (__SYSCALL_CONCAT_X): Likewise.
10696         (__SYSCALL_CONCAT): Likewise.
10697         (__SYSCALL_DIST): Likewise.
10698         (__SYSCALL_CALL): Likewise.
10700 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10702         [BZ #19363]
10703         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10705 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10707         [BZ #19375]
10708         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10709         negative subnormals.
10711 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10714         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10715         (INTERNAL_SYSCALL_NCS): Use it.
10716         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10718 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10720         [BZ #19243]
10721         * malloc/arena.c (get_free_list): Remove assert and adjust
10722         reference count handling.  Add comment about reused_arena
10723         interaction.
10724         (reused_arena): Add comments abount get_free_list interaction.
10725         * malloc/tst-malloc-thread-exit.c: New file.
10726         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10727         (tst-malloc-thread-exit): Link against libpthread.
10729 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10731         [BZ #19367]
10732         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10733         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10734         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10735         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10736         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10738 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10740         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10741         Silvermont optimizations for Knights Landing.
10743 2015-12-15  Andreas Schwab  <schwab@suse.de>
10745         [BZ #17197]
10746         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10747         immediately after emitting SI.
10748         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10749         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10750         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10751         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10752         * iconvdata/bug-iconv10.c: New file.
10753         * iconvdata/Makefile (tests): Add bug-iconv10.
10754         ($(objpfx)bug-iconv10.out): New rule.
10756 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10758         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10759         aliasing violation.
10761 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10763         [BZ #18472]
10764         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10765         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10766         conditionals for them.
10767         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10768         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10770         sys/kdaemon.h.
10771         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10772         compat-only syscall, obsoleted in glibc 2.23.
10773         (create_module): Likewise.
10774         (get_kernel_syms): Likewise.
10775         (query_module): Likewise.
10776         (uselib): Likewise.
10777         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10779 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10781         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10782         <linux/version.h>.
10783         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10784         conditional code.
10785         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10786         and ioshift_name initialization.
10788 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10791         Fix indentation.
10793 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10795         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10797 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10799         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10801 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10802             Jakub Wilk  <jwilk@debian.org>
10804         [BZ #19347]
10805         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10806         to change the group of the device to the tty group.
10808 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10810         Split large string section; add truncation advice
10811         * manual/examples/strncat.c: Remove.
10812         This example was misleading, as the code would have undefined
10813         behavior if "hello" was longer than SIZE.  Anyway, the manual
10814         shouldn't encourage strncpy+strncat for this sort of thing.
10815         * manual/string.texi (Copying Strings and Arrays): Split into
10816         three sections Copying Strings and Arrays, Concatenating Strings,
10817         and Truncating Strings, as this section was way too long.  All
10818         cross-referenced changed.  Add advice about string-truncation
10819         functions.  Remove misleading strncat example.
10821 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10823         * manual/nss.texi (NSS Modules Interface): Document
10824         NSS_STATUS_NOTFOUND and SUCCESS.
10826 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10828         [BZ 18568]
10829         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10830         201505L, for Unicode 8.
10832 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10834         * locale/C-translit.h: Regenerate.
10836 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10838         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10839         and U+0153.
10841 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10843         [BZ #19351]
10844         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10845         expanding log(1+z), compare z rather than its square with epsilon
10846         to determine when to avoid evaluating the expansion.
10848         [BZ #19350]
10849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10850         Increase overflow threshold.
10852         [BZ #19349]
10853         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10854         when small.
10856         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10858         New macro.
10859         [__LINUX_KERNEL_VERSION >= 0x040300]
10860         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10862         Likewise.
10863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10864         Likewise.
10865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10866         Likewise.
10867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10868         Likewise.
10869         [__LINUX_KERNEL_VERSION >= 0x040300]
10870         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10871         [__LINUX_KERNEL_VERSION >= 0x040300]
10872         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10873         [__LINUX_KERNEL_VERSION >= 0x040300]
10874         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10875         [__LINUX_KERNEL_VERSION >= 0x040300]
10876         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10877         [__LINUX_KERNEL_VERSION >= 0x040300]
10878         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10879         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10880         Likewise.
10881         [__LINUX_KERNEL_VERSION >= 0x040300]
10882         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10884         Likewise.
10885         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10886         Likewise.
10887         [__LINUX_KERNEL_VERSION >= 0x040300]
10888         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10890         Likewise.
10891         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10892         Likewise.
10893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10895         Likewise.
10896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10897         Likewise.
10898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10899         Likewise.
10900         [__LINUX_KERNEL_VERSION >= 0x040300]
10901         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10903         Likewise.
10904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10905         Likewise.
10906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10907         Likewise.
10908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10909         Likewise.
10910         [__LINUX_KERNEL_VERSION >= 0x040300]
10911         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10912         [__LINUX_KERNEL_VERSION >= 0x040300]
10913         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10914         [__LINUX_KERNEL_VERSION >= 0x040300]
10915         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10916         [__LINUX_KERNEL_VERSION >= 0x040300]
10917         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10918         [__LINUX_KERNEL_VERSION >= 0x040300]
10919         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10921         Likewise.
10922         [__LINUX_KERNEL_VERSION >= 0x040300]
10923         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10925         Likewise.
10926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10927         Likewise.
10928         [__LINUX_KERNEL_VERSION >= 0x040300]
10929         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10931         Likewise.
10932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10933         Likewise.
10934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10935         (__ASSUME_SOCKET_SYSCALL): Likewise.
10936         (__ASSUME_BIND_SYSCALL): Likewise.
10937         (__ASSUME_CONNECT_SYSCALL): Likewise.
10938         (__ASSUME_LISTEN_SYSCALL): Likewise.
10939         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10940         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10941         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10942         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10943         (__ASSUME_SEND_SYSCALL): Likewise.
10944         (__ASSUME_SENDTO_SYSCALL): Likewise.
10945         (__ASSUME_RECV_SYSCALL): Likewise.
10946         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10947         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10948         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10949         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10950         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10951         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10952         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10954         Likewise.
10955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10956         Likewise.
10957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10958         Likewise.
10959         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10960         Likewise.
10961         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10962         Likewise.
10963         [__LINUX_KERNEL_VERSION >= 0x020625]
10964         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10965         [__LINUX_KERNEL_VERSION >= 0x020625]
10966         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10967         [__LINUX_KERNEL_VERSION >= 0x020625]
10968         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10969         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10970         Likewise.
10971         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10972         Likewise.
10973         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10974         Likewise.
10975         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10976         Likewise.
10977         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10978         Likewise.
10979         [__LINUX_KERNEL_VERSION >= 0x020625]
10980         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10981         [__LINUX_KERNEL_VERSION >= 0x020625]
10982         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10983         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10984         Likewise.
10985         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10986         Likewise.
10988 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10990         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10991         record the current if the current ABI and CPU support the FP64
10992         extension.
10993         (has-modd-spreg): Define to record the current if the current ABI and
10994         CPU support 32-bit floating point values in odd FPU registers.
10995         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10996         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10997         $(has-modd-spreg) equals yes.
10998         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10999         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11000         $(has-modd-spreg) equal yes.
11002 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11004         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11005         basename.
11007 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11009         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11010         (bench-string): ... here.
11011         (bench): Add bench-string.
11012         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11013         to *-benchset to reflect what they are.
11014         (benchset): Adjust.
11016         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11017         cos-inputs.
11019 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11021         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11022         __attribute__ ((__simd__)) for vector math function declarations.
11024 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11026         Fix typo in strncat, wcsncat manual entries
11027         * manual/string.texi (Copying and Concatenation): Fix typos in
11028         sample implementations of strncat and wcsncat, by having them use
11029         the old value of the destination length, not the new one.
11031 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11033         [BZ #16961]
11034         [BZ #16962]
11035         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11036         string on the stack for strtod.
11037         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11038         a string on the stack for strtof.
11039         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11040         constructing a string on the stack for strtold.
11041         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11042         __strtold_nan to GLIBC_PRIVATE.
11043         * math/test-nan-overflow.c: New file.
11044         * math/test-nan-payload.c: Likewise.
11045         * math/Makefile (tests): Add test-nan-overflow and
11046         test-nan-payload.
11048 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11050         Consistency about byte vs character in string.texi
11051         * manual/string.texi (String and Array Utilities):
11052         Distinguish more carefully among bytes, multibyte characters,
11053         and wide characters.  Use "byte" when talking about C 'char',
11054         to distinguish it more clearly from multibyte characters.
11055         Say "wide character" or "multibyte character" instead of
11056         "character", when a wide or multibyte character is intended.
11057         Similarly for "multibyte string" versus "string".
11058         Define these terms more carefully.
11060 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11062         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11063         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11064         Likewise.
11065         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11066         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11067         * sysdeps/sh/math_private.h: New file.
11068         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11069         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11070         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11071         long double function name.
11072         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11073         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11074         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11075         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11076         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11078         Remove __finitel, __isinfl, and __isnanl.
11079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11080         Likewise.
11081         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11083         Remove __finitel.
11084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11088 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11090         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11091         installed libmvec_nonshared.a.
11093 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11095         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11096         (sysdep_routines): Likewise.
11097         (sysdep-rtld-routines): Likewise.
11098         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11099         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11100         * sysdeps/powerpc/Versions: Added new
11101         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11102         * sysdeps/powerpc/hwcapinfo.c: New file.
11103         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11104         and parse hwcap, hwcap2 and platform number information.
11105         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11106         to store HWCAP+HWCAP2 and platform number.
11107         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11108         for HWCAP+HWCAP2 and platform number in the TCB.
11109         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11110         the HWCAP, HWCAP2 and platform number in the TCB.
11111         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11112         (TLS_INIT_TP): Included calls to add the hwcap and
11113         at_platform values in the TCB in TP initialization.
11114         (TLS_DEFINE_INIT_TP): Likewise.
11115         (THREAD_GET_HWCAP): New macro.
11116         (THREAD_SET_HWCAP): Likewise.
11117         (THREAD_GET_AT_PLATFORM): Likewise.
11118         (THREAD_SET_AT_PLATFORM): Likewise.
11119         * sysdeps/powerpc/powerpc32/dl-machine.h:
11120         (dl_platform_init): New function that calls
11121         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11122         powerpc32.
11123         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11124         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11125         this functionality, static linking case.
11126         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11127         linking case.
11128         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11129         __parse_hwcap_and_convert_at_platform for the static linking case.
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11131         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11132         ABI list for GLIBC 2.23.
11133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11134         Likewise.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11136         Likewise.
11138 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11140         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11141         * configure: Regenerate.
11142         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11143         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11145 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11147         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11148         * iconvdata/ibm933.c: Likewise.
11149         * iconvdata/ibm935.c: Likewise.
11150         * iconvdata/ibm937.c: Likewise.
11151         * iconvdata/ibm939.c: Likewise.
11153 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11155         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11156         pthread_join.
11157         * nptl/tst-cancel21.c (tf): Likewise.
11159 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11161         [BZ #19313]
11162         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11163         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11164         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11165         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11166         Likewise.
11167         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11170         Likewise.
11171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11172         Likewise.
11173         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11174         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11175         unsigned long int with __CPU_MASK_TYPE.
11177 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11179         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11181 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11183         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11184         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11185         t512.x.
11186         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11188 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11190         [BZ #19214]
11191         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11192         argument to return extended model.  Update family and model
11193         with extended family and model when family == 0x0f.
11194         (init_cpu_features): Updated.
11196 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11198         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11199         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11201         * sysdeps/mach/hurd/mmap64.c: New file.
11203 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11205         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11206         rights for its main user thread in NEWTASK.
11208 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11210         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11211         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11213 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11215         [BZ #14259]
11216         * Makeconfig: Rename localedir to complocaledir.
11217         Rename inst_localedir to inst_complocaledir.
11218         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11219         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11220         * configure.ac: Use libc_cv_complocaledir.
11221         * configure: Regenerate.
11222         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11223         -DCOMPLOCALEDIR.
11224         * locale/findlocale.c: Use COMPLOCALEDIR.
11225         * locale/loadarchive.c: Likewise.
11226         * locale/programs/locale.c: Likewise.
11227         * locale/programs/localedef.c: Likewise.
11228         * locale/programs/locarchive.c: Likewise.
11229         * localedata/Makefile: Use inst_complocaledir.
11230         * sysdeps/gnu/configure: Regenerate.
11231         * sysdeps/hppa/configure: Regenerate.
11232         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11233         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11235         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11236         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11237         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11238         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11240 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11242         [BZ #19058]
11243         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11244         AS_NEEDED.
11245         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11246         workaround.
11247         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11248         libmvec-static-only-routines): Added new file.
11249         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11251 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11253         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11254         of interrupted RPC instead of restoring it.
11256         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11257         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11258         libc_hidden_def.
11259         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11260         into initialized data instead of common. Define rtld_hidden_data_def.
11261         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11262         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11263         libc_hidden_def.
11264         (if_freenameindex): Add libc_hidden_weak.
11265         (if_nameindex): Add libc_hidden_weak.
11266         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11267         __open64.
11268         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11269         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11270         * sysdeps/mach/nanosleep.c: Include <time.h>
11271         (__nanosleep): Rename to __libc_nanosleep.
11272         (__nanosleep): Add weak_alias.
11273         (nanosleep): Update alias.
11275 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11277         * stdlib/strtod_nan.c: New file.
11278         * stdlib/strtod_nan_double.h: Likewise.
11279         * stdlib/strtod_nan_float.h: Likewise.
11280         * stdlib/strtod_nan_main.c: Likewise.
11281         * stdlib/strtod_nan_narrow.h: Likewise.
11282         * stdlib/strtod_nan_wide.h: Likewise.
11283         * stdlib/strtof_nan.c: Likewise.
11284         * stdlib/strtold_nan.c: Likewise.
11285         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11286         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11287         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11288         * wcsmbs/wcstod_nan.c: Likewise.
11289         * wcsmbs/wcstof_nan.c: Likewise.
11290         * wcsmbs/wcstold_nan.c: Likewise.
11291         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11292         strtold_nan.
11293         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11294         wcstof_nan.
11295         * include/stdlib.h (__strtof_nan): Declare and use
11296         libc_hidden_proto.
11297         (__strtod_nan): Likewise.
11298         (__strtold_nan): Likewise.
11299         (__wcstof_nan): Likewise.
11300         (__wcstod_nan): Likewise.
11301         (__wcstold_nan): Likewise.
11302         * include/wchar.h (____wcstoull_l_internal): Declare.
11303         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11304         (____strtoull_l_internal): Remove declaration.
11305         (STRTOF_NAN): Define macro.
11306         (SET_MANTISSA): Remove macro.
11307         (STRTOULL): Likewise.
11308         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11309         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11310         (STRTOF_NAN): Define macro.
11311         (SET_MANTISSA): Remove macro.
11312         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11313         (SET_MANTISSA): Remove macro.
11314         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11315         macro.
11316         (SET_MANTISSA): Remove macro.
11317         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11318         macro.
11319         (SET_MANTISSA): Remove macro.
11320         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11321         (SET_MANTISSA): Remove macro.
11322         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11323         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11324         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11326         [BZ #19266]
11327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11328         upper case and lower case letters inside NAN(), not using TOLOWER.
11329         * stdlib/tst-strtod-nan-locale-main.c: New file.
11330         * stdlib/tst-strtod-nan-locale.c: Likewise.
11331         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11332         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11333         Depend on $(gen-locales).
11334         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11335         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11336         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11337         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11338         Depend on $(gen-locales).
11339         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11341 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11343         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11345         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11347         __finitel, __isinfl, and __isnanl.
11348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11349         Likewise.
11350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11352         __finitel.
11353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11357 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11359         * malloc/memusage.c (me): Remove redundant getenv call.
11361 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11363         [BZ #19143]
11364         [BZ #19164]
11365         * nptl/check-cpuset.h: Remove.
11366         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11367         Remove CPU set size check.
11368         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11369         Likewise.
11370         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11371         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11372         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11373         (__pthread_setaffinity_new): Remove CPU set size check.
11374         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11375         (__kernel_cpumask_size): Remove.
11376         (__sched_setaffinity_new): Remove CPU set size check.
11377         * manual/threads.texi (Default Thread Attributes): Remove stale
11378         reference to check_cpuset_attr, determine_cpumask_size in comment.
11379         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11380         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11381         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11382         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11383         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11384         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11385         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11386         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11387         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11388         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11389         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11390         skeleton test file.
11391         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11392         tst-affinity-pid.
11394 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11396         * scripts/update-abilist.sh: New file.
11397         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11398         * Makerules (update-all-abi-%, update-all-abi)
11399         (subdir_update-all-abi): New targets.
11400         * elf/Makefile (update-all-abi): New target.
11402 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11404         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11405         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11406         (__libc_lock_define_initialized): Use it.
11407         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11408         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11409         * malloc/malloc.c (main_arena): Likewise.
11410         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11411         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11413 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11415         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11416         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11417         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11418         (PTRACE_O_MASK): Update value.
11419         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11420         New value in enum __ptrace_setoptions.
11421         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11422         (PTRACE_O_MASK): Update value.
11423         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11424         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11425         (PTRACE_O_MASK): Update value.
11426         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11427         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11428         (PTRACE_O_MASK): Update value.
11429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11430         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11431         (PTRACE_O_MASK): Update value.
11432         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11433         New value in enum __ptrace_setoptions.
11434         (PTRACE_O_MASK): Update value.
11435         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11436         New value in enum __ptrace_setoptions.
11437         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11438         (PTRACE_O_MASK): Update value.
11440         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11441         New macro.
11442         (PACKET_AUXDATA): Likewise.
11443         (PACKET_ORIGDEV): Likewise.
11444         (PACKET_VERSION): Likewise.
11445         (PACKET_HDRLEN): Likewise.
11446         (PACKET_RESERVE): Likewise.
11447         (PACKET_TX_RING): Likewise.
11448         (PACKET_LOSS): Likewise.
11449         (PACKET_VNET_HDR): Likewise.
11450         (PACKET_TX_TIMESTAMP): Likewise.
11451         (PACKET_TIMESTAMP): Likewise.
11452         (PACKET_FANOUT): Likewise.
11453         (PACKET_TX_HAS_OFF): Likewise.
11454         (PACKET_QDISC_BYPASS): Likewise.
11455         (PACKET_ROLLOVER_STATS): Likewise.
11456         (PACKET_FANOUT_DATA): Likewise.
11457         (PACKET_MR_UNICAST): Likewise.
11459         [BZ #19242]
11460         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11461         (TOUPPER): Likewise.
11462         * stdlib/tst-strtol-locale-main.c: New file.
11463         * stdlib/tst-strtol-locale.c: Likewise.
11464         * stdlib/Makefile (tests): Add tst-strtol-locale.
11465         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11466         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11467         Depend on $(gen-locales).
11468         * wcsmbs/tst-wcstol-locale.c: New file.
11469         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11470         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11471         tr_TR.ISO-8859-9.
11472         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11473         Depend on $(gen-locales).
11475 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11477         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11478         __glibc_likely instead of __builtin_expect.  After falling back to
11479         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11480         system interface to register the code pages as occupied.
11482 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11484         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11485         [!ARM_MATH_PRIVATE_H].
11486         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11487         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11488         [!HPPA_MATH_PRIVATE_H].
11489         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11490         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11491         to [!I386_MATH_PRIVATE_H].
11492         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11493         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11494         Change guard to [!M68K_MATH_PRIVATE_H].
11495         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11496         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11497         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11498         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11499         macro.
11500         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11501         [!MIPS_MATH_PRIVATE_H].
11502         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11503         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11504         [!NIO2_MATH_PRIVATE_H].
11505         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11506         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11507         [!TILE_MATH_PRIVATE_H].
11508         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11510         [BZ #15421]
11511         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11512         initialize with 0 and define as weak alias of __signgam.
11513         * include/math.h [!_ISOMAC] (__signgam): Declare.
11514         * math/Makefile (libm-calls): Add w_lgamma_compat.
11515         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11516         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11517         test-signgam-ullong-init.
11518         (tests-static): Add test-signgam-uchar-static,
11519         test-signgam-uchar-init-static, test-signgam-uint-static,
11520         test-signgam-uint-init-static, test-signgam-ullong-static and
11521         test-signgam-ullong-init-static.
11522         (CFLAGS-test-signgam-uchar.c): New variable.
11523         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11524         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11525         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11526         (CFLAGS-test-signgam-uint.c): Likewise.
11527         (CFLAGS-test-signgam-uint-init.c): Likewise.
11528         (CFLAGS-test-signgam-uint-static.c): Likewise.
11529         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11530         (CFLAGS-test-signgam-ullong.c): Likewise.
11531         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11532         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11533         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11534         * math/Versions (libm): Add GLIBC_2.23.
11535         * math/lgamma-compat.h: New file.
11536         * math/test-signgam-main.c: Likewise.
11537         * math/test-signgam-uchar-init-static.c: Likewise.
11538         * math/test-signgam-uchar-init.c: Likewise.
11539         * math/test-signgam-uchar-static.c: Likewise.
11540         * math/test-signgam-uchar.c: Likewise.
11541         * math/test-signgam-uint-init-static.c: Likewise.
11542         * math/test-signgam-uint-init.c: Likewise.
11543         * math/test-signgam-uint-static.c: Likewise.
11544         * math/test-signgam-uint.c: Likewise.
11545         * math/test-signgam-ullong-init-static.c: Likewise.
11546         * math/test-signgam-ullong-init.c: Likewise.
11547         * math/test-signgam-ullong-static.c: Likewise.
11548         * math/test-signgam-ullong.c: Likewise.
11549         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11550         wrapper of w_lgamma_main.c.
11551         * math/w_lgamma_compat.c: New file.
11552         * math/w_lgamma_compatf.c: Likewise.
11553         * math/w_lgamma_compatl.c: Likewise.
11554         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11555         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11556         defining compatibility symbols.
11557         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11558         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11559         wrapper of w_lgammaf_main.c.
11560         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11561         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11562         defining compatibility symbols.
11563         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11564         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11565         wrapper of w_lgammal_main.c.
11566         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11567         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11568         defining compatibility symbols.
11569         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11570         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11571         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11572         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11573         <lgamma-compat.h>.
11574         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11575         (__ieee754_gamma): Define as alias.
11576         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11577         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11578         <lgamma-compat.h>.
11579         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11580         (__ieee754_gammaf): Define as alias.
11581         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11582         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11583         <lgamma-compat.h>.
11584         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11585         (__ieee754_gammal): Define as alias.
11586         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11587         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11588         <math/w_lgamma_compat.c>.
11589         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11590         Define as alias of __lgamma_compat and use in defining lgammal.
11591         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11592         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11593         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11594         (USE_AS_COMPAT): New macro.
11595         (LGAMMA_OLD_VER): Undefine and redefine.
11596         (lgammal): Do not define here.
11597         (gammal): Only define here if [GAMMA_ALIAS].
11598         * conform/linknamespace.pl (@whitelist): Remove signgam.
11599         * sysdeps/nacl/libm.abilist: Update.
11600         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11609         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11610         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11611         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11613         Likewise.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11615         Likewise.
11616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11617         Likewise.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11619         Likewise.
11620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11622         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11624         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11626         Likewise.
11627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11628         Likewise.
11629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11630         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11631         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11633 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11635         [BZ #16364]
11636         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11637         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11639 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11641         * sysdeps/s390/fpu/bits/mathinline.h:
11642         Use __asm__ [__volatile__] instead of asm [volatile].
11643         * sysdeps/s390/abort-instr.h: Likewise.
11644         * sysdeps/s390/atomic-machine.h: Likewise.
11645         * sysdeps/s390/bits/string.h: Likewise.
11646         * sysdeps/s390/dl-tls.h: Likewise.
11647         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11648         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11649         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11650         * sysdeps/s390/fpu/fesetround.c: Likewise.
11651         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11652         * sysdeps/s390/fpu/s_fma.c: Likewise.
11653         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11654         * sysdeps/s390/memusage.h: Likewise.
11655         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11656         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11657         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11658         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11659         * sysdeps/s390/nptl/tls.h: Likewise.
11660         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11661         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11662         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11663         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11664         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11665         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11666         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11667         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11669         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11670         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11671         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11672         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11673         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11674         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11675         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11676         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11677         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11678         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11680         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11682         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11684 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11685             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11687         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11688         Add lwarx hint, and use macro for acquire instruction.
11689         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11690         Likewise.
11691         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11692         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11693         update to use new atomic macros.
11695 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11697         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11698         (__lll_trylock_elision): Fix setting of adapt_count.
11699         * sysdeps/unix/sysv/linux/powerpc/htm.h
11700         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11701         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11702         (_ABORT_SYSCALL): Renumber, and clarify definition.
11703         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11705 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11707         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11708         after system headers to prevent MIN/MAX redefinition.  Define
11709         HAVE_ALLOCA to preserve builtin alloca usage.
11711 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11714         static and don't set or restore rounding.
11715         (__cos)[IN_SINCOS]: Likewise.
11716         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11717         (__sincos): Set and restore rounding mode.  Remove check for infinite
11718         or NaN input.
11720         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11722         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11723         as used.
11725 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11727         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11729 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11731         * config.make.in (have-glob-dat-reloc): New.
11732         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11733         target supports GLOB_DAT relocaton. AC_SUBST.
11734         * configure: Regenerated.
11735         * elf/Makefile (tests): Add tst-prelink.
11736         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11737         (tst-prelink-ENV): New.
11738         ($(objpfx)tst-prelink-conflict.out): Likewise.
11739         ($(objpfx)tst-prelink-cmp.out): Likewise.
11740         * sysdeps/x86/tst-prelink.c: Moved to ...
11741         * elf/tst-prelink.c: Here.
11742         * sysdeps/x86/tst-prelink.exp: Moved to ...
11743         * elf/tst-prelink.exp: Here.
11744         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11745         (tst-prelink-ENV): Removed.
11746         ($(objpfx)tst-prelink-conflict.out): Likewise.
11747         ($(objpfx)tst-prelink-cmp.out): Likewise.
11748         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11750 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11752         [BZ #14551]
11753         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11754         (__mpn_construct_long_double): If high part overflows to infinity,
11755         set errno and recompute overflowed result of the correct sign.
11756         * sysdeps/ieee754/ldbl-128ibm/Makefile
11757         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11758         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11759         $(libm).
11760         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11762 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11764         [BZ #15479]
11765         [BZ #19238]
11766         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11767         floating-point state after first operation on input.  Restore full
11768         state rather than just rounding mode.
11769         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11770         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11771         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11773         [BZ #19235]
11774         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11775         add 0.5 to integer arguments.
11776         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11777         Likewise.
11778         (.LC2): New object.
11780 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11782         * scripts/pylintrc (reports): Set to no.
11784 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11786         * elf/dl-load.c (open_verify): Take new argument FD.
11787         Skip __open call if passed FD is not -1.
11788         (_dl_map_object, open_path): Update callers.
11789         * elf/dl-sysdep-open.h: New file.
11790         * elf/dl-load.c: Include it.
11791         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11792         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11793         * sysdeps/nacl/dl-sysdep-open.h: New file.
11794         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11795         from libc to rtld.
11797 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #19228]
11800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11801         and restore full floating-point state.
11802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11803         Likewise.
11804         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11805         Likewise.
11806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11807         Likewise.
11808         * math/test-nearbyint-except-2.c: New file.
11809         * math/Makefile (tests): Add test-nearbyint-except-2.
11811 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11813         [BZ #19178]
11814         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11815         (tst-prelink-ENV): New.
11816         ($(objpfx)tst-prelink-conflict.out): Likewise.
11817         ($(objpfx)tst-prelink-cmp.out): Likewise.
11818         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11819         * sysdeps/x86/tst-prelink.c: New file.
11820         * sysdeps/x86/tst-prelink.exp: Likewise.
11822 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11824         * math/auto-libm-test-in: Add another test of pow.
11825         * math/auto-libm-test-out: Regenerated.
11826         * math/libm-test.inc (pow_test_data): Add another test.
11828 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11830         [BZ #19219]
11831         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11832         weak_alias to nearbyintl.
11834 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11836         * sysdeps/aarch64/bits/string.h: New file.
11837         (_STRING_ARCH_unaligned): Define.
11839 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11841         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11842         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11843         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11844         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11847 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11849         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11850         for original name of the DSO.  Add it to the name list of the DSO
11851         if it is actually given.
11852         (_dl_map_object): Keep track of whether an audit module rewrote
11853         the file name.  If yes, pass the original name to
11854         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11855         debugging is enabled, log the change of the file name.
11856         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11857         _dl_map_object_from_fd.
11858         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11859         * elf/tst-audit11.c: New file
11860         * elf/tst-auditmod11.c: New file.
11861         * elf/tst-audit11mod1.c: New file.
11862         * elf/tst-audit11mod2.c: New file.
11863         * elf/tst-audit11mod2.map: New file.
11864         * elf/tst-audit12.c: New file
11865         * elf/tst-auditmod12.c: New file.
11866         * elf/tst-audit12mod1.c: New file.
11867         * elf/tst-audit12mod2.c: New file.
11868         * elf/tst-audit12mod2.map: New file.
11869         * elf/tst-audit12mod3.c: New file.
11871 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11873         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11874         Don't create weak aliases,
11875         because versioned symbols are created later.
11876         * sysdeps/s390/s390-32/setjmp.S
11877         (setjmp, _setjmp): Remove weak and rename to an unique name
11878         in SHARED case due to existing versioned symbols.
11879         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11881         (getcontext): Create weak alias only in non SHARED case.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11884 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11886         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11887         (__ASSUME_*_SYSCALL) Define new macros.
11888         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11889         Remove socketcall syscalls.
11890         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11891         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11892         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11893         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11894         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11895         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11897 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11899         [BZ #12926]
11900         Terminate process on invalid netlink response.
11901         * sysdeps/unix/sysv/linux/netlinkaccess.h
11902         (__netlink_assert_response): Declare.
11903         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11904         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11905         (sysdep_routines): Add netlink_assert_response.
11906         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11907         __netlink_assert_response.
11908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11909         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11910         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11911         __netlink_assert_response.
11913 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11915         [BZ #19178]
11916         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11917         (RTYPE_CLASS_PLT): Likewise.
11918         (RTYPE_CLASS_COPY): Likewise.
11919         (RTYPE_CLASS_TLS): Likewise.
11920         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11921         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11922         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11923         DL_DEBUG_PRELINK.
11925 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11927         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11928         calls with argument -0.5.
11929         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11931         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11932         (libc_cv_z_nodlopen): Likewise.
11933         (libc_cv_z_initfirst): Likewise.
11934         * configure: Regenerated.
11936 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11938         Simplify abilist format to be line-based.
11939         * scripts/abilist.awk: Collect descriptors in the descs variable.
11940         (emit): Write descs variable and sort it
11941         externally, with sort.
11942         * sysdeps/**/*.abilist: Convert to new format.
11944 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11946         [BZ #11460]
11947         * io/Makefile (routines): Add fts64.
11948         (tests): Add tst-fts and tst-fts-lfs.
11949         (CFLAGS-fts64.c): New.
11950         * io/Versions (GLIBC_2.23): New.
11951         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11952         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11953         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11954         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11955         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11956         (FTSENT64): Likewise.
11957         (fts64_children): Likewise.
11958         (fts64_close): Likewise.
11959         (fts64_open): Likewise.
11960         (fts64_read): Likewise.
11961         (fts64_set): Likewise.
11962         * io/fts64.c: New file.
11963         * io/tst-fts.c: New test.
11964         * io/tst-fts-lfs.c: Likewise.
11965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11966         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11967         fts64_set.
11968         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11994         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11995         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11996         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11997         * sysdeps/wordsize-64/fts.c: New file.
11998         * sysdeps/wordsize-64/fts64.c: Likewise.
11999         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12000         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12001         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12002         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12004 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12006         * math/libm-test.inc (NON_FINITE): New macro.
12007         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12008         * math/gen-libm-test.pl (show_exceptions): Add argument
12009         $non_finite.
12010         (parse_args): Update call to show_exceptions.
12011         * math/test-math-finite.h: New file.
12012         * math/test-math-no-finite.h: Likewise.
12013         * math/test-double-finite.c: Likewise.
12014         * math/test-float-finite.c: Likewise.
12015         * math/test-ldouble-finite.c: Likewise.
12016         * math/test-double.c: Include "test-math-no-finite.h".
12017         * math/test-float.c: Include "test-math-no-finite.h".
12018         * math/test-ldouble.c: Include "test-math-no-finite.h".
12019         * math/test-math-inline.h (TEST_FINITE): New macro.
12020         * math/test-math-vector.h (TEST_FINITE): Likewise.
12021         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12022         (libm-tests): Add test-float-finite and test-double-finite.
12023         ($(objpfx)test-float-finite.o): New dependency on
12024         $(objpfx)libm-test.stmp.
12025         ($(objpfx)test-double-finite.o): Likewise.
12026         ($(objpfx)test-ldouble-finite.o): Likewise.
12027         (libm-test-no-inline-cflags): New variable.
12028         (libm-test-finite-cflags): Likewise.
12029         (CFLAGS-test-float-finite.c): Likewise.
12030         (CFLAGS-test-double-finite.c): Likewise.
12031         (CFLAGS-test-ldouble-finite.c): Likewise.
12032         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12033         (CFLAGS-test-double.c): Likewise.
12034         (CFLAGS-test-ldouble.c): Likewise.
12036 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12038         * io/fcntl.c (__fcntl): Add ... to prototype.
12039         * misc/ioctl.c (__ioctl): Likewise.
12040         * misc/syscall.c (syscall): Likewise.
12042 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12044         * scripts/list-fixed-bugs.py: New file.
12046         [BZ #19213]
12047         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12048         returned for argument 1.
12049         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12050         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12051         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12052         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12053         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12054         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12056         [BZ #19211]
12057         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12058         __USE_XOPEN], not if [!__USE_ISOC99].
12059         (lgammaf): Likewise.
12060         (lgammal): Likewise.
12061         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12062         (gammaf): Likewise.
12063         (gammal): Likewise.
12064         * math/test-signgam-finite-c11.c: New file.
12065         * math/test-signgam-finite-c99.c: Likewise.
12066         * math/test-signgam-finite.c: Likewise.
12067         * math/Makefile (tests): Add test-signgam-finite,
12068         test-signgam-finite-c99 and test-signgam-finite-c11.
12069         (CFLAGS-test-signgam-finite.c): New variable.
12070         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12071         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12073         [BZ #19212]
12074         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12075         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12076         500].
12077         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12078         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12079         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12080         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12081         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12082         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12083         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12084         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12085         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12086         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12088         [BZ #19209]
12089         * math/bits/math-finite.h (ldexp): Remove declaration.
12090         (ldexpf): Likewise.
12091         (ldexpl): Likewise.
12093         [BZ #19205]
12094         * math/bits/math-finite.h (acosf): Condition declaration on
12095         [__USE_ISOC99].
12096         (acosl): Likewise.
12097         (acoshf): Likewise.
12098         (acoshl): Likewise.
12099         (asinf): Likewise.
12100         (asinl): Likewise.
12101         (atan2f): Likewise.
12102         (atan2l): Likewise.
12103         (atanhf): Likewise.
12104         (atanhl): Likewise.
12105         (coshf): Likewise.
12106         (coshl): Likewise.
12107         (expf): Likewise.
12108         (expl): Likewise.
12109         (fmodf): Likewise.
12110         (fmodl): Likewise.
12111         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12112         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12113         (j0l): Likewise.
12114         (y0f): Likewise.
12115         (y0l): Likewise.
12116         (j1f): Likewise.
12117         (j1l): Likewise.
12118         (y1f): Likewise.
12119         (y1l): Likewise.
12120         (jnf): Likewise.
12121         (jnl): Likewise.
12122         (ynf): Likewise.
12123         (ynl): Likewise.
12124         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12125         (lgammal_r): Likewise.
12126         (__lgamma_r_finite): New declaration.
12127         (__lgammaf_r_finite): Likewise.
12128         (__lgammal_r_finite): Likewise.
12129         (lgamma): Use __lgamma_r_finite.
12130         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12131         __lgammaf_r_finite.
12132         (lgammal): Condition definition on [__USE_ISOC99].  Use
12133         __lgammal_r_finite.
12134         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12135         __lgamma_r_finite.
12136         (gammaf): Condition definition on [__USE_ISOC99].  Use
12137         __lgammaf_r_finite.
12138         (gammal): Condition definition on [__USE_ISOC99].  Use
12139         __lgammal_r_finite.
12140         (logf): Condition declaration on [__USE_ISOC99].
12141         (logl): Likewise.
12142         (log10f): Likewise.
12143         (log10l): Likewise.
12144         (ldexpf): Likewise.
12145         (ldexpl): Likewise.
12146         (powf): Likewise.
12147         (powl): Likewise.
12148         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12149         __USE_ISOC99].
12150         (remainderf): Condition declaration on [__USE_ISOC99].
12151         (remainderl): Likewise.
12152         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12153         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12154         (scalbl): Likewise.
12155         (sinhf): Condition declaration on [__USE_ISOC99].
12156         (sinhl): Likewise.
12157         (sqrtf): Likewise.
12158         (sqrtl): Likewise.
12160 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12162         * sysdeps/arm/atomic-machine.h
12163         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12164         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12165         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12166         Remove conditional code.
12167         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12168         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12169         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12170         Change conditional to [__ASSEMBLER__].
12171         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12172         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12173         [!__ASSEMBLER__].
12174         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12175         code.
12176         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12177         conditional macro definitions.
12178         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12179         (__arch_compare_and_exchange_val_16_acq): Likewise.
12180         (__arch_compare_and_exchange_val_32_acq): Likewise.
12181         (atomic_exchange_and_add): Likewise.
12182         (atomic_add): Likewise.
12183         (atomic_add_negative): Likewise.
12184         (atomic_add_zero): Likewise.
12185         (atomic_bit_set): Likewise.
12186         (atomic_bit_test_set): Likewise.
12187         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12188         code unconditional.
12189         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12191         * math/test-math-errno.h: New file.
12192         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12193         empty.
12194         (TEST_ERRNO): New macro.
12195         (TEST_EXCEPTIONS): Likewise.
12196         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12197         (TEST_EXCEPTIONS): Likewise.
12198         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12199         * math/test-double.c: Include "test-math-errno.h".
12200         * math/test-float.c: Likewise.
12201         * math/test-ldouble.c: Likewise.
12202         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12203         code unconditional.
12204         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12205         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12206         unconditional.
12207         (test_errno): Only run code if TEST_ERRNO.
12208         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12210 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12212         * nptl/tst-once5.cc: Remove attribution.
12214 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12216         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12217         sqrt, tan, tanh, y0, y1 and yn.
12218         * math/auto-libm-test-out: Regenerated.
12219         * math/libm-test.inc (scalb_test_data): Add more tests.
12220         (scalbn_test_data): Likewise.
12221         (scalbln_test_data): Likewise.
12222         (signbit_test_data): Likewise.
12223         (sin_test_data): Likewise.
12224         (sincos_test_data): Likewise.
12225         (sinh_test_data): Likewise.
12226         (sqrt_test_data): Likewise.
12227         (tan_test_data): Likewise.
12228         (tanh_test_data): Likewise.
12229         (tgamma_test_data): Likewise.
12230         (y0_test_data): Likewise.
12231         (y1_test_data): Likewise.
12232         (yn_test_data): Likewise.
12233         (significand_test_data): Likewise.
12234         * sysdeps/i386/fpu/libm-test-ulps: Update.
12236 2015-11-03  David Kastrup  <dak@gnu.org>
12238         [BZ #18604]
12239         * assert/assert.h (assert): Don't macro-expand failed assertion
12240         expression in error message.
12241         * malloc/malloc.c (assert): Likewise.
12243 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12245         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12246         test.
12247         * configure: Regenerated.
12249 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12251         * math/libm-test.inc (modf_test_data): Add more tests.
12252         (nearbyint_test_data): Likewise.
12253         (nextafter_test_data): Likewise.
12254         (nexttoward_test_data): Likewise.
12255         (pow_test_data): Likewise.
12256         (remainder_test_data): Likewise.
12257         (remquo_test_data): Likewise.
12258         (rint_test_data): Likewise.
12260         [BZ #19201]
12261         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12262         Check for zero remainder in case of large exponents and ensure
12263         correct sign of result in that case.
12264         * math/libm-test.inc (remainder_test_data): Add more tests.
12266         [BZ #6799]
12267         * math/s_nextafter.c: Include <errno.h>.
12268         (__nextafter): Set errno on overflow and underflow.
12269         * math/s_nexttowardf.c: Include <errno.h>.
12270         (__nexttowardf): Set errno on overflow and underflow.
12271         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12272         (__nextafterl): Set errno on overflow and underflow.
12273         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12274         (__nexttoward): Set errno on overflow and underflow.
12275         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12276         (__nexttowardf): Set errno on overflow and underflow.
12277         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12278         (__nextafterf): Set errno on overflow and underflow.
12279         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12280         (__nextafterl): Set errno on overflow and underflow.
12281         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12282         (__nexttoward): Set errno on overflow and underflow.
12283         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12284         (__nexttowardf): Set errno on overflow and underflow.
12285         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12286         (__nextafterl): Set errno on overflow and underflow.
12287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12288         (__nexttoward): Set errno on overflow and underflow.
12289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12290         (__nexttowardf): Set errno on overflow and underflow.
12291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12292         (__nexttoward): Set errno on overflow and underflow.
12293         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12294         (__nexttowardf): Set errno on overflow and underflow.
12295         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12296         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12297         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12298         (__nextafterl): Set errno on overflow and underflow.
12299         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12300         setting to be missing on overflow.  Add more tests.
12301         (nexttoward_test_data): Likewise.
12303         * configure.ac (libc_cv_initfini_array): Remove configure test.
12304         * configure: Regenerated.
12306 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12308         [BZ #19189]
12309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12310         non-finite argument handle arguments with negative sign.
12312         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12313         result from infinite argument.
12314         (j1_test_data): Likewise.
12315         (jn_test_data): Likewise.
12316         (y0_test_data): Likewise.
12317         (y1_test_data): Likewise.
12318         (yn_test_data): Likewise.
12320         [BZ #16171]
12321         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12322         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12323         * math/w_remainderf.c (dremf): Define as weak alias of
12324         __remainderf.
12325         * math/w_remainderl.c (dreml): Define as weak alias of
12326         __remainderl.
12327         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12328         __remainder.
12329         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12330         __remainderf.
12331         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12332         __remainderl.
12333         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12334         weak alias of remainderl.
12335         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12336         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12337         alias of __remainder.
12338         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12339         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12340         strong alias of __remainderl.
12341         (dreml): Use long_double_symbol.
12342         * math/Makefile (libm-calls): Remove w_drem.
12343         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12344         (CFLAGS-nldbl-drem.c): Remove variable.
12345         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12346         * math/w_drem.c: Remove file.
12347         * math/w_dremf.c: Likewise.
12348         * math/w_dreml.c: Likewise.
12349         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12350         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12351         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12353         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12354         * sysdeps/i386/configure: Regenerated.
12355         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12356         * sysdeps/x86_64/configure: Regenerated.
12358         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12359         test.
12360         (libc_cv_visibility_attribute): Likewise.
12361         (libc_cv_protected_data): Test unconditionally.
12362         (libc_cv_broken_visibility_attribute): Remove configure test.
12363         (libc_cv_have_sdata_section): Test unconditionally.
12364         * configure: Regenerated.
12366         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12367         * include/scratch_buffer.h: Include <stddef.h> instead of
12368         <libc-internal.h>.
12369         (struct scratch_buffer): Use max_align_t instead of
12370         libc_max_align_t.
12372 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12374         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12375         instead of extend_alloca.  Change control flow to avoid a goto.
12376         Remove assert which is trivially always true.
12378 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12380         [BZ #16068]
12381         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12382         (FE_ALL_EXCEPT_X86): New macro.
12383         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12384         FE_ALL_EXCEPT.  Ensure precision control is included in
12385         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12386         handle "denormal operand exception" and clear FZ and DAZ bits.
12387         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12388         (FE_ALL_EXCEPT_X86): New macro.
12389         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12390         FE_ALL_EXCEPT.  Ensure precision control is included in
12391         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12392         handle "denormal operand exception" and clear FZ and DAZ bits.
12393         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12394         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12395         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12396         test-fenv-x87 and test-fenv-sse-2.
12397         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12399         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12400         * math/test-double.h (BUILD_COMPLEX): New macro.
12401         * math/test-float.h (BUILD_COMPLEX): Likewise.
12402         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12404         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12405         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12406         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12408         instead of DBL_DENORM_MIN in comment.
12409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12410         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12412         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12414         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12416 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12418         [BZ# 19048]
12419         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12420         attached_threads member.
12421         (main_arena): Initialize attached_threads.
12422         * malloc/arena.c (list_lock): Update comment.
12423         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12424         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12425         (deattach_arena): New function.
12426         (_int_new_arena): Initialize arena reference count and deattach
12427         replaced arena.
12428         (get_free_list, reused_arena): Update reference count and deattach
12429         replaced arena.
12430         (arena_thread_freeres): Update arena reference count and only put
12431         unreferenced arenas on the free list.
12433 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12435         [BZ #19181]
12436         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12437         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12438         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12439         * math/test-fenv-clear-main.c: New file.
12440         * math/test-fenv-clear.c: Likewise.
12441         * math/Makefile (tests): Add test-fenv-clear.
12442         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12443         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12444         test-fenv-clear-sse.
12445         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12447         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12448         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12449         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12451 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12453         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12454         static libc.
12456 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12458         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12459         test.
12460         * sysdeps/i386/configure: Regenerated.
12461         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12462         test.
12463         * sysdeps/x86_64/configure: Regenerated.
12464         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12466         memset-avx2 unconditionally instead of conditionally on
12467         [$(config-cflags-avx2) = yes].
12468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12469         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12470         unconditional.
12471         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12472         * sysdeps/x86_64/multiarch/memset_chk.S
12473         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12474         to [IS_IN (libc) && SHARED].
12476 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12478         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12479         configure test.
12480         * sysdeps/arm/configure: Regenerated.
12481         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12482         Define variable if not already defined.
12484         [BZ #17404]
12485         * sysdeps/mips/atomic-machine.h
12486         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12487         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12488         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12490         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12491         unconditional.
12492         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12493         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12494         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12495         unconditional.
12496         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12497         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12498         unconditional.
12499         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12500         * stdlib/setenv.c
12501         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12502         code unconditional.
12503         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12504         Remove conditional code.
12505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12506         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12507         unconditional.
12508         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12509         code.
12510         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12511         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12512         unconditional.
12513         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12514         code.
12515         * sysdeps/ieee754/ldbl-128/k_tanl.c
12516         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12517         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12518         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12519         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12520         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12521         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12522         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12523         unconditional.
12524         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12525         code.
12526         * sysdeps/ieee754/ldbl-96/k_tanl.c
12527         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12528         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12530         * nptl/tst-initializers1-c11.c: New file.
12531         * nptl/tst-initializers1-gnu11.c: Likewise.
12532         * nptl/Makefile (tests): Add these new tests.
12533         (CFLAGS-tst-initializers1-c11.c): New variable.
12534         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12536         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12537         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12538         instead of -std=gnu99.
12539         * configure.ac (systemtap): Test with -std=gnu11 instead of
12540         -std=gnu99.
12541         * configure: Regenerated.
12542         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12543         in compilation command in comment.
12545         * sysdeps/nptl/configure.ac: Remove file.
12546         * sysdeps/nptl/configure: Remove generated file.
12547         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12548         * configure: Regenerated.
12549         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12550         * config.make.in (have-forced-unwind): Remove variable.
12551         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12552         unconditional.
12553         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12554         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12555         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12556         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12557         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12558         unconditional.
12560 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12562         [BZ #19174]
12563         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12564         .skip_lock_out_of_tbegin_retries.
12565         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12566         (__lll_lock_elision): Likewise, and respect a value of
12567         try_tbegin <= 0.
12569 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12571         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12572         statement.
12574 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12576         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12577         variable.
12578         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12579         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12581         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12582         of -std=c1x -D_ISOC11_SOURCE.
12584         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12585         * configure: Regenerated.
12586         * manual/install.texi (Tools for Compilation): Document
12587         requirement for GCC 4.7 or later.
12588         * INSTALL: Regenerated.
12590 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12592         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12593         on CNT to a conditional jump to 'puntdata'.
12595 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12597         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12598         (libc_cv_gcc_tls_model_attr): Likewise.
12599         * configure: Regenerated.
12601         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12602         * configure: Regenerated.
12603         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12605 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12607         * configure.ac (old_glibc_headers): Remove configure test.
12608         * configure: Regenerated.
12609         * config.make.in (old-glibc-headers): Remove variable.
12610         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12611         (install): Remove dependency on remove-old-headers.
12612         (headers2_0): Remove variable.
12613         (remove-old-headers): Remove rule.
12615         * configure.ac (libc_cv_dot_text): Remove configure test.
12616         (libc_cv_asm_set_directive): Use .text instead of
12617         ${libc_cv_dot_text} in configure test.
12618         * configure: Regenerated.
12620 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12622         [BZ #19168]
12623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12625 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12627         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12628         not support static linking.
12629         * configure: Regenerate.
12631 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12633         * math/libm-test.inc (check_float_internal): Do not special-case
12634         errors up to 0.5 ulp.
12636         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12637         log2.
12638         * math/auto-libm-test-out: Regenerated.
12639         * math/libm-test.inc (MAX_EXP): New macro.
12640         (ilogb_test_data): Add more tests.
12641         (isfinite_test_data): Likewise.
12642         (isgreater_test_data): Likewise.
12643         (isgreaterequal_test_data): Likewise.
12644         (isinf_test_data): Likewise.
12645         (isless_test_data): Likewise.
12646         (islessequal_test_data): Likewise.
12647         (islessgreater_test_data): Likewise.
12648         (isnan_test_data): Likewise.
12649         (isnormal_test_data): Likewise.
12650         (issignaling_test_data): Likewise.
12651         (isunordered_test_data): Likewise.
12652         (j0_test_data): Likewise.
12653         (j1_test_data): Likewise.
12654         (jn_test_data): Likewise.
12655         (lgamma_test_data): Likewise.
12656         (log_test_data): Likewise.
12657         (log10_test_data): Likewise.
12658         (log1p_test_data): Likewise.
12659         (log2_test_data): Likewise.
12660         (logb_test_data): Likewise.
12661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12663         [BZ #18611]
12664         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12665         avoid excess range and precision on underflow.
12666         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12667         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12668         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12670         underflow.
12671         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12673         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12674         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12675         * math/auto-libm-test-in: Do not allow missing errno setting for
12676         tests of j1 and jn.
12677         * math/auto-libm-test-out: Regenerated.
12679 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #15491]
12682         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12683         floating-point environment instead of clearing all exceptions.
12684         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12685         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12686         merging in "invalid" exceptions from frndint.
12687         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12688         * math/test-nearbyint-except.c: New file.
12689         * math/Makefile (tests): Add test-nearbyint-except.
12691 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12693         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12695         * sysdeps/tile/libm-test-ulps: Regenerated.
12697 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12700         (__NR_sync_file_range2): Assume it is always defined.
12701         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12702         (__NR_sync_file_range): Assume it is always defined.
12704 2015-10-22  Andreas Schwab  <schwab@suse.de>
12706         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12707         INTERNAL_SYSCALL_ERRNO.
12708         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12709         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12710         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12711         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12712         Likewise.
12713         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12715 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12717         * io/tst-fcntl.c (fd): New static variable.
12718         (do_prepare): Open temporary file here....
12719         (do_test): ...not here.
12721         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12723 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12725         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12726         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12727         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12728         Moved before "#ifdef __ASSEMBLER__".
12730 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12732         [BZ #19156]
12733         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12734         arguments very close to 0.
12736 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12738         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12739         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12741 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12743         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12744         New.  Defined for GCC 5 and above when not compiling for
12745         profiling.
12746         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12748         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12749         Renamed to ...
12750         (CFLAGS-epoll_pwait.o): This.
12751         (CFLAGS-mmap.c): Renamed to ...
12752         (CFLAGS-mmap.o): This.
12753         (CFLAGS-mmap64.c): Renamed to ...
12754         (CFLAGS-mmap64.o): This.
12755         (CFLAGS-epoll_pwait.os): New.
12756         (CFLAGS-mmap.os): Likewise.
12757         (CFLAGS-mmap64.os): Likewise.
12758         (CFLAGS-semtimedop.os): Likewise.
12759         (CFLAGS-semtimedop.c): Renamed to ...
12760         (CFLAGS-semtimedop.o): This.
12762 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12764         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12765         warning message.
12767 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12769         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12770         * Makefile ($(objpfx)c++-types-check.out): Filter out
12771         $(+gccwarn-c) instead of -Wstrict-prototypes.
12773         * io/fts.c (fts_open): Convert to prototype-style function
12774         definition.
12775         * malloc/mcheck.c (mcheck): Likewise.
12776         (mcheck_pedantic): Likewise.
12777         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12778         internal_function.
12779         (re_search_internal): Likewise.
12780         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12781         prototype-style function definition.
12782         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12783         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12784         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12785         (xdr_utmpptr): Likewise.
12786         (xdr_utmparr): Likewise.
12787         (xdr_utmpidle): Likewise.
12788         (xdr_utmpidleptr): Likewise.
12789         (xdr_utmpidlearr): Likewise.
12791         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12792         log, log10 and log2.
12793         * math/auto-libm-test-out: Regenerated.
12794         * math/libm-test.inc (fmod_test_data): Add more tests.
12795         (fpclassify_test_data): Likewise.
12796         (frexp_test_data): Likewise.
12797         (hypot_test_data): Likewise.
12798         (ilogb_test_data): Likewise.
12800 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12802         * debug/fortify_fail.c (__fortify_fail): Convert to
12803         prototype-style function definition.  Use internal_function.
12804         * libio/genops.c (save_for_backup): Convert to prototype-style
12805         function definition.
12806         * libio/wgenops.c (save_for_wbackup): Likewise.
12807         * login/grantpt.c (grantpt): Likewise.
12808         * login/ptsname.c (ptsname): Likewise.
12809         (__ptsname_r): Likewise.
12810         * login/unlockpt.c (unlockpt): Likewise.
12811         * mach/msgserver.c (__mach_msg_server): Likewise.
12812         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12813         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12814         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12815         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12816         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12817         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12818         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12819         Likewise.
12820         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12821         internal_function.
12822         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12823         prototype-style function definition.
12824         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12825         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12826         (__pthread_create_2_0): Likewise.
12827         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12828         * nptl/register-atfork.c (__register_atfork): Likewise.
12829         * posix/glob.c (glob): Likewise.
12830         * posix/regcomp.c (re_comp): Likewise.
12831         * posix/regexec.c (re_exec): Likewise.
12832         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12833         [!__STDC__]: Remove conditional code.
12834         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12835         [!__STDC__]: Remove conditional code.
12836         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12837         [!__STDC__]: Remove conditional code.
12838         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12839         [!__STDC__]: Remove conditional code.
12840         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12841         [!__STDC__]: Remove conditional code.
12842         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12843         [!__STDC__]: Remove conditional code.
12844         * stdlib/mul.c [__STDC__]: Make code unconditional.
12845         [!__STDC__]: Remove conditional code.
12846         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12847         [!__STDC__]: Remove conditional code.
12848         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12849         [!__STDC__]: Remove conditional code.
12850         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12851         function definition.
12852         (STRTOF): Likewise.
12853         * stdlib/strtod_l.c (__STRTOF): Likewise.
12854         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12855         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12856         (__strtol_l): Likewise.
12857         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12858         [!__STDC__]: Remove conditional code.
12859         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12860         definition.
12861         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12862         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12863         type.
12864         (__strcasecmp): Convert to prototype-style function definition.
12865         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12866         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12867         type.
12868         (__strncasecmp): Convert to prototype-style function definition.
12869         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12870         * sunrpc/xdr.c (xdr_union): Likewise.
12871         * sunrpc/xdr_array.c (xdr_array): Likewise.
12872         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12873         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12874         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12875         Likewise.
12876         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12877         Likewise.
12878         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12879         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12880         Likewise.
12881         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12882         (LOCALE_PARAM_PROTO): Likewise.
12883         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12884         argument type.
12885         (ut_argument_spec): Remove macro.
12886         (ut_argument_spec_iso): Rename to ut_argument_spec.
12887         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12888         prototype-style function definition.
12889         (memcpy_uppcase): Likewise.
12890         (__strftime_internal): Likewise.
12891         (my_strftime): Likewise.
12892         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12893         (LOCALE_PARAM_DECL): Likewise.
12894         [_LIBC] (LOCALE_PARAM): Include argument type.
12895         (__strptime_internal): Convert to prototype-style function
12896         definition.
12897         (strptime): Likewise.
12898         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12899         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12900         type.
12901         (__wcscasecmp): Convert to prototype-style function definition.
12902         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12903         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12904         type.
12905         (__wcsncasecmp): Convert to prototype-style function definition.
12907         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12908         function definition.
12909         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12910         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12911         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12912         * elf/dl-minimal.c (_itoa): Likewise.
12913         * hurd/hurdmalloc.c (malloc): Likewise.
12914         (free): Likewise.
12915         (realloc): Likewise.
12916         * inet/inet6_option.c (inet6_option_space): Likewise.
12917         (inet6_option_init): Likewise.
12918         (inet6_option_append): Likewise.
12919         (inet6_option_alloc): Likewise.
12920         (inet6_option_next): Likewise.
12921         (inet6_option_find): Likewise.
12922         * io/ftw.c (FTW_NAME): Likewise.
12923         (NFTW_NAME): Likewise.
12924         (NFTW_NEW_NAME): Likewise.
12925         (NFTW_OLD_NAME): Likewise.
12926         * libio/iofwide.c (_IO_fwide): Likewise.
12927         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12928         (_IO_str_init_static): Likewise.
12929         (_IO_str_init_readonly): Likewise.
12930         (_IO_str_overflow): Likewise.
12931         (_IO_str_underflow): Likewise.
12932         (_IO_str_count): Likewise.
12933         (_IO_str_seekoff): Likewise.
12934         (_IO_str_pbackfail): Likewise.
12935         (_IO_str_finish): Likewise.
12936         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12937         (_IO_wstr_overflow): Likewise.
12938         (_IO_wstr_underflow): Likewise.
12939         (_IO_wstr_count): Likewise.
12940         (_IO_wstr_seekoff): Likewise.
12941         (_IO_wstr_pbackfail): Likewise.
12942         (_IO_wstr_finish): Likewise.
12943         * locale/programs/localedef.c (normalize_codeset): Likewise.
12944         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12945         (add_locales_to_archive): Likewise.
12946         (delete_locales_from_archive): Likewise.
12947         * malloc/malloc.c (__libc_mallinfo): Likewise.
12948         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12949         * misc/tsearch.c (__tfind): Likewise.
12950         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12951         * nptl/pthread_attr_getdetachstate.c
12952         (__pthread_attr_getdetachstate): Likewise.
12953         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12954         Likewise.
12955         * nptl/pthread_attr_getinheritsched.c
12956         (__pthread_attr_getinheritsched): Likewise.
12957         * nptl/pthread_attr_getschedparam.c
12958         (__pthread_attr_getschedparam): Likewise.
12959         * nptl/pthread_attr_getschedpolicy.c
12960         (__pthread_attr_getschedpolicy): Likewise.
12961         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12962         Likewise.
12963         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12964         Likewise.
12965         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12966         Likewise.
12967         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12968         Likewise.
12969         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12970         (__pthread_attr_init_2_0): Likewise.
12971         * nptl/pthread_attr_setdetachstate.c
12972         (__pthread_attr_setdetachstate): Likewise.
12973         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12974         Likewise.
12975         * nptl/pthread_attr_setinheritsched.c
12976         (__pthread_attr_setinheritsched): Likewise.
12977         * nptl/pthread_attr_setschedparam.c
12978         (__pthread_attr_setschedparam): Likewise.
12979         * nptl/pthread_attr_setschedpolicy.c
12980         (__pthread_attr_setschedpolicy): Likewise.
12981         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12982         Likewise.
12983         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12984         Likewise.
12985         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12986         Likewise.
12987         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12988         Likewise.
12989         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12990         Likewise.
12991         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12992         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12993         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12994         use internal_function.
12995         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12996         prototype-style function definition.
12997         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12998         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12999         internal_function.
13000         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13001         Convert to prototype-style function definition.
13002         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13003         Likewise.
13004         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13005         Likewise.
13006         (__pthread_mutex_unlock): Likewise.
13007         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13008         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13009         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13010         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13011         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13012         * nss/makedb.c (process_input): Likewise.
13013         * posix/fnmatch.c (__strchrnul): Likewise.
13014         (__wcschrnul): Likewise.
13015         (fnmatch): Likewise.
13016         * posix/fnmatch_loop.c (FCT): Likewise.
13017         * posix/glob.c (globfree): Likewise.
13018         (__glob_pattern_type): Likewise.
13019         (__glob_pattern_p): Likewise.
13020         * posix/regcomp.c (re_compile_pattern): Likewise.
13021         (re_set_syntax): Likewise.
13022         (re_compile_fastmap): Likewise.
13023         (regcomp): Likewise.
13024         (regerror): Likewise.
13025         (regfree): Likewise.
13026         * posix/regexec.c (regexec): Likewise.
13027         (re_match): Likewise.
13028         (re_search): Likewise.
13029         (re_match_2): Likewise.
13030         (re_search_2): Likewise.
13031         (re_search_stub): Likewise.  Use internal_function
13032         (re_copy_regs): Likewise.
13033         (re_set_registers): Convert to prototype-style function
13034         definition.
13035         (prune_impossible_nodes): Likewise.  Use internal_function.
13036         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13037         prototype-style function definition.
13038         (inet_net_pton_ipv4): Likewise.
13039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13040         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13041         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13042         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13043         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13044         Make variadic.
13045         * time/strptime_l.c (localtime_r): Convert to prototype-style
13046         function definition.
13047         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13048         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13049         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13050         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13052         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13053         definition.
13054         (_ufc_doit_r): Likewise.
13055         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13056         (_ufc_output_conversion_r): Likewise.
13057         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13058         * inet/rcmd.c (rcmd_af): Likewise.
13059         (rcmd): Likewise.
13060         (ruserok_af): Likewise.
13061         (ruserok): Likewise.
13062         (ruserok2_sa): Likewise.
13063         (ruserok_sa): Likewise.
13064         (iruserok_af): Likewise.
13065         (iruserok): Likewise.
13066         (__ivaliduser): Likewise.
13067         (__validuser2_sa): Likewise.
13068         * inet/rexec.c (rexec_af): Likewise.
13069         (rexec): Likewise.
13070         * inet/ruserpass.c (ruserpass): Likewise.
13071         * locale/programs/xmalloc.c (xcalloc): Likewise.
13072         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13073         * math/w_drem.c (__drem): Likewise.
13074         * math/w_dremf.c (__dremf): Likewise.
13075         * math/w_dreml.c (__dreml): Likewise.
13076         * misc/daemon.c (daemon): Likewise.
13077         * resolv/res_debug.c (p_fqnname): Likewise.
13078         * stdlib/div.c (div): Likewise.
13079         * string/memcmp.c (memcmp_bytes): Likewise.
13080         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13081         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13083         * crypt/cert.c (main): Convert to prototype-style function
13084         definition.
13085         * io/pipe.c (__pipe): Likewise.
13086         * io/pipe2.c (__pipe2): Likewise.
13087         * misc/futimesat.c (futimesat): Likewise.
13088         * misc/utimes.c (__utimes): Likewise.
13089         * posix/execve.c (__execve): Likewise.
13090         * posix/execvp.c (execvp): Likewise.
13091         * posix/execvpe.c (__execvpe): Likewise.
13092         * posix/fexecve.c (fexecve): Likewise.
13093         * socket/socketpair.c (socketpair): Likewise.
13094         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13095         * stdlib/erand48.c (erand48): Likewise.
13096         * stdlib/erand48_r.c (__erand48_r): Likewise.
13097         * stdlib/jrand48.c (jrand48): Likewise.
13098         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13099         * stdlib/lcong48.c (lcong48): Likewise.
13100         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13101         * stdlib/nrand48.c (nrand48): Likewise.
13102         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13103         * stdlib/seed48.c (seed48): Likewise.
13104         * stdlib/seed48_r.c (__seed48_r): Likewise.
13105         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13106         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13107         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13109 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13111         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13112         * configure: Regenerated.
13113         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13114         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13115         unconditional.
13116         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13117         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13118         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13119         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13120         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13121         unconditional.
13122         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13124         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13125         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13127         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13128         function definition.
13129         * crypt/crypt_util.c (__encrypt_r): Likewise.
13130         * libio/genops.c (_IO_no_init): Likewise.
13131         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13132         (_IO_old_fopencookie): Likewise.
13133         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13134         * libio/iogetline.c (_IO_getline): Likewise.
13135         (_IO_getline_info): Likewise.
13136         * libio/iogetwline.c (_IO_getwline): Likewise.
13137         (_IO_getwline_info): Likewise.
13138         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13139         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13140         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13141         (find_entry): Likewise.
13142         (iterate_table): Likewise.
13143         (lookup): Likewise.
13144         * login/forkpty.c (forkpty): Likewise.
13145         * misc/hsearch_r.c (__hsearch_r): Likewise.
13146         * misc/select.c (__select): Likewise.
13147         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13148         Likewise.
13149         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13150         Likewise.
13151         * nptl/old_pthread_cond_timedwait.c
13152         (__pthread_cond_timedwait_2_0): Likewise.
13153         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13154         * nptl/pthread_barrierattr_getpshared.c
13155         (pthread_barrierattr_getpshared): Likewise.
13156         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13157         Likewise.
13158         * nptl/pthread_mutex_setprioceiling.c
13159         (pthread_mutex_setprioceiling): Likewise.
13160         * nptl/pthread_mutexattr_getprioceiling.c
13161         (pthread_mutexattr_getprioceiling): Likewise.
13162         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13163         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13164         Likewise.
13165         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13166         Likewise.
13167         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13168         Likewise.
13169         * socket/recvfrom.c (__recvfrom): Likewise.
13170         * socket/sendto.c (__sendto): Likewise.
13171         * socket/setsockopt.c (__setsockopt): Likewise.
13172         * stdio-common/_itoa.c (_itoa): Likewise.
13173         * stdio-common/_itowa.c (_itowa): Likewise.
13174         * stdio-common/reg-printf.c (__register_printf_specifier):
13175         Likewise.
13176         (__register_printf_function): Likewise.
13177         * stdio-common/tempname.c (__path_search): Likewise.
13178         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13179         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13180         * stdlib/random_r.c (__initstate_r): Likewise.
13181         * stdlib/setenv.c (__add_to_environ): Likewise.
13182         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13183         * streams/getpmsg.c (getpmsg): Likewise.
13184         * streams/putmsg.c (putmsg): Likewise.
13185         * streams/putpmsg.c (putpmsg): Likewise.
13186         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13187         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13188         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13189         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13190         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13191         * sunrpc/svc_udp.c (cache_get): Likewise.
13192         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13193         * sysdeps/mach/hurd/getcwd.c
13194         (__canonicalize_directory_name_internal): Likewise.
13195         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13196         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13197         * sysdeps/mach/hurd/select.c (__select): Likewise.
13198         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13199         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13200         * sysdeps/sparc/nptl/pthread_barrier_init.c
13201         (__pthread_barrier_init): Likewise.
13202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13203         (__pthread_cond_timedwait): Likewise.
13204         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13205         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13208         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13209         Likewise.
13210         * sysvipc/semtimedop.c (semtimedop): Likewise.
13211         * time/setitimer.c (__setitimer): Likewise.
13212         * time/strftime_l.c (emacs_strftime): Likewise.
13214 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13216         * config.make.in (have-ssp): Delete.
13217         (stack-protector): New variable.
13218         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13219         cache test for -fstack-protector-strong.  Export stack_protector to
13220         the best ssp flag.
13221         * configure: Regenerated.
13222         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13223         * nscd/Makefile (CFLAGS-nscd): Likewise.
13224         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13226 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13228         [BZ #19122]
13229         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13230         attribute_hidden.
13232 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13234         [BZ #18743]
13235         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13236         code to...
13237         (ELIDE_LOCK): ...here.
13238         (__get_new_count): New function with part of the code from
13239         __elide_lock that updates the value of adapt_count after a
13240         transaction abort.
13241         (__elided_trylock): Moved this code to...
13242         (ELIDE_TRYLOCK): ...here.
13244 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13246         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13247         * configure: Regenerate.
13248         * INSTALL: Regenerate.
13249         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13250         and tweak grammar.
13252 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13254         * login/programs/pt_chown.c: Include signal.h
13255         (main): Clear any signal mask from the parent process.
13257 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13259         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13260         * configure: Regenerated.
13261         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13262         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13263         $(gnu89-inline-CFLAGS).
13265         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13266         test.
13267         (libc_cv_asm_weakext_directive): Likewise.
13268         * configure: Regenerated.
13269         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13270         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13271         * include/libc-symbols.h
13272         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13273         #error.
13274         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13275         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13277         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13278         prototype-style function definition.
13279         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13280         * sysdeps/i386/ffs.c (__ffs): Likewise.
13281         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13282         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13283         Likewise.
13284         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13285         Likewise.
13286         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13288         Likewise.
13289         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13290         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13291         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13292         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13293         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13294         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13295         * sysdeps/mach/hurd/access.c (__access): Likewise.
13296         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13297         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13298         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13299         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13300         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13301         (cthread_getspecific): Likewise.
13302         (cthread_setspecific): Likewise.
13303         (__libc_getspecific): Likewise.
13304         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13305         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13306         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13307         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13308         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13309         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13310         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13311         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13312         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13313         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13314         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13315         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13316         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13317         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13318         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13319         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13320         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13321         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13322         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13323         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13324         * sysdeps/mach/hurd/link.c (__link): Likewise.
13325         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13326         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13327         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13328         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13329         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13330         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13331         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13332         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13333         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13334         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13335         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13336         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13337         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13338         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13339         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13340         * sysdeps/mach/hurd/send.c (__send): Likewise.
13341         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13342         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13343         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13344         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13345         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13346         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13347         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13348         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13349         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13350         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13351         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13352         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13353         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13354         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13355         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13356         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13357         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13358         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13359         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13360         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13361         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13362         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13363         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13364         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13365         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13366         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13367         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13368         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13369         * sysdeps/posix/alarm.c (alarm): Likewise.
13370         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13371         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13372         * sysdeps/posix/dup.c (__dup): Likewise.
13373         * sysdeps/posix/dup2.c (__dup2): Likewise.
13374         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13375         (main): Likewise.
13376         * sysdeps/posix/flock.c (__flock): Likewise.
13377         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13378         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13379         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13380         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13381         * sysdeps/posix/isatty.c (__isatty): Likewise.
13382         * sysdeps/posix/killpg.c (killpg): Likewise.
13383         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13384         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13385         * sysdeps/posix/raise.c (raise): Likewise.
13386         * sysdeps/posix/remove.c (remove): Likewise.
13387         * sysdeps/posix/rename.c (rename): Likewise.
13388         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13389         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13390         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13391         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13392         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13393         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13394         * sysdeps/posix/sigset.c (sigset): Likewise.
13395         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13396         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13397         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13398         * sysdeps/posix/time.c (time): Likewise.
13399         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13400         (ttyname): Likewise.
13401         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13402         * sysdeps/posix/utime.c (utime): Likewise.
13403         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13404         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13405         Likewise.
13406         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13407         (pthread_spin_trylock): Likewise.
13408         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13409         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13410         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13411         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13412         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13413         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13414         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13415         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13416         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13417         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13418         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13419         * sysdeps/s390/ffs.c (__ffs): Likewise.
13420         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13421         Likewise.
13422         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13423         Likewise.
13424         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13425         Likewise.
13426         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13427         (pthread_barrier_destroy): Likewise.
13428         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13429         (__pthread_barrier_wait): Likewise.
13430         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13431         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13432         (__pthread_barrier_wait): Likewise.
13433         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13434         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13435         (memcmp_not_common_alignment): Likewise.
13436         (MEMCMP): Likewise.
13437         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13438         (_wordcopy_fwd_dest_aligned): Likewise.
13439         (_wordcopy_bwd_aligned): Likewise.
13440         (_wordcopy_bwd_dest_aligned): Likewise.
13441         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13442         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13443         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13444         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13445         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13446         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13447         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13448         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13449         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13450         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13451         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13452         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13453         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13454         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13455         * sysdeps/unix/stime.c (stime): Likewise.
13456         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13457         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13458         Likewise.  Use internal_function.
13459         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13460         Convert to prototype-style function definition.
13461         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13462         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13463         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13464         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13465         Likewise.  Use internal_function.
13466         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13467         prototype-style function definition
13468         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13469         Likewise.
13470         (__getlogin_r): Likewise.
13471         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13473         (__pthread_cond_broadcast): Likewise.
13474         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13475         (__pthread_cond_destroy): Likewise.
13476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13477         (__pthread_cond_init): Likewise.
13478         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13479         (__pthread_cond_signal): Likewise.
13480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13481         (__pthread_cond_wait): Likewise.
13482         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13483         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13484         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13485         Likewise.
13486         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13487         Likewise.
13488         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13489         Likewise.
13490         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13491         Likewise.
13492         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13494         (__ftruncate64): Likewise.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13496         (truncate64): Likewise.
13497         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13498         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13499         (pthread_getcpuclockid): Likewise.
13500         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13505         Likewise.
13506         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13507         Likewise.
13508         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13509         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13510         (__libc_sigaction): Likewise.
13511         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13512         Likewise.
13513         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13514         (__sigprocmask): Likewise.
13515         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13516         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13517         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13518         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13519         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13520         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13521         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13522         Likewise.
13523         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13524         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13525         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13526         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13527         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13528         Likewise.
13529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13530         (__sigprocmask): Likewise.
13531         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13532         (cfgetispeed): Likewise.
13533         (cfsetospeed): Likewise.
13534         (cfsetispeed): Likewise.
13535         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13536         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13537         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13538         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13539         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13540         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13541         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13542         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13543         Likewise.
13544         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13545         Likewise.
13546         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13547         Likewise.
13548         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13549         Likewise.
13550         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13552 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13554         sunrpc: Rewrite with explicit TLS access using __thread.
13555         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13556         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13557         directly.
13558         (__rpc_thread_variables): Access thread_rpc_vars directly.
13559         Eliminate redundant assignment of the tvp variable.
13561 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13563         malloc: Rewrite with explicit TLS access using __thread.
13564         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13565         (tsd_setspecific, tsd_getspecific): Remove.
13566         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13567         (tsd_setspecific, tsd_getspecific): Likewise.
13568         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13569         (tsd_setspecific, tsd_getspecific): Likewise.
13570         * malloc/arena.c (thread_arena): New TLS variable.
13571         (arena_key): Remove variable.
13572         (arena_get): Use thread_arena.
13573         (arena_lookup): Remove macro.
13574         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13575         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13576         (_int_new_arena, get_free_list, reused_arena)
13577         (arena_thread_freeres): Use thread_arena.
13578         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13579         tsd_getspecific, tsd_setspecific from safety annotations.
13580         (Allocating Cleared Space): Remove arena_lookup from safety
13581         annotations.
13583 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13585         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13586         struct scratch_buffer instead of extend_alloca.
13588 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13590         * sysdeps/unix/sysv/linux/kernel-features.h
13591         (__ASSUME_SOCK_CLOEXEC): Remove.
13592         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13593         (__have_paccept): Remove unused macro.
13594         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13595         * misc/syslog.c (openlog_internal): Remove fallback code for
13596         !__ASSUME_SOCK_CLOEXEC.
13597         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13598         missing SOCK_CLOEXEC.
13599         * nscd/connections.c (have_sock_cloexec): Remove definition.
13600         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13601         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13602         !__ASSUME_SOCK_CLOEXEC.
13603         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13604         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13605         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13606         definition.
13607         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13608         code for !__ASSUME_SOCK_CLOEXEC.
13610 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13612         [BZ #18982]
13613         * manual/stdio.texi (Variable Arguments Output): Add portability
13614         note, explaining that vfprintf clobbers the va_list pointer.
13616 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13618         * math/libm-test.inc (fabs_test_data): Add more tests.
13619         (fdim_test_data): Likewise.
13620         (fma_test_data): Likewise.
13621         (fmax_test_data): Likewise.
13622         (fmin_test_data): Likewise.
13623         (fmod_test_data): Likewise.
13625 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13627         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13628         data.
13630 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13632         * math/libm-test.inc (ceil_test_data): Add more tests and more
13633         expectations for "inexact".
13634         (floor_test_data): Add more tests.
13635         (round_test_data): Likewise.
13636         (trunc_test_data): Likewise.
13638         * crypt/cert.c (good_bye): Convert to prototype-style function
13639         definition.
13640         (get8): Likewise.
13641         (put8): Likewise.
13642         * crypt/crypt-entry.c (crypt): Likewise.
13643         (__fcrypt): Likewise.
13644         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13645         (_ufc_set_bits): Likewise.
13646         (_ufc_clearmem): Likewise.
13647         (__init_des_r): Likewise.
13648         (shuffle_sb): Likewise.
13649         (shuffle_sb): Likewise.
13650         (_ufc_setup_salt_r): Likewise.
13651         (_ufc_mk_keytab_r): Likewise.
13652         (_ufc_dofinalperm_r): Likewise.
13653         (encrypt): Likewise.
13654         (__setkey_r): Likewise.
13655         (setkey): Likewise.
13656         * crypt/md5.c (md5_init_ctx): Likewise.
13657         (md5_read_ctx): Likewise.
13658         (md5_finish_ctx): Likewise.
13659         (md5_stream): Likewise.
13660         (md5_buffer): Likewise.
13661         (md5_process_bytes): Likewise.
13662         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13663         (__sha256_finish_ctx): Likewise.
13664         (__sha256_process_bytes): Likewise.
13665         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13666         (__sha512_finish_ctx): Likewise.
13667         (__sha512_process_bytes): Likewise.
13668         * ctype/isctype.c (__isctype): Likewise.
13669         * debug/backtrace.c (__backtrace): Likewise.
13670         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13671         * debug/fgets_chk.c (__fgets_chk): Likewise.
13672         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13673         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13674         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13675         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13676         * debug/memset_chk.c (__memset_chk): Likewise.
13677         * debug/strcat_chk.c (__strcat_chk): Likewise.
13678         * debug/strncat_chk.c (__strncat_chk): Likewise.
13679         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13680         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13681         * dirent/dirfd.c (dirfd): Likewise.
13682         * dirent/getdents.c (__getdirentries): Likewise.
13683         * dirent/getdents64.c (getdirentries64): Likewise.
13684         * dirent/rewinddir.c (__rewinddir): Likewise.
13685         * dirent/seekdir.c (seekdir): Likewise.
13686         * dirent/telldir.c (telldir): Likewise.
13687         * elf/sln.c (makesymlinks): Likewise.
13688         (makesymlink): Likewise.
13689         * gmon/gmon.c (__moncontrol): Likewise.
13690         (__monstartup): Likewise.
13691         (write_hist): Likewise.
13692         (write_call_graph): Likewise.
13693         (write_bb_counts): Likewise.
13694         * grp/setgroups.c (setgroups): Likewise.
13695         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13696         * inet/inet_net.c (inet_network): Likewise.
13697         * inet/inet_netof.c (inet_netof): Likewise.
13698         * inet/rcmd.c (rresvport_af): Likewise.
13699         (rresvport): Likewise.
13700         * io/access.c (__access): Likewise.
13701         * io/chdir.c (__chdir): Likewise.
13702         * io/chmod.c (__chmod): Likewise.
13703         * io/chown.c (__chown): Likewise.
13704         * io/close.c (__close): Likewise.
13705         * io/creat.c (creat): Likewise.
13706         * io/creat64.c (creat64): Likewise.
13707         * io/dup.c (__dup): Likewise.
13708         * io/dup2.c (__dup2): Likewise.
13709         * io/dup3.c (__dup3): Likewise.
13710         * io/euidaccess.c (__euidaccess): Likewise.
13711         * io/faccessat.c (faccessat): Likewise.
13712         * io/fchmod.c (__fchmod): Likewise.
13713         * io/fchmodat.c (fchmodat): Likewise.
13714         * io/fchown.c (__fchown): Likewise.
13715         * io/fchownat.c (fchownat): Likewise.
13716         * io/fcntl.c (__fcntl): Likewise.
13717         * io/flock.c (__flock): Likewise.
13718         * io/fts.c (fts_load): Likewise.
13719         (fts_close): Likewise.
13720         (fts_read): Likewise.
13721         (fts_set): Likewise.
13722         (fts_children): Likewise.
13723         (fts_build): Likewise.
13724         (fts_stat): Likewise.
13725         (fts_sort): Likewise.
13726         (fts_alloc): Likewise.
13727         (fts_lfree): Likewise.
13728         (fts_palloc): Likewise.
13729         (fts_padjust): Likewise.
13730         (fts_maxarglen): Likewise.
13731         (fts_safe_changedir): Likewise.
13732         * io/getwd.c (getwd): Likewise.
13733         * io/isatty.c (__isatty): Likewise.
13734         * io/lchown.c (__lchown): Likewise.
13735         * io/link.c (__link): Likewise.
13736         * io/linkat.c (linkat): Likewise.
13737         * io/lseek.c (__libc_lseek): Likewise.
13738         * io/mkdir.c (__mkdir): Likewise.
13739         * io/mkdirat.c (mkdirat): Likewise.
13740         * io/mkfifo.c (mkfifo): Likewise.
13741         * io/mkfifoat.c (mkfifoat): Likewise.
13742         * io/open.c (__libc_open): Likewise.
13743         * io/open64.c (__libc_open64): Likewise.
13744         * io/readlink.c (__readlink): Likewise.
13745         * io/readlinkat.c (readlinkat): Likewise.
13746         * io/rmdir.c (__rmdir): Likewise.
13747         * io/symlink.c (__symlink): Likewise.
13748         * io/symlinkat.c (symlinkat): Likewise.
13749         * io/ttyname.c (ttyname): Likewise.
13750         * io/ttyname_r.c (__ttyname_r): Likewise.
13751         * io/umask.c (__umask): Likewise.
13752         * io/unlink.c (__unlink): Likewise.
13753         * io/unlinkat.c (unlinkat): Likewise.
13754         * io/utime.c (utime): Likewise.
13755         * libio/clearerr.c (clearerr): Likewise.
13756         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13757         * libio/feof.c (_IO_feof): Likewise.
13758         * libio/feof_u.c (feof_unlocked): Likewise.
13759         * libio/ferror.c (_IO_ferror): Likewise.
13760         * libio/ferror_u.c (ferror_unlocked): Likewise.
13761         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13762         * libio/fileno.c (__fileno): Likewise.
13763         * libio/fputc.c (fputc): Likewise.
13764         * libio/fputc_u.c (fputc_unlocked): Likewise.
13765         * libio/fputwc.c (fputwc): Likewise.
13766         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13767         * libio/freopen.c (freopen): Likewise.
13768         * libio/freopen64.c (freopen64): Likewise.
13769         * libio/fseek.c (fseek): Likewise.
13770         * libio/fseeko.c (fseeko): Likewise.
13771         * libio/fseeko64.c (fseeko64): Likewise.
13772         * libio/ftello.c (__ftello): Likewise.
13773         * libio/ftello64.c (ftello64): Likewise.
13774         * libio/fwide.c (fwide): Likewise.
13775         * libio/genops.c (_IO_un_link): Likewise.
13776         (_IO_link_in): Likewise.
13777         (_IO_least_marker): Likewise.
13778         (_IO_switch_to_main_get_area): Likewise.
13779         (_IO_switch_to_backup_area): Likewise.
13780         (_IO_switch_to_get_mode): Likewise.
13781         (_IO_free_backup_area): Likewise.
13782         (_IO_switch_to_put_mode): Likewise.
13783         (__overflow): Likewise.
13784         (__underflow): Likewise.
13785         (__uflow): Likewise.
13786         (_IO_setb): Likewise.
13787         (_IO_doallocbuf): Likewise.
13788         (_IO_default_underflow): Likewise.
13789         (_IO_default_uflow): Likewise.
13790         (_IO_default_xsputn): Likewise.
13791         (_IO_sgetn): Likewise.
13792         (_IO_default_xsgetn): Likewise.
13793         (_IO_sync): Likewise.
13794         (_IO_default_setbuf): Likewise.
13795         (_IO_default_seekpos): Likewise.
13796         (_IO_default_doallocate): Likewise.
13797         (_IO_init): Likewise.
13798         (_IO_old_init): Likewise.
13799         (_IO_default_sync): Likewise.
13800         (_IO_default_finish): Likewise.
13801         (_IO_default_seekoff): Likewise.
13802         (_IO_sputbackc): Likewise.
13803         (_IO_sungetc): Likewise.
13804         (_IO_set_column): Likewise.
13805         (_IO_set_column): Likewise.
13806         (_IO_adjust_column): Likewise.
13807         (_IO_get_column): Likewise.
13808         (_IO_init_marker): Likewise.
13809         (_IO_remove_marker): Likewise.
13810         (_IO_marker_difference): Likewise.
13811         (_IO_marker_delta): Likewise.
13812         (_IO_seekmark): Likewise.
13813         (_IO_unsave_markers): Likewise.
13814         (_IO_nobackup_pbackfail): Likewise.
13815         (_IO_default_pbackfail): Likewise.
13816         (_IO_default_seek): Likewise.
13817         (_IO_default_stat): Likewise.
13818         (_IO_default_read): Likewise.
13819         (_IO_default_write): Likewise.
13820         (_IO_default_showmanyc): Likewise.
13821         (_IO_default_imbue): Likewise.
13822         (_IO_iter_next): Likewise.
13823         (_IO_iter_file): Likewise.
13824         * libio/getc.c (_IO_getc): Likewise.
13825         * libio/getwc.c (_IO_getwc): Likewise.
13826         * libio/iofclose.c (_IO_new_fclose): Likewise.
13827         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13828         * libio/iofflush.c (_IO_fflush): Likewise.
13829         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13830         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13831         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13832         * libio/iofgets.c (_IO_fgets): Likewise.
13833         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13834         * libio/iofgetws.c (fgetws): Likewise.
13835         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13836         * libio/iofopen64.c (_IO_fopen64): Likewise.
13837         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13838         (_IO_cookie_write): Likewise.
13839         (_IO_cookie_seek): Likewise.
13840         (_IO_cookie_close): Likewise.
13841         (_IO_cookie_seekoff): Likewise.
13842         (_IO_old_cookie_seek): Likewise.
13843         * libio/iofputs.c (_IO_fputs): Likewise.
13844         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13845         * libio/iofputws.c (fputws): Likewise.
13846         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13847         * libio/iofread.c (_IO_fread): Likewise.
13848         * libio/iofread_u.c (__fread_unlocked): Likewise.
13849         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13850         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13851         * libio/ioftell.c (_IO_ftell): Likewise.
13852         * libio/iofwrite.c (_IO_fwrite): Likewise.
13853         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13854         * libio/iogets.c (_IO_gets): Likewise.
13855         * libio/iopadn.c (_IO_padn): Likewise.
13856         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13857         (_IO_new_popen): Likewise.
13858         (_IO_new_proc_close): Likewise.
13859         * libio/ioputs.c (_IO_puts): Likewise.
13860         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13861         (_IO_seekoff): Likewise.
13862         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13863         (_IO_seekpos): Likewise.
13864         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13865         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13866         * libio/ioungetc.c (_IO_ungetc): Likewise.
13867         * libio/ioungetwc.c (ungetwc): Likewise.
13868         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13869         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13870         * libio/iowpadn.c (_IO_wpadn): Likewise.
13871         * libio/libc_fatal.c (__libc_fatal): Likewise.
13872         * libio/memstream.c (__open_memstream): Likewise.
13873         (_IO_mem_sync): Likewise.
13874         (_IO_mem_finish): Likewise.
13875         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13876         (_IO_old_file_close_it): Likewise.
13877         (_IO_old_file_finish): Likewise.
13878         (_IO_old_file_fopen): Likewise.
13879         (_IO_old_file_attach): Likewise.
13880         (_IO_old_file_setbuf): Likewise.
13881         (_IO_old_do_write): Likewise.
13882         (old_do_write): Likewise.
13883         (_IO_old_file_underflow): Likewise.
13884         (_IO_old_file_overflow): Likewise.
13885         (_IO_old_file_sync): Likewise.
13886         (_IO_old_file_seekoff): Likewise.
13887         (_IO_old_file_write): Likewise.
13888         (_IO_old_file_xsputn): Likewise.
13889         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13890         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13891         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13892         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13893         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13894         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13895         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13896         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13897         (_IO_old_popen): Likewise.
13898         (_IO_old_proc_close): Likewise.
13899         * libio/oldpclose.c (__old_pclose): Likewise.
13900         * libio/pclose.c (__new_pclose): Likewise.
13901         * libio/peekc.c (_IO_peekc_locked): Likewise.
13902         * libio/putc.c (_IO_putc): Likewise.
13903         * libio/putc_u.c (putc_unlocked): Likewise.
13904         * libio/putchar.c (putchar): Likewise.
13905         * libio/putchar_u.c (putchar_unlocked): Likewise.
13906         * libio/putwc.c (putwc): Likewise.
13907         * libio/putwc_u.c (putwc_unlocked): Likewise.
13908         * libio/putwchar.c (putwchar): Likewise.
13909         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13910         * libio/rewind.c (rewind): Likewise.
13911         * libio/setbuf.c (setbuf): Likewise.
13912         * libio/setlinebuf.c (setlinebuf): Likewise.
13913         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13914         * libio/vscanf.c (_IO_vscanf): Likewise.
13915         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13916         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13917         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13918         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13919         (_IO_switch_to_main_wget_area): Likewise.
13920         (_IO_switch_to_wbackup_area): Likewise.
13921         (_IO_wsetb): Likewise.
13922         (_IO_wdefault_pbackfail): Likewise.
13923         (_IO_wdefault_finish): Likewise.
13924         (_IO_wdefault_uflow): Likewise.
13925         (__woverflow): Likewise.
13926         (__wuflow): Likewise.
13927         (__wunderflow): Likewise.
13928         (_IO_wdefault_xsputn): Likewise.
13929         (_IO_wdefault_xsgetn): Likewise.
13930         (_IO_wdoallocbuf): Likewise.
13931         (_IO_wdefault_doallocate): Likewise.
13932         (_IO_switch_to_wget_mode): Likewise.
13933         (_IO_free_wbackup_area): Likewise.
13934         (_IO_switch_to_wput_mode): Likewise.
13935         (_IO_sputbackwc): Likewise.
13936         (_IO_sungetwc): Likewise.
13937         (_IO_adjust_wcolumn): Likewise.
13938         (_IO_init_wmarker): Likewise.
13939         (_IO_wmarker_delta): Likewise.
13940         (_IO_seekwmark): Likewise.
13941         (_IO_unsave_wmarkers): Likewise.
13942         * libio/wmemstream.c (open_wmemstream): Likewise.
13943         (_IO_wmem_sync): Likewise.
13944         (_IO_wmem_finish): Likewise.
13945         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13946         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13947         * locale/programs/simple-hash.c (init_hash): Likewise.
13948         (delete_hash): Likewise.
13949         (insert_entry): Likewise.
13950         (set_entry): Likewise.
13951         (next_prime): Likewise.
13952         (is_prime): Likewise.
13953         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13954         (xmalloc): Likewise.
13955         (xrealloc): Likewise.
13956         * locale/programs/xstrdup.c (xstrdup): Likewise.
13957         * localedata/collate-test.c (xstrcoll): Likewise.
13958         * localedata/xfrm-test.c (xstrcmp): Likewise.
13959         * login/getlogin_r.c (__getlogin_r): Likewise.
13960         * login/getpt.c (__posix_openpt): Likewise.
13961         * login/login_tty.c (login_tty): Likewise.
13962         * login/setlogin.c (setlogin): Likewise.
13963         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13964         (mach_msg_destroy_port): Likewise.
13965         (mach_msg_destroy_memory): Likewise.
13966         * malloc/mcheck.c (flood): Likewise.
13967         * misc/acct.c (acct): Likewise.
13968         * misc/brk.c (__brk): Likewise.
13969         * misc/chflags.c (chflags): Likewise.
13970         * misc/chroot.c (chroot): Likewise.
13971         * misc/fchflags.c (fchflags): Likewise.
13972         * misc/fstab.c (getfsspec): Likewise.
13973         (getfsfile): Likewise.
13974         * misc/fsync.c (fsync): Likewise.
13975         * misc/ftruncate.c (__ftruncate): Likewise.
13976         * misc/ftruncate64.c (__ftruncate64): Likewise.
13977         * misc/getdomain.c (getdomainname): Likewise.
13978         (getdomainname): Likewise.
13979         * misc/gethostname.c (__gethostname): Likewise.
13980         * misc/getpass.c (getpass): Likewise.
13981         * misc/getttyent.c (skip): Likewise.
13982         (value): Likewise.
13983         * misc/gtty.c (gtty): Likewise.
13984         * misc/hsearch.c (hsearch): Likewise.
13985         (hcreate): Likewise.
13986         * misc/hsearch_r.c (__hcreate_r): Likewise.
13987         (__hdestroy_r): Likewise.
13988         * misc/ioctl.c (__ioctl): Likewise.
13989         * misc/mkdtemp.c (mkdtemp): Likewise.
13990         * misc/mkostemp.c (mkostemp): Likewise.
13991         * misc/mkostemp64.c (mkostemp64): Likewise.
13992         * misc/mkostemps.c (mkostemps): Likewise.
13993         * misc/mkostemps64.c (mkostemps64): Likewise.
13994         * misc/mkstemp.c (mkstemp): Likewise.
13995         * misc/mkstemp64.c (mkstemp64): Likewise.
13996         * misc/mkstemps.c (mkstemps): Likewise.
13997         * misc/mkstemps64.c (mkstemps64): Likewise.
13998         * misc/mktemp.c (__mktemp): Likewise.
13999         * misc/preadv.c (preadv): Likewise.
14000         * misc/preadv64.c (preadv64): Likewise.
14001         * misc/pwritev.c (pwritev): Likewise.
14002         * misc/pwritev64.c (pwritev64): Likewise.
14003         * misc/readv.c (__readv): Likewise.
14004         * misc/revoke.c (revoke): Likewise.
14005         * misc/setdomain.c (setdomainname): Likewise.
14006         * misc/setegid.c (setegid): Likewise.
14007         * misc/seteuid.c (seteuid): Likewise.
14008         * misc/sethostid.c (sethostid): Likewise.
14009         * misc/sethostname.c (sethostname): Likewise.
14010         * misc/setregid.c (__setregid): Likewise.
14011         * misc/setreuid.c (__setreuid): Likewise.
14012         * misc/sstk.c (sstk): Likewise.
14013         * misc/stty.c (stty): Likewise.
14014         * misc/syscall.c (syscall): Likewise.
14015         * misc/syslog.c (setlogmask): Likewise.
14016         * misc/truncate.c (__truncate): Likewise.
14017         * misc/truncate64.c (truncate64): Likewise.
14018         * misc/ualarm.c (ualarm): Likewise.
14019         * misc/usleep.c (usleep): Likewise.
14020         * misc/ustat.c (ustat): Likewise.
14021         * misc/writev.c (__writev): Likewise.
14022         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14023         * nptl/old_pthread_cond_broadcast.c
14024         (__pthread_cond_broadcast_2_0): Likewise.
14025         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14026         Likewise.
14027         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14028         Likewise.
14029         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14030         Likewise.
14031         * nptl/pt-raise.c (raise): Likewise.
14032         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14033         Likewise.
14034         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14035         * nptl/pthread_barrierattr_destroy.c
14036         (pthread_barrierattr_destroy): Likewise.
14037         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14038         Likewise.
14039         * nptl/pthread_barrierattr_setpshared.c
14040         (pthread_barrierattr_setpshared): Likewise.
14041         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14042         Likewise.
14043         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14044         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14045         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14046         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14047         Likewise.
14048         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14049         Likewise.
14050         * nptl/pthread_condattr_getpshared.c
14051         (pthread_condattr_getpshared): Likewise.
14052         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14053         Likewise.
14054         * nptl/pthread_condattr_setpshared.c
14055         (pthread_condattr_setpshared): Likewise.
14056         * nptl/pthread_detach.c (pthread_detach): Likewise.
14057         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14058         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14059         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14060         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14061         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14062         Likewise.
14063         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14064         Likewise.
14065         * nptl/pthread_mutex_getprioceiling.c
14066         (pthread_mutex_getprioceiling): Likewise.
14067         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14068         Likewise.
14069         * nptl/pthread_mutexattr_getprotocol.c
14070         (pthread_mutexattr_getprotocol): Likewise.
14071         * nptl/pthread_mutexattr_getpshared.c
14072         (pthread_mutexattr_getpshared): Likewise.
14073         * nptl/pthread_mutexattr_getrobust.c
14074         (pthread_mutexattr_getrobust): Likewise.
14075         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14076         Likewise.
14077         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14078         Likewise.
14079         * nptl/pthread_mutexattr_setprioceiling.c
14080         (pthread_mutexattr_setprioceiling): Likewise.
14081         * nptl/pthread_mutexattr_setprotocol.c
14082         (pthread_mutexattr_setprotocol): Likewise.
14083         * nptl/pthread_mutexattr_setpshared.c
14084         (pthread_mutexattr_setpshared): Likewise.
14085         * nptl/pthread_mutexattr_setrobust.c
14086         (pthread_mutexattr_setrobust): Likewise.
14087         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14088         Likewise.
14089         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14090         Likewise.
14091         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14092         Likewise.
14093         * nptl/pthread_rwlockattr_getkind_np.c
14094         (pthread_rwlockattr_getkind_np): Likewise.
14095         * nptl/pthread_rwlockattr_getpshared.c
14096         (pthread_rwlockattr_getpshared): Likewise.
14097         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14098         Likewise.
14099         * nptl/pthread_rwlockattr_setkind_np.c
14100         (pthread_rwlockattr_setkind_np): Likewise.
14101         * nptl/pthread_rwlockattr_setpshared.c
14102         (pthread_rwlockattr_setpshared): Likewise.
14103         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14104         Likewise.
14105         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14106         Likewise.
14107         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14108         Likewise.
14109         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14110         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14111         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14112         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14113         * nptl/sem_close.c (sem_close): Likewise.
14114         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14115         * nptl/sem_init.c (__old_sem_init): Likewise.
14116         * nptl/sigaction.c (__sigaction): Likewise.
14117         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14118         * posix/_exit.c (_exit): Likewise.
14119         * posix/alarm.c (alarm): Likewise.
14120         * posix/confstr.c (confstr): Likewise.
14121         * posix/fpathconf.c (__fpathconf): Likewise.
14122         * posix/getgroups.c (__getgroups): Likewise.
14123         * posix/getpgid.c (__getpgid): Likewise.
14124         * posix/group_member.c (__group_member): Likewise.
14125         * posix/pathconf.c (__pathconf): Likewise.
14126         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14127         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14128         * posix/setgid.c (__setgid): Likewise.
14129         * posix/setpgid.c (__setpgid): Likewise.
14130         * posix/setuid.c (__setuid): Likewise.
14131         * posix/sleep.c (__sleep): Likewise.
14132         * posix/sysconf.c (__sysconf): Likewise.
14133         * posix/times.c (__times): Likewise.
14134         * posix/uname.c (__uname): Likewise.
14135         * posix/waitid.c (__waitid): Likewise.
14136         * pwd/getpw.c (__getpw): Likewise.
14137         * resolv/base64.c (b64_pton): Likewise.
14138         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14139         * resolv/gethnamaddr.c (Dprintf): Likewise.
14140         (gethostbyname): Likewise.
14141         (gethostbyname2): Likewise.
14142         (gethostbyaddr): Likewise.
14143         (_sethtent): Likewise.
14144         (_gethtbyname): Likewise.
14145         (_gethtbyname2): Likewise.
14146         (_gethtbyaddr): Likewise.
14147         (map_v4v6_address): Likewise.
14148         (map_v4v6_hostent): Likewise.
14149         (addrsort): Likewise.
14150         (ht_sethostent): Likewise.
14151         (ht_gethostbyname): Likewise.
14152         (ht_gethostbyaddr): Likewise.
14153         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14154         (inet_net_ntop_ipv4): Likewise.
14155         * resolv/inet_neta.c (inet_neta): Likewise.
14156         * resolv/inet_ntop.c (inet_ntop): Likewise.
14157         (inet_ntop4): Likewise.
14158         (inet_ntop6): Likewise.
14159         * resolv/inet_pton.c (__inet_pton): Likewise.
14160         (inet_pton4): Likewise.
14161         (inet_pton6): Likewise.
14162         * resolv/res_debug.c (loc_aton): Likewise.
14163         (loc_ntoa): Likewise.
14164         * resource/getpriority.c (__getpriority): Likewise.
14165         * resource/getrusage.c (__getrusage): Likewise.
14166         * resource/nice.c (nice): Likewise.
14167         * resource/setpriority.c (__setpriority): Likewise.
14168         * resource/setrlimit64.c (setrlimit64): Likewise.
14169         * resource/vlimit.c (vlimit): Likewise.
14170         * resource/vtimes.c (vtimes): Likewise.
14171         * rt/aio_error.c (aio_error): Likewise.
14172         * rt/aio_return.c (aio_return): Likewise.
14173         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14174         * signal/kill.c (__kill): Likewise.
14175         * signal/killpg.c (killpg): Likewise.
14176         * signal/raise.c (raise): Likewise.
14177         * signal/sigaction.c (__sigaction): Likewise.
14178         * signal/sigaddset.c (sigaddset): Likewise.
14179         * signal/sigaltstack.c (sigaltstack): Likewise.
14180         * signal/sigandset.c (sigandset): Likewise.
14181         * signal/sigblock.c (__sigblock): Likewise.
14182         * signal/sigdelset.c (sigdelset): Likewise.
14183         * signal/sigempty.c (sigemptyset): Likewise.
14184         * signal/sigfillset.c (sigfillset): Likewise.
14185         * signal/sighold.c (sighold): Likewise.
14186         * signal/sigignore.c (sigignore): Likewise.
14187         * signal/sigintr.c (siginterrupt): Likewise.
14188         * signal/sigisempty.c (sigisemptyset): Likewise.
14189         * signal/sigismem.c (sigismember): Likewise.
14190         * signal/signal.c (signal): Likewise.
14191         * signal/sigorset.c (sigorset): Likewise.
14192         * signal/sigpause.c (__sigpause): Likewise.
14193         * signal/sigpending.c (sigpending): Likewise.
14194         * signal/sigprocmask.c (__sigprocmask): Likewise.
14195         * signal/sigrelse.c (sigrelse): Likewise.
14196         * signal/sigreturn.c (__sigreturn): Likewise.
14197         * signal/sigset.c (sigset): Likewise.
14198         * signal/sigsetmask.c (__sigsetmask): Likewise.
14199         * signal/sigstack.c (sigstack): Likewise.
14200         * signal/sigsuspend.c (__sigsuspend): Likewise.
14201         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14202         * signal/sysv_signal.c (__sysv_signal): Likewise.
14203         * socket/accept.c (accept): Likewise.
14204         * socket/accept4.c (__libc_accept4): Likewise.
14205         * socket/bind.c (__bind): Likewise.
14206         * socket/connect.c (__connect): Likewise.
14207         * socket/getpeername.c (getpeername): Likewise.
14208         * socket/getsockname.c (__getsockname): Likewise.
14209         * socket/getsockopt.c (getsockopt): Likewise.
14210         * socket/listen.c (__listen): Likewise.
14211         * socket/recv.c (__recv): Likewise.
14212         * socket/recvmsg.c (__recvmsg): Likewise.
14213         * socket/send.c (__send): Likewise.
14214         * socket/sendmsg.c (__sendmsg): Likewise.
14215         * socket/shutdown.c (shutdown): Likewise.
14216         * socket/sockatmark.c (sockatmark): Likewise.
14217         * socket/socket.c (__socket): Likewise.
14218         * stdio-common/ctermid.c (ctermid): Likewise.
14219         * stdio-common/cuserid.c (cuserid): Likewise.
14220         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14221         * stdio-common/remove.c (remove): Likewise.
14222         * stdio-common/rename.c (rename): Likewise.
14223         * stdio-common/renameat.c (renameat): Likewise.
14224         * stdio-common/tempname.c (__gen_tempname): Likewise.
14225         * stdio-common/xbug.c (InitBuffer): Likewise.
14226         (AppendToBuffer): Likewise.
14227         (ReadFile): Likewise.
14228         * stdlib/a64l.c (a64l): Likewise.
14229         * stdlib/drand48_r.c (drand48_r): Likewise.
14230         * stdlib/getcontext.c (getcontext): Likewise.
14231         * stdlib/getenv.c (getenv): Likewise.
14232         * stdlib/l64a.c (l64a): Likewise.
14233         * stdlib/llabs.c (llabs): Likewise.
14234         * stdlib/lldiv.c (lldiv): Likewise.
14235         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14236         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14237         * stdlib/putenv.c (putenv): Likewise.
14238         * stdlib/random.c (__srandom): Likewise.
14239         (__initstate): Likewise.
14240         (__setstate): Likewise.
14241         * stdlib/random_r.c (__srandom_r): Likewise.
14242         (__setstate_r): Likewise.
14243         (__random_r): Likewise.
14244         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14245         * stdlib/setcontext.c (setcontext): Likewise.
14246         * stdlib/setenv.c (setenv): Likewise.
14247         (unsetenv): Likewise.
14248         * stdlib/srand48.c (srand48): Likewise.
14249         * stdlib/srand48_r.c (__srand48_r): Likewise.
14250         * stdlib/swapcontext.c (swapcontext): Likewise.
14251         * stdlib/system.c (__libc_system): Likewise.
14252         * stdlib/tst-strtod.c (expand): Likewise.
14253         * stdlib/tst-strtol.c (expand): Likewise.
14254         * stdlib/tst-strtoll.c (expand): Likewise.
14255         * streams/fattach.c (fattach): Likewise.
14256         * streams/fdetach.c (fdetach): Likewise.
14257         * streams/getmsg.c (getmsg): Likewise.
14258         * streams/isastream.c (isastream): Likewise.
14259         * string/ffs.c (__ffs): Likewise.
14260         * string/ffsll.c (ffsll): Likewise.
14261         * string/memcmp.c (memcmp_common_alignment): Likewise.
14262         (memcmp_not_common_alignment): Likewise.
14263         (MEMCMP): Likewise.
14264         * string/memcpy.c (memcpy): Likewise.
14265         * string/memmove.c (MEMMOVE): Likewise.
14266         * string/memset.c (memset): Likewise.
14267         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14268         * string/strchrnul.c (STRCHRNUL): Likewise.
14269         * string/strerror.c (strerror): Likewise.
14270         * string/strndup.c (__strndup): Likewise.
14271         * string/strverscmp.c (__strverscmp): Likewise.
14272         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14273         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14274         (clnttcp_freeres): Likewise.
14275         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14276         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14277         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14278         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14279         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14280         (xdr_callhdr): Likewise.
14281         * sunrpc/rpcinfo.c (udpping): Likewise.
14282         (tcpping): Likewise.
14283         (pstatus): Likewise.
14284         (pmapdump): Likewise.
14285         (brdcst): Likewise.
14286         (deletereg): Likewise.
14287         (getprognum): Likewise.
14288         (getvers): Likewise.
14289         (get_inet_address): Likewise.
14290         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14291         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14292         (svcudp_stat): Likewise.
14293         (svcudp_recv): Likewise.
14294         (svcudp_reply): Likewise.
14295         (svcudp_getargs): Likewise.
14296         (svcudp_freeargs): Likewise.
14297         (svcudp_destroy): Likewise.
14298         * sunrpc/xdr.c (xdr_bytes): Likewise.
14299         (xdr_netobj): Likewise.
14300         (xdr_string): Likewise.
14301         (xdr_wrapstring): Likewise.
14302         * sunrpc/xdr_float.c (xdr_float): Likewise.
14303         (xdr_double): Likewise.
14304         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14305         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14306         * sysvipc/ftok.c (ftok): Likewise.
14307         * sysvipc/msgctl.c (msgctl): Likewise.
14308         * sysvipc/msgget.c (msgget): Likewise.
14309         * sysvipc/msgrcv.c (msgrcv): Likewise.
14310         * sysvipc/msgsnd.c (msgsnd): Likewise.
14311         * sysvipc/semget.c (semget): Likewise.
14312         * sysvipc/semop.c (semop): Likewise.
14313         * sysvipc/shmat.c (shmat): Likewise.
14314         * sysvipc/shmctl.c (shmctl): Likewise.
14315         * sysvipc/shmdt.c (shmdt): Likewise.
14316         * sysvipc/shmget.c (shmget): Likewise.
14317         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14318         * termios/speed.c (cfgetospeed): Likewise.
14319         (cfgetispeed): Likewise.
14320         (cfsetospeed): Likewise.
14321         (cfsetispeed): Likewise.
14322         * termios/tcflow.c (tcflow): Likewise.
14323         * termios/tcflush.c (tcflush): Likewise.
14324         * termios/tcgetattr.c (__tcgetattr): Likewise.
14325         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14326         * termios/tcgetsid.c (tcgetsid): Likewise.
14327         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14328         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14329         * time/adjtime.c (__adjtime): Likewise.
14330         * time/dysize.c (dysize): Likewise.
14331         * time/ftime.c (ftime): Likewise.
14332         * time/getitimer.c (__getitimer): Likewise.
14333         * time/gettimeofday.c (__gettimeofday): Likewise.
14334         * time/gmtime.c (__gmtime_r): Likewise.
14335         (gmtime): Likewise.
14336         * time/localtime.c (__localtime_r): Likewise.
14337         (localtime): Likewise.
14338         * time/offtime.c (__offtime): Likewise.
14339         * time/settimeofday.c (__settimeofday): Likewise.
14340         * time/stime.c (stime): Likewise.
14341         * time/strftime_l.c (tm_diff): Likewise.
14342         (iso_week_days): Likewise.
14343         * time/strptime.c (strptime): Likewise.
14344         * time/time.c (time): Likewise.
14345         * time/timespec_get.c (timespec_get): Likewise.
14346         * time/tzset.c (tzset_internal): Likewise.
14347         (compute_change): Likewise.
14348         (__tz_compute): Likewise.
14349         * wcsmbs/btowc.c (__btowc): Likewise.
14350         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14351         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14352         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14353         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14354         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14355         * wcsmbs/wcscat.c (__wcscat): Likewise.
14356         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14357         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14358         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14359         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14360         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14361         * wcsmbs/wcslen.c (__wcslen): Likewise.
14362         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14363         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14364         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14365         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14366         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14367         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14368         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14369         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14370         * wcsmbs/wcstok.c (wcstok): Likewise.
14371         * wcsmbs/wctob.c (wctob): Likewise.
14372         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14373         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14374         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14375         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14376         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14377         * wcsmbs/wmemset.c (__wmemset): Likewise.
14378         * wctype/wcfuncs.c (__towlower): Likewise.
14379         (__towupper): Likewise.
14381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14382         (lll_unlock_elision): Add adapt_count parameter.
14384 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14386         * sysdeps/nptl/configure.ac: Do not give errors based on the
14387         results of top-level configure tests.
14388         * sysdeps/nptl/configure: Regenerated.
14390         * configure.ac (libc_cv_Bgroup): Remove configure test.
14391         * configure: Regenerated.
14392         * config.make.in (have-Bgroup): Remove variable.
14394         * configure.ac (sizeof_long_double): Remove configure test.
14395         * configure: Regenerated.
14396         * config.make.in (sizeof-long-double): Remove variable.
14398         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14399         * configure: Regenerated.
14400         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14401         variable.
14402         (exceptions): Likewise.
14403         * sysdeps/arm/configure: Regenerated.
14404         * config.make.in (exceptions): Remove variable.
14405         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14406         $(exceptions).
14407         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14408         (CFLAGS-vdprintf_chk.c): Likewise.
14409         (CFLAGS-printf_chk.c): Likewise.
14410         (CFLAGS-fprintf_chk.c): Likewise.
14411         (CFLAGS-vprintf_chk.c): Likewise.
14412         (CFLAGS-vfprintf_chk.c): Likewise.
14413         (CFLAGS-gets_chk.c): Likewise.
14414         (CFLAGS-fgets_chk.c): Likewise.
14415         (CFLAGS-fgets_u_chk.c): Likewise.
14416         (CFLAGS-fread_chk.c): Likewise.
14417         (CFLAGS-fread_u_chk.c): Likewise.
14418         (CFLAGS-wprintf_chk.c): Likewise.
14419         (CFLAGS-fwprintf_chk.c): Likewise.
14420         (CFLAGS-vwprintf_chk.c): Likewise.
14421         (CFLAGS-vfwprintf_chk.c): Likewise.
14422         (CFLAGS-fgetws_chk.c): Likewise.
14423         (CFLAGS-fgetws_u_chk.c): Likewise.
14424         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14425         (CFLAGS-fputc.c): Likewise.
14426         (CFLAGS-fputwc.c): Likewise.
14427         (CFLAGS-freopen64.c): Likewise.
14428         (CFLAGS-freopen.c): Likewise.
14429         (CFLAGS-fseek.c): Likewise.
14430         (CFLAGS-fseeko64.c): Likewise.
14431         (CFLAGS-fseeko.c): Likewise.
14432         (CFLAGS-ftello64.c): Likewise.
14433         (CFLAGS-ftello.c): Likewise.
14434         (CFLAGS-fwide.c): Likewise.
14435         (CFLAGS-genops.c): Likewise.
14436         (CFLAGS-getc.c): Likewise.
14437         (CFLAGS-getchar.c): Likewise.
14438         (CFLAGS-getwc.c): Likewise.
14439         (CFLAGS-getwchar.c): Likewise.
14440         (CFLAGS-iofclose.c): Likewise.
14441         (CFLAGS-iofflush.c): Likewise.
14442         (CFLAGS-iofgetpos64.c): Likewise.
14443         (CFLAGS-iofgetpos.c): Likewise.
14444         (CFLAGS-iofgets.c): Likewise.
14445         (CFLAGS-iofgetws.c): Likewise.
14446         (CFLAGS-iofputs.c): Likewise.
14447         (CFLAGS-iofputws.c): Likewise.
14448         (CFLAGS-iofread.c): Likewise.
14449         (CFLAGS-iofsetpos64.c): Likewise.
14450         (CFLAGS-iofsetpos.c): Likewise.
14451         (CFLAGS-ioftell.c): Likewise.
14452         (CFLAGS-iofwrite.c): Likewise.
14453         (CFLAGS-iogetdelim.c): Likewise.
14454         (CFLAGS-iogetline.c): Likewise.
14455         (CFLAGS-iogets.c): Likewise.
14456         (CFLAGS-iogetwline.c): Likewise.
14457         (CFLAGS-ioputs.c): Likewise.
14458         (CFLAGS-ioseekoff.c): Likewise.
14459         (CFLAGS-ioseekpos.c): Likewise.
14460         (CFLAGS-iosetbuffer.c): Likewise.
14461         (CFLAGS-iosetvbuf.c): Likewise.
14462         (CFLAGS-ioungetc.c): Likewise.
14463         (CFLAGS-ioungetwc.c): Likewise.
14464         (CFLAGS-oldfileops.c): Likewise.
14465         (CFLAGS-oldiofclose.c): Likewise.
14466         (CFLAGS-oldiofgetpos64.c): Likewise.
14467         (CFLAGS-oldiofgetpos.c): Likewise.
14468         (CFLAGS-oldiofsetpos64.c): Likewise.
14469         (CFLAGS-oldiofsetpos.c): Likewise.
14470         (CFLAGS-peekc.c): Likewise.
14471         (CFLAGS-putc.c): Likewise.
14472         (CFLAGS-putchar.c): Likewise.
14473         (CFLAGS-putwc.c): Likewise.
14474         (CFLAGS-putwchar.c): Likewise.
14475         (CFLAGS-rewind.c): Likewise.
14476         (CFLAGS-wfileops.c): Likewise.
14477         (CFLAGS-wgenops.c): Likewise.
14478         (CFLAGS-oldiofopen.c): Likewise.
14479         (CFLAGS-iofopen.c): Likewise.
14480         (CFLAGS-iofopen64.c): Likewise.
14481         (CFLAGS-oldtmpfile.c): Likewise.
14482         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14483         (CFLAGS-fprintf.c): Likewise.
14484         (CFLAGS-printf.c): Likewise.
14485         (CFLAGS-vfwprintf.c): Likewise.
14486         (CFLAGS-vfscanf.c): Likewise.
14487         (CFLAGS-vfwscanf.c): Likewise.
14488         (CFLAGS-fscanf.c): Likewise.
14489         (CFLAGS-scanf.c): Likewise.
14490         (CFLAGS-isoc99_vfscanf.c): Likewise.
14491         (CFLAGS-isoc99_vscanf.c): Likewise.
14492         (CFLAGS-isoc99_fscanf.c): Likewise.
14493         (CFLAGS-isoc99_scanf.c): Likewise.
14494         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14495         (CFLAGS-isoc99_fwscanf.c): Likewise.
14496         (CFLAGS-isoc99_vwscanf.c): Likewise.
14497         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14499         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14500         after mkstemp64.
14501         * login/tst-utmp.c (do_prepare): Likewise.
14502         * rt/tst-aio.c (do_prepare): Likewise.
14503         * rt/tst-aio64.c (do_prepare): Likewise.
14505 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14507         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14508         (__lll_lock_elision): Remove adapt_count decrement...
14509         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14510         (__lll_trylock_elision): Likewise.
14511         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14512         (__lll_unlock_elision): ... to here. And utilize
14513         new adapt_count parameter.
14514         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14515         (__lll_unlock_elision): Update to include adapt_count
14516         parameter.
14517         (lll_unlock_elision): Pass pointer to adapt_count
14518         variable.
14520 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14522         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14523         Add elision adapt_count parameter to list of arguments.
14524         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14525         (lll_unlock_elision): Update with new parameter list
14526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14527         (lll_unlock_elision): Likewise.
14528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14529         (lll_unlock_elision): Likewise.
14531 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14533         [BZ #19122]
14534         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14535         attribute_hidden.
14537         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14538         attribute_hidden.
14539         [IS_IN (rtld)] (__strdup): Likewise.
14540         [IS_IN (rtld)] (__strerror_r): Likewise.
14541         [IS_IN (rtld)] (__strsep_g): Likewise.
14542         [IS_IN (rtld)] (memchr): Likewise.
14543         [IS_IN (rtld)] (memcmp): Likewise.
14544         [IS_IN (rtld)] (memcpy): Likewise.
14545         [IS_IN (rtld)] (memmove): Likewise.
14546         [IS_IN (rtld)] (memset): Likewise.
14547         [IS_IN (rtld)] (rawmemchr): Likewise.
14548         [IS_IN (rtld)] (stpcpy): Likewise.
14549         [IS_IN (rtld)] (strchr): Likewise.
14550         [IS_IN (rtld)] (strcmp): Likewise.
14551         [IS_IN (rtld)] (strlen): Likewise.
14552         [IS_IN (rtld)] (strnlen): Likewise.
14553         [IS_IN (rtld)] (strsep): Likewise.
14555         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14556         attribute_hidden.
14557         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14559         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14560         attribute_hidden.
14561         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14563         * include/setjmp.h (__longjmp): Add attribute_hidden.
14564         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14566         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14567         Add attribute_hidden.
14569         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14570         [IS_IN (rtld)] (__open): Likewise.
14571         [IS_IN (rtld)] (__fcntl): Likewise.
14573         * include/dirent.h (__opendirat): Add attribute_hidden.
14574         (__getdents): Likewise.
14575         (__getdents64): Likewise.
14576         (__alloc_dir): Likewise.
14577         [IS_IN (rtld)] (__closedir): Likewise.
14578         [IS_IN (rtld)] (__fdopendir): Likewise.
14579         [IS_IN (rtld)] (__readdir): Likewise.
14580         [IS_IN (rtld)] (__readdir64): Likewise.
14581         [IS_IN (rtld)] (__rewinddir): Likewise.
14583         * include/dlfcn.h (_dl_catch_error): Moved to ...
14584         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14585         attribute_hidden.
14587         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14588         (_itoa_word): Likewise.
14590         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14591         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14592         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14593         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14594         (_dl_higher_prime_number): Likewise.
14595         (_dl_debug_printf_c): Likewise.
14596         (_dl_signal_cerror): Likewise.
14597         (_dl_receive_error): Likewise.
14598         (_dl_reloc_bad_type): Likewise.
14599         (_dl_resolve_conflicts): Likewise.
14600         (_dl_check_all_versions): Likewise.
14601         (_dl_check_map_versions): Likewise.
14602         (_dl_sort_fini): Likewise.
14603         (_dl_debug_initialize): Likewise.
14604         (_dl_init_paths): Likewise.
14605         (_dl_show_auxv): Likewise.
14606         (_dl_next_ld_env_entry): Likewise.
14607         (_dl_important_hwcaps): Likewise.
14608         (_dl_load_cache_lookup): Likewise.
14609         (_dl_update_slotinfo): Likewise.
14610         (_dl_show_scope): Likewise.
14612         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14613         attribute_hidden.
14614         (_wordcopy_fwd_dest_aligned): Likewise.
14615         (_wordcopy_bwd_aligned): Likewise.
14616         (_wordcopy_bwd_dest_aligned): Likewise.
14618         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14619         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14620         Likewise.
14621         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14622         Likewise.
14623         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14625 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14627         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14628         GCC 5 requirement.
14630 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14632         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14633         test.
14634         * sysdeps/i386/configure: Regenerated.
14635         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14636         code unconditional.
14638         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14639         test.
14640         (libc_cv_asm_popsection_directive): Likewise.
14641         * configure: Regenerated.
14642         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14643         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14644         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14645         (__make_section_unallocated): Make definition unconditional.
14646         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14647         Remove conditional definition.
14648         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14649         (__make_section_unallocated): Likewise.
14651         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14652         * configure: Regenerated.
14653         * config.make.in (static-libgcc): Remove variable.
14654         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14655         $(static-libgcc).
14656         (build-module-helper): Likewise.
14658         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14659         * configure: Regenerated.
14661 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14663         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14664         (struct char_buffer): New type.
14665         (char_buffer_start, char_buffer_size, char_buffer_error)
14666         (char_buffer_rewind, char_buffer_add): New functions.
14667         (ADDW): Remove macro, replaced by the char_buffer_add function.
14668         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14669         of extend_alloca.  Make control flow more explicit.
14671 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14673         [BZ #19137]
14674         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14675         Add -fomit-frame-pointer.
14676         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14678 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14680         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14681         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14683         only if !__GNUC_PREREQ (5,0).
14684         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14685         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14686         (INTERNAL_SYSCALL_NCS): Likewise.
14687         (LOADREGS_0): New macro for GCC 5.
14688         (ASMARGS_0): Likewise.
14689         (LOADREGS_1): Likewise.
14690         (ASMARGS_1): Likewise.
14691         (LOADREGS_2): Likewise.
14692         (ASMARGS_2): Likewise.
14693         (LOADREGS_3): Likewise.
14694         (ASMARGS_3): Likewise.
14695         (LOADREGS_4): Likewise.
14696         (ASMARGS_4): Likewise.
14697         (LOADREGS_5): Likewise.
14698         (ASMARGS_5): Likewise.
14699         (LOADREGS_6): Likewise.
14700         (ASMARGS_6): Likewise.
14702 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14704         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14705         -fomit-frame-pointer.
14706         (CFLAGS-mmap64.c): Likewise.
14707         (CFLAGS-semtimedop.c): Likewise.
14708         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14709         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14711         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14713 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14715         [BZ #18928]
14716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14717         _dl_pointer_guard member.
14718         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14719         initializer.
14720         (security_init): Always set up pointer guard.
14721         (process_envvars): Do not process LD_POINTER_GUARD.
14723 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14725         [BZ #19134]
14726         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14727         (.LC2): Likewise.
14728         (.LC3): Likewise.
14729         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14731 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14733         [BZ #19129]
14734         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14735         r0 and r1.
14737 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14739         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14741 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14743         * include/stap-probe.h: Fix macro definition formatting.
14745 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14747         [BZ #19074]
14748         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14749         load and store num_ifs.
14751 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14753         [BZ #18822]
14754         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14755         (__sched_getaffinity_new): Add libc_hidden_proto and
14756         libc_hidden_def.
14758 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14760         [BZ #19007]
14761         * scripts/localplt.awk: Also allow GOT references.
14762         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14763         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14764         with "+ REL R_386_GLOB_DAT".
14765         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14766         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14768 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14770         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14771         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14772         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14773         Likewise.
14774         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14775         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14776         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14777         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14778         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14779         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14780         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14781         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14782         Likewise.
14783         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14785 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14787         [BZ #19125]
14788         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14789         <math_private.h> and <stdint.h>.
14790         (__llround): Avoid conversions to and from long long int, and
14791         subtractions, where those might raise spurious exceptions.
14792         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14793         <math_private.h> and <stdint.h>.
14794         (__llroundf): Avoid conversions to and from long long int, and
14795         subtractions, where those might raise spurious exceptions.
14797 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14799         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14800         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14801         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14802         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14803         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14804         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14805         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14806         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14807         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14808         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14809         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14810         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14811         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14812         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14813         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14815         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14816         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14817         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14818         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14820         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14821         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14822         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14823         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14824         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14825         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14826         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14827         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14828         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14829         (__xstat64_conv): Likewise.
14830         (__xstat32_conv): Likewise.
14832 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14834         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14835         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14836         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14837         <sysdeps/unix/sysv/linux/sysdep.h>.
14838         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14839         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14840         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14841         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14842         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14843         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14844         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14845         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14846         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14851         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14852         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14854         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14855         (sysdep-dl-routines): Add sysdep.
14856         [$(subdir) == nptl] (libpthread-routines): Likewise.
14857         [$(subdir) == rt] (librt-routines): Likewise.
14858         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14859         PIC when branching to SYSCALL_ERROR_LABEL.
14860         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14862         <sysdeps/unix/sysv/linux/sysdep.h>.
14863         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14864         (SYSCALL_ERROR_ERRNO): Removed.
14865         (SYSCALL_ERROR_HANDLER): Changed to empty.
14866         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14867         (__syscall_error): New prototype.
14868         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14869         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14871 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14873         [BZ #19124]
14874         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14875         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14876         _dl_runtime_resolve_avx.
14877         (_dl_runtime_profile_avx512): Make it a hidden alias of
14878         _dl_runtime_profile_avx.
14880 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14882         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14883         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14884         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14885         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14887         [BZ #16422]
14888         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14889         New configure test.
14890         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14891         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14892         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14893         <math_private.h> and <stdint.h>.
14894         (__llrint): Avoid conversions to long long int where those might
14895         raise spurious exceptions.
14896         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14897         <math_private.h> and <stdint.h>.
14898         (__llrintf): Avoid conversions to long long int where those might
14899         raise spurious exceptions.
14901 2015-10-12  Andreas Schwab  <schwab@suse.de>
14903         [BZ #18969]
14904         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14905         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14906         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14907         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14908         $(gen-locales).
14909         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14910         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14911         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14912         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14913         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14914         $(gen-locales).
14915         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14916         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14917         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14918         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14919         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14920         ($(objpfx)tst-ftell-active-handler.out)
14921         ($(objpfx)tst-ftell-append.out)
14922         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14923         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14924         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14925         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14926         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14927         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14928         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14929         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14930         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14931         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14932         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14933         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14934         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14935         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14936         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14937         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14938         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14939         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14940         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14941         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14942         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14943         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14944         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14945         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14946         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14947         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14948         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14949         $(gen-locales).
14950         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14951         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14952         $(gen-locales).
14953         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14954         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14955         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14956         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14957         $(gen-locales).
14958         * libio/tst_wprintf2.c (main): Use explicit locale.
14959         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14961 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14963         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14964         __msg_sig_post.
14965         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14967 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14969         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14970         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14972         * sysdeps/arm/libm-test-ulps: Regenerated.
14974         [BZ #15470]
14975         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14977         [BZ #16399]
14978         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14979         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14980         and <fix-fp-int-convert-overflow.h>.
14981         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14983         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14984         and <fix-fp-int-convert-overflow.h>.
14985         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14987         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14988         <fix-fp-int-convert-overflow.h>.
14989         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14991         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14992         <fix-fp-int-convert-overflow.h>.
14993         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14994         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14995         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14996         and <fix-fp-int-convert-overflow.h>.
14997         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14998         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14999         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15000         <limits.h> and <fix-fp-int-convert-overflow.h>.
15001         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15002         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15003         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15004         and <fix-fp-int-convert-overflow.h>.
15005         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15006         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15007         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15008         and <fix-fp-int-convert-overflow.h>.
15009         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15010         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15011         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15013 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15015         [BZ #18589]
15016         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15017         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15018         $(gen-locales).
15020 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15021             Phil Blundell <pb@pbcl.net>
15023         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15024         * nptl/tst-cancel26.c: New file.
15025         * nptl/tst-cancel27.c: Likewise.
15027 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15029         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15030         __ILP32__ isn't defined.
15031         (lrint): Likewise.
15032         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15033         (lrintf): Likewise.
15034         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15035         (lrintl): Likewise.
15036         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15037         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15038         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15040 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15043         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15046         file.
15047         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15048         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15050 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15052         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15053         configure test.
15054         * sysdeps/i386/configure: Regenerated.
15055         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15056         configure test.
15057         * sysdeps/x86_64/configure: Regenerated.
15058         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15059         Make code unconditional.
15061         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15062         test.
15063         * sysdeps/i386/configure: Regenerated.
15064         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15065         test.
15066         * sysdeps/x86_64/configure: Regenerated.
15067         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15068         Make code unconditional.
15069         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15070         Likewise.
15071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15072         Likewise.
15073         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15074         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15075         code unconditional.
15076         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15077         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15078         code unconditional.
15079         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15080         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15081         code unconditional.
15082         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15083         code unconditional.
15084         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15085         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15086         code unconditional.
15087         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15089         code unconditional.
15090         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15091         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15092         code unconditional.
15093         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15094         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15095         code unconditional.
15096         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15097         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15099         [BZ #19095]
15100         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15101         mantissa to long int before shifting left.
15103 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15105         [BZ #19094]
15106         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15107         <limits.h>.
15108         (__lrint) [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_llrintl.c: Include <fenv.h> and
15111         <limits.h>.
15112         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15113         when result overflows but exception would not result from cast.
15114         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15115         <limits.h>.
15116         (__lrintl) [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_llrintl.c: Include <fenv.h> and
15119         <limits.h>.
15120         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15121         when result overflows but exception would not result from cast.
15122         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15123         <limits.h>.
15124         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15125         when result overflows but exception would not result from cast.
15126         * math/libm-test.inc (lrint_test_data): Add more tests.
15127         (llrint_test_data): Likewise.
15129 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15131         [BZ #18872]
15132         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15133         Move out from under [$(run-built-tests) = yes] conditional.
15134         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15135         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15137 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15139         [BZ #18589]
15140         * string/Makefile (tests): Add bug-strcoll2.
15141         (LOCALES): Add cs_CZ.UTF-8.
15142         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15144         [BZ #18589]
15145         * string/bug-strcoll2.c: New file.
15146         * locale/categories.def: Revert commit
15147         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15148         * locale/langinfo.h: Likewise.
15149         * locale/localeinfo.h: Likewise.
15150         * locale/C-collate.c: Likewise.
15151         * locale/programs/ld-collate.c (collate_output): Likewise.
15152         * string/strcoll_l.c (STRDIFF): Likewise.
15153         (STRCOLL): Likewise.
15154         * wcsmbs/wcscoll_l.c: Likewise.
15156 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15158         * math/libm-test.inc (lround_test_data): Do not expect the absence
15159         of "inexact" for some tests with non-integer arguments.
15160         (llround_test_data): Likewise.
15162         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15163         test.
15164         (libc_cv_cc_sse2avx): Likewise.
15165         * sysdeps/i386/configure: Regenerated.
15166         * sysdeps/i386/i686/multiarch/Makefile
15167         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15168         [$(subdir) = math].
15169         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15170         code unconditional.
15171         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15172         Likewise.
15173         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15174         Likewise.
15175         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15176         Likewise.
15177         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15178         test.
15179         (libc_cv_cc_sse2avx): Likewise.
15180         * sysdeps/x86_64/configure: Regenerated.
15181         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15182         unconditional.
15183         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15184         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15185         unconditional.
15186         (_dl_runtime_profile)
15187         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15188         conditional code.
15189         * sysdeps/x86_64/fpu/multiarch/Makefile
15190         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15193         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15194         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15195         * sysdeps/x86_64/fpu/multiarch/e_log.c
15196         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15197         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15198         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15199         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15200         Likewise.
15201         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15202         Likewise.
15203         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15204         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15205         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15206         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15207         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15208         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15209         (HAVE_SSE2AVX_SUPPORT): Likewise.
15211 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15213         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15214         instead of #pragma optimize.
15216 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15218         [BZ #17195]
15219         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15220         as is similarly done in systrim and _int_free already.
15222 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15224         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15226 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15228         [BZ #19088]
15229         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15230         <limits.h>.
15231         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15232         overflows but exception would not result from cast.
15233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15234         and <limits.h>.
15235         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15236         overflows but exception would not result from cast.
15237         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15238         <limits.h>.
15239         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15240         overflows but exception would not result from cast.
15241         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15242         <limits.h>.
15243         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15244         overflows but exception would not result from cast.
15245         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15246         <limits.h>.
15247         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15248         overflows but exception would not result from cast.
15249         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15250         <limits.h>.
15251         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15252         overflows but exception would not result from cast.
15253         * math/libm-test.inc (lround_test_data): Add more tests.
15254         (llround_test_data): Likewise.
15256 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15258         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15259         (CFLAGS-ialloc.c): Ditto.
15260         (CFLAGS-scheck.c): Ditto.
15262 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15264         [BZ #19086]
15265         * manual/filesys.texi (Storage Allocation): Fix argument order for
15266         posix_fallocate64.
15268 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15270         [BZ #19085]
15271         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15272         exponent below 48 inside case for non-overflowing exponent.
15273         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15275 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15277         * iconvdata/cp737.h (from_idx): Add const.
15278         * iconvdata/cp775.h (from_idx): Likewise.
15280 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15282         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15283         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15284         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15286         [BZ #19079]
15287         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15288         file, conditioned on [!_LP64].
15289         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15290         [!_LP64] (__lround): Do not define as function or alias.
15291         [!_LP64] (lround): Likewise.
15292         [!_LP64] (__lroundl): Likewise.
15293         [!_LP64] (lroundl): Likewise.
15294         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15295         macro.
15296         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15297         Likewise.
15299 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15301         * math/libm-test.inc (lrint_test_data): Add more tests.
15302         (llrint_test_data): Likewise.
15303         (lround_test_data): Likewise.
15304         (llround_test_data): Likewise.
15306         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15307         (llrint_test_data): Add tests used for lrint.
15309         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15310         test.
15311         * sysdeps/i386/configure: Regenerated.
15312         * sysdeps/i386/i686/multiarch/Makefile
15313         [$(config-cflags-sse4) = yes]: Make code unconditional.
15314         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15315         Likewise.
15316         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15317         Likewise.
15318         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15319         test.
15320         * sysdeps/x86_64/configure: Regenerated.
15321         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15322         Make code unconditional.
15323         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15324         Likewise.
15325         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15326         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15328         * scripts/rpm2dynsym.sh: Remove file.
15330 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15332         * configure.ac (libc_cv_cxx_thread_local): Define.
15333         * configure: Regenerate.
15334         * config.make.in (have-cxx-thread_local): Define.
15335         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15336         (LDLIBS-tst-thread_local1): Define.
15337         (tests): Add tst-thread_local1.
15338         [have-cxx-thread_local != yes] (tests-unsupported): Add
15339         tst-thread_local1.
15340         * nptl/tst-thread_local1.cc: New file.
15342 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15344         [BZ #19078]
15345         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15346         (u_thres): Likewise.
15347         (__expl): Determine whether to call __kernel_standard_l based on
15348         value of result, not argument.
15350         * math/libm-test.inc (scalb_test_data): Add more expectations for
15351         the "inexact" exception.
15353         [BZ #19077]
15354         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15355         0.0L for argument 1.0L.
15357         [BZ #19076]
15358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15359         constant 0.0L when computing infinite result.
15361 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15363         [BZ #10432]
15364         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15365         malloc_usable_size.
15367 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15369         [BZ #19018]
15370         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15371         Mangle function pointer before storing it.
15372         (__call_tls_dtors): Demangle function pointer before calling it.
15374 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15376         [BZ #19012]
15377         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15378         Clean up on failure.
15380 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15382         [BZ #19071]
15383         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15384         long int variable to store possibly incremented high part of
15385         mantissa.
15386         * math/libm-test.inc (lround_test_data): Add tests used for
15387         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15388         for tests requiring 64-bit long.  Do not condition tests on
15389         [TEST_FLOAT] unnecessarily.
15390         (llround_test_data): Add tests used for lround.  Add another
15391         expectation for the "inexact" exception.  Do not condition tests
15392         on [TEST_FLOAT] unnecessarily.
15394         [BZ #887]
15395         [BZ #19049]
15396         [BZ #19050]
15397         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15398         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15399         <fix-int-fp-convert-zero.h>.
15400         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15401         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15402         <fix-int-fp-convert-zero.h>.
15403         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15404         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15405         <fix-int-fp-convert-zero.h>.
15406         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15407         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15408         <fix-int-fp-convert-zero.h>.
15409         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15410         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15411         <fix-int-fp-convert-zero.h>.
15412         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15413         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15414         <fix-int-fp-convert-zero.h>.
15415         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15416         * sysdeps/ieee754/flt-32/s_erff.c: Include
15417         <fix-int-fp-convert-zero.h>.
15418         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15419         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15420         <fix-int-fp-convert-zero.h>.
15421         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15423         <fix-int-fp-convert-zero.h>.
15424         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15426         <fix-int-fp-convert-zero.h>.
15427         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15428         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15429         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15430         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15431         file.
15432         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15434 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15438 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15440         [BZ #19059]
15441         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15442         overflowing computation.
15443         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15444         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15446         Likewise.
15447         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15448         Likewise.
15449         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15450         Likewise.
15451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15452         Likewise.
15453         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15454         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15455         Likewise.
15456         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15457         Likewise.
15458         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15460         * nss/rewrite_field.c (__nss_rewrite_field): Use
15461         internal_function.
15462         * nss/valid_field.c (__nss_valid_field): Likewise.
15463         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15465 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15467         [BZ #18724]
15468         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15469         (__nss_invalid_field_characters, __nss_valid_field)
15470         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15471         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15472         tst-field.c: New file.
15473         * nss/Makefile (routines): Add valid_field, rewrite_field.
15474         (tests-static): Define unconditionally.
15475         (tests): Include tests-static.
15476         [build-static-nss] (tests-static): Use append.
15477         [build-static-nss] (tests): Remove modification.
15478         * nss/getent.c (print_group): Call putgrent.  Report error.
15479         (print_gshadow): Call putsgent.  Report error.
15480         (print_passwd): Call putpwent.  Report error.
15481         (print_shadow): Call putspent.  Report error.
15482         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15483         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15484         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15485         name, password, directory, shell fields for valid syntax.  Rewrite
15486         GECOS field to match syntax.
15487         * pwd/Makefile (tests): Add tst-putpwent.
15488         * pwd/tst-putpwent.c: New file.
15489         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15490         Check grName, grpasswd, gr_mem fields for valid syntax.
15491         Change loop variable i to size_t.
15492         * grp/Makefile (tests): Add tst-putgrent.
15493         * grp/tst-putgrent.c: New file.
15494         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15495         valid syntax.
15496         * shadow/Makefile (tests): Add tst-putspent.
15497         * shadow/tst-putspent.c: New file.
15498         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15499         sg_mem fields for valid syntax.
15500         * gshadow/Makefile (tests): Add tst-putsgent.
15501         * gshadow/tst-putsgent.c: New file.
15503 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15505         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15506         assembly instructions.
15508 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15510         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15511         prefix from operands.
15513 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15515         [BZ #16347]
15516         [BZ #19046]
15517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15518         <libc-internal.h>.
15519         (MAXLGM): Do not use diagnostic control macros.
15520         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15521         threshold for ldbl-128ibm.
15522         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15523         instead of multiplying by log then subtracting.
15524         * math/auto-libm-test-in: Add more tests of lgamma.
15525         * math/auto-libm-test-out: Regenerated.
15527         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15528         (TYPE_HEX_DIG): Likewise.
15529         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15530         precisions when printing floating-point numbers.
15531         (check_float_internal): Likewise.
15533 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #16620]
15536         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15537         of log (10) rounded downward to 48 bits.
15538         (log10_low): Use corresponding low part of log (10).
15540         [BZ #19032]
15541         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15542         compute result as (x - x) / (x - x) not as 0 / 0.
15543         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15544         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15546         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15547         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15548         and expm1.
15549         * math/auto-libm-test-out: Regenerated.
15550         * math/libm-test.inc (acos_test_data): Add more tests.
15551         (asin_test_data): Likewise.
15552         (asinh_test_data): Likewise.
15553         (atan_test_data): Likewise.
15554         (atanh_test_data): Likewise.
15555         (atan2_test_data): Likewise.
15556         (cbrt_test_data): Likewise.
15557         (ceil_test_data): Likewise.
15558         (copysign_test_data): Likewise.
15559         (cos_test_data): Likewise.
15560         (cosh_test_data): Likewise.
15561         (erf_test_data): Likewise.
15562         (erfc_test_data): Likewise.
15563         (exp_test_data): Likewise.
15564         (exp10_test_data): Likewise.
15565         (exp2_test_data): Likewise.
15566         (expm1_test_data): Likewise.
15567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15569 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15571         [BZ #19006]
15572         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15573         to ...
15574         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15575         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15576         to ...
15577         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15578         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15579         to ...
15580         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15581         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15582         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15583         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15584         to ...
15585         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15586         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15587         Moved to ...
15588         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15590         Moved to ...
15591         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15592         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15593         to ...
15594         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15595         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15596         Moved to ...
15597         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15598         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15599         to ...
15600         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15601         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15602         Removed.
15603         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15604         Likewise.
15605         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15606         Likewise.
15607         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15608         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15609         Likewise.
15610         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15611         Likewise.
15612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15613         Likewise.
15614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15615         Likewise.
15616         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15617         Likewise.
15618         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15619         Likewise.
15620         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15621         Likewise.
15622         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15623         Likewise.
15624         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15625         Likewise.
15626         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15627         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15628         Likewise.
15629         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15630         Likewise.
15631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15632         Likewise.
15633         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15634         Likewise.
15635         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15636         Likewise.
15637         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15638         Replace ../i486/pthread_cond_timedwait.S with
15639         ../pthread_cond_timedwait.S.
15641 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15643         * math/libm-test.inc (acos_test_data): Refine expectations for
15644         errno and "inexact" exceptions.
15645         (acosh_test_data): Likewise.
15646         (asin_test_data): Likewise.
15647         (asinh_test_data): Likewise.
15648         (atan_test_data): Likewise.
15649         (atanh_test_data): Likewise.
15650         (atan2_test_data): Likewise.
15651         (cbrt_test_data): Likewise.
15652         (ceil_test_data): Likewise.
15653         (copysign_test_data): Likewise.
15654         (cosh_test_data): Likewise.
15655         (erf_test_data): Likewise.
15656         (erfc_test_data): Likewise.
15657         (exp_test_data): Likewise.
15658         (exp10_test_data): Likewise.
15659         (exp2_test_data): Likewise.
15660         (expm1_test_data): Likewise.
15661         (fabs_test_data): Likewise.
15662         (floor_test_data): Likewise.
15663         (fma_test_data): Likewise.
15664         (fmax_test_data): Likewise.
15665         (fmin_test_data): Likewise.
15666         (fmod_test_data): Likewise.
15667         (fpclassify_test_data): Likewise.
15668         (frexp_test_data): Likewise.
15669         (hypot_test_data): Likewise.
15670         (ilogb_test_data): Likewise.
15671         (isgreater_test_data): Likewise.
15672         (isgreaterequal_test_data): Likewise.
15673         (isinf_test_data): Likewise.
15674         (isless_test_data): Likewise.
15675         (islessequal_test_data): Likewise.
15676         (islessgreater_test_data): Likewise.
15677         (isnan_test_data): Likewise.
15678         (isnormal_test_data): Likewise.
15679         (issignaling_test_data): Likewise.
15680         (isunordered_test_data): Likewise.
15681         (j0_test_data): Likewise.
15682         (j1_test_data): Likewise.
15683         (jn_test_data): Likewise.
15684         (lgamma_test_data): Likewise.
15685         (lrint_test_data): Likewise.
15686         (llrint_test_data): Likewise.
15687         (log_test_data): Likewise.
15688         (log10_test_data): Likewise.
15689         (log1p_test_data): Likewise.
15690         (log2_test_data): Likewise.
15691         (logb_test_data): Likewise.
15692         (lround_test_data): Likewise.
15693         (llround_test_data): Likewise.
15694         (modf_test_data): Likewise.
15695         (nearbyint_test_data): Likewise.
15696         (nextafter_test_data): Likewise.
15697         (nexttoward_test_data): Likewise.
15698         (pow_test_data): Likewise.
15699         (remainder_test_data): Likewise.
15700         (remquo_test_data): Likewise.
15701         (rint_test_data): Likewise.
15702         (round_test_data): Likewise.
15703         (signbit_test_data): Likewise.
15704         (sinh_test_data): Likewise.
15705         (sqrt_test_data): Likewise.
15706         (tanh_test_data): Likewise.
15707         (tgamma_test_data): Likewise.
15708         (trunc_test_data): Likewise.
15709         (y0_test_data): Likewise.
15710         (y1_test_data): Likewise.
15711         (yn_test_data): Likewise.
15712         (significand_test_data): Likewise.
15714 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15716         * manual/filesys.texi (Storage Allocation): Document that
15717         posix_fallocate emulation fails when fd is open with O_WRONLY.
15719 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #19016]
15722         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15723         allow more cases with X^2 + Y^2 >= 0.5.
15724         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15725         normal element in sum instead of special-casing based on values of
15726         arguments.
15727         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15728         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15729         -1 as normal element in sum instead of special-casing based on
15730         values of arguments.
15731         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15732         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15733         (__x2y2m1): Update comment.
15734         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15735         as normal element in sum instead of special-casing based on values
15736         of arguments.
15737         * math/s_clog.c (__clog): Handle more cases using log1p without
15738         hypot.
15739         * math/s_clog10.c (__clog10): Likewise.
15740         * math/s_clog10f.c (__clog10f): Likewise.
15741         * math/s_clog10l.c (__clog10l): Likewise.
15742         * math/s_clogf.c (__clogf): Likewise.
15743         * math/s_clogl.c (__clogl): Likewise.
15744         * math/auto-libm-test-in: Add more tests of clog and clog10.
15745         * math/auto-libm-test-out: Regenerated.
15746         * sysdeps/i386/fpu/libm-test-ulps: Update.
15747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15749 2015-09-28  Martin Sebor  <msebor@redhat.com>
15751         [BZ #18969]
15752         * string/Makefile (LOCALES): Define.
15753         (gen-locales.mk): Include.
15754         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15755         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15756         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15757         on setlocale failure.
15759 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15761         [BZ #18985]
15762         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15763         (__strftime_internal): Likewise.
15764         * time/tst-strftime.c (do_bz18985): New test.
15765         (do_test): Call it.
15767 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15769         [BZ #18956]
15770         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15771         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15772         extracting high part.
15773         * math/auto-libm-test-in: Add another test of pow.
15774         * math/auto-libm-test-out: Regenerated.
15775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15777 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15779         [BZ #18825]
15780         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15781         New macro.
15782         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15783         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15784         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15785         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15786         DBL_NARROW_EVAL, reloading the PIC register as needed.
15787         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15788         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15789         FLT_NARROW_EVAL.  Use separate return path for case when first
15790         argument is NaN.
15791         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15792         DEFINE_LDBL_MIN.
15793         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15794         PIC register.
15795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15796         math_check_force_underflow_nonneg.
15797         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15798         underflow for subnormal result.
15799         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15801         math_check_force_underflow_nonneg.
15802         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15803         math_check_force_underflow.
15804         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15805         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15806         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15807         DEFINE_LDBL_MIN.
15808         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15809         * math/auto-libm-test-in: Add more tests of pow.
15810         * math/auto-libm-test-out: Regenerated.
15812 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15814         * nss/bug17079.c (init_test_items): Add diagnostic for
15815         inconsistent entries.
15816         (test_buffer_size): Skip inconsistent entries.
15818 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15820         [BZ #13304]
15821         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15822         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15823         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15825         [BZ #13304]
15826         * sysdeps/microblaze/s_fma.c: New file.
15827         * sysdeps/microblaze/s_fmaf.c: Likewise.
15828         * sysdeps/microblaze/sfp-machine.h: Likewise.
15830 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15832         [BZ #17250]
15833         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15834         member.
15836 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15838         [BZ #18803]
15839         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15840         (MO): New macro.
15841         (__ieee754_hypot) [PIC]: Load PIC register.
15842         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15843         DBL_NARROW_EVAL.
15844         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15845         math_check_force_underflow_nonneg in case where result might be
15846         tiny.
15847         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15848         Likewise.
15849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15850         Likewise.
15851         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15852         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15853         * math/auto-libm-test-in: Add more tests of hypot.
15854         * math/auto-libm-test-out: Regenerated.
15856 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15858         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15860 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15862         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15863         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15864         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15865         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15866         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15867         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15868         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15870         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15871         LOAD_PIC_REG.
15873         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15874         (FLT_CHECK_FORCE_UFLOW): Likewise.
15875         (DBL_CHECK_FORCE_UFLOW): Likewise.
15876         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15877         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15878         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15879         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15880         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15881         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15882         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15883         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15884         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15886         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15887         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15888         (flt_min): Replace with use of DEFINE_FLT_MIN.
15889         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15890         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15891         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15892         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15893         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15894         (flt_min): Replace with use of DEFINE_FLT_MIN.
15895         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15896         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15898         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15899         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15900         (flt_min): Replace with use of DEFINE_FLT_MIN.
15901         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15902         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15903         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15904         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15905         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15906         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15907         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15908         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15909         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15910         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15911         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15912         (flt_min): Replace with use of DEFINE_FLT_MIN.
15913         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15914         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15915         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15916         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15917         main computation.
15918         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15919         (flt_min): Replace with use of DEFINE_FLT_MIN.
15920         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15921         main computation.
15922         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15923         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15924         (MO): New macro.
15925         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15926         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15927         (flt_min): Replace with use of DEFINE_FLT_MIN.
15928         (MO): New macro.
15929         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15930         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15931         (__log1pl): Use MO.
15933         [BZ #19003]
15934         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15935         $(config-cflags-nofma).
15937 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15939         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15941 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15943         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15944         (TWO127): Likewise.
15946         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15947         (min_of_type): Likewise.
15948         (math_check_force_underflow): Likewise.
15949         (math_check_force_underflow_nonneg): Likewise.
15950         (math_check_force_underflow_complex): Likewise.
15951         * math/e_exp2l.c (__ieee754_exp2l): Use
15952         math_check_force_underflow_nonneg.
15953         * math/k_casinh.c (__kernel_casinh): Likewise.
15954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15956         * math/s_catan.c (__catan): Use
15957         math_check_force_underflow_complex.
15958         * math/s_catanf.c (__catanf): Likewise.
15959         * math/s_catanh.c (__catanh): Likewise.
15960         * math/s_catanhf.c (__catanhf): Likewise.
15961         * math/s_catanhl.c (__catanhl): Likewise.
15962         * math/s_catanl.c (__catanl): Likewise.
15963         * math/s_ccosh.c (__ccosh): Likewise.
15964         * math/s_ccoshf.c (__ccoshf): Likewise.
15965         * math/s_ccoshl.c (__ccoshl): Likewise.
15966         * math/s_cexp.c (__cexp): Likewise.
15967         * math/s_cexpf.c (__cexpf): Likewise.
15968         * math/s_cexpl.c (__cexpl): Likewise.
15969         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15970         * math/s_clog10.c (__clog10): Likewise.
15971         * math/s_clog10f.c (__clog10f): Likewise.
15972         * math/s_clog10l.c (__clog10l): Likewise.
15973         * math/s_clogf.c (__clogf): Likewise.
15974         * math/s_clogl.c (__clogl): Likewise.
15975         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15976         * math/s_csinf.c (__csinf): Likewise.
15977         * math/s_csinh.c (__csinh): Likewise.
15978         * math/s_csinhf.c (__csinhf): Likewise.
15979         * math/s_csinhl.c (__csinhl): Likewise.
15980         * math/s_csinl.c (__csinl): Likewise.
15981         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15982         * math/s_csqrtf.c (__csqrtf): Likewise.
15983         * math/s_csqrtl.c (__csqrtl): Likewise.
15984         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15985         * math/s_ctanf.c (__ctanf): Likewise.
15986         * math/s_ctanh.c (__ctanh): Likewise.
15987         * math/s_ctanhf.c (__ctanhf): Likewise.
15988         * math/s_ctanhl.c (__ctanhl): Likewise.
15989         * math/s_ctanl.c (__ctanl): Likewise.
15990         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15991         instead of volatile.
15992         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15993         math_check_force_underflow.
15994         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15996         volatile when forcing underflow.
15997         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15998         math_check_force_underflow_nonneg.
15999         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16000         Likewise.
16001         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16002         math_check_force_underflow.
16003         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16004         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16005         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16006         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16007         math_check_force_underflow_nonneg.
16008         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16009         math_check_force_underflow.
16010         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16012         instead of volatile.
16013         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16014         math_check_force_underflow.
16015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16017         math_check_force_underflow_nonneg.
16018         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16019         math_check_force_underflow.
16020         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16021         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16022         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16023         math_check_force_underflow_nonneg.
16024         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16025         Likewise.
16026         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16027         math_check_force_underflow.
16028         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16029         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16030         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16031         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16032         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16033         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16034         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16035         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16036         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16037         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16038         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16039         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16040         Likewise.
16041         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16042         math_check_force_underflow_nonneg.
16043         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16044         Likewise.
16045         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16046         math_check_force_underflow.
16047         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16048         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16049         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16050         Likewise.
16051         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16052         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16053         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16054         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16055         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16056         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16058         instead of volatile.
16059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16060         math_check_force_underflow.
16061         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16063         math_check_force_underflow.
16064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16065         Likewise.
16066         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16067         Use math_check_force_underflow_nonneg.
16068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16069         math_check_force_underflow.
16070         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16071         Likewise.
16072         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16073         Likewise.
16074         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16075         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16077         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16079         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16080         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16081         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16083         math_check_force_underflow_nonneg.
16084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16085         math_check_force_underflow.
16086         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16087         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16088         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16089         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16090         math_check_force_underflow_nonneg.
16091         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16092         math_check_force_underflow.
16093         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16095         instead of volatile.
16096         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16097         math_check_force_underflow.
16099         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16100         * stdlib/strtod_l.c: Include <math_private.h>.
16101         (overflow_value): Use math_narrow_eval.
16102         (underflow_value): Likewise.
16103         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16104         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16105         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16106         (__ieee754_gamma_r): Likewise.
16107         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16108         Likewise.
16109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16110         Likewise.
16111         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16112         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16113         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16114         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16115         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16116         (__ieee754_gammaf_r): Likewise.
16117         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16118         Likewise.
16119         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16120         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16121         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16122         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16123         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16124         volatile.
16125         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16126         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16127         math_narrow_eval.
16128         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16129         Likewise.
16130         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16131         Likewise.
16132         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16133         Likewise.
16134         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16135         volatile.
16136         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16137         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16138         math_narrow_eval.
16139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16140         Likewise.
16141         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16142         Likewise.
16144 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16146         * nptl/Versions: Remove ignored symbols.
16148 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16150         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16151         * nss/Makefile (tests): Update.
16153 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16155         * nss/bug18287.c: New file.
16156         * nss/Makefile (tests): Add bug18287.
16158 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16160         * mach/Versions (__mach_host_self_): Add symbol.
16162 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16164         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16165         vm_page_size.
16167 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16169         Really fix sysdeps/i386/fpu/s_scalbn.S build
16171         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16172         (libc: GLIBC_2_22): Remove unused version set.
16174 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16176         * config.make.in (enable-timezone-tools): New variable.
16177         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16178         (enable_timezone_tools): Export to generated files.
16179         * configure: Regenerate.
16180         * INSTALL: Regenerate.
16181         * manual/install.texi (--disable-timezone-tools): Document new flag.
16182         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16183         ifeq ($(enable-timezone-tools),yes) check.
16185 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16187         * timezone/Makefile: Revert previous change.
16189         [BZ #18980]
16190         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16191         (DEFINE_DBL_MIN): Likewise.
16192         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16193         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16194         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16195         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16196         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16197         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16198         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16199         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16200         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16201         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16202         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16203         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16204         (flt_min): Replace with use of DEFINE_FLT_MIN.
16205         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16206         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16207         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16208         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16209         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16210         (flt_min): Replace with use of DEFINE_FLT_MIN.
16211         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16212         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16213         (flt_min): Replace with use of DEFINE_FLT_MIN.
16214         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16215         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16216         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16217         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16218         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16219         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16220         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16221         (__ieee754_pow): Use DBL_NARROW_EVAL.
16222         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16223         (__ieee754_powf): Use FLT_NARROW_EVAL.
16224         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16225         (__ieee754_expf_sse2): Convert double-precision result to single
16226         precision.
16227         * sysdeps/i386/fpu/libm-test-ulps: Update.
16229 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16231         * timezone/Makefile: Ignore unused variable errors due to private.h
16232         (time_t_min) and (time_t_max).
16233         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16234         Likewise.
16236 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16238         [BZ #18981]
16239         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16240         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16241         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16242         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16243         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16244         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16245         (__scalbn): Use DBL_NARROW_EVAL.
16246         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16247         (__scalbnf): Use FLT_NARROW_EVAL.
16249 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16251         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16252         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16253         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16254         * stdio-common/printf_fp.c (___printf_fp):
16255         Use signbit to get the sign. Use isinf macro to allow inlining.
16256         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16257         * stdio-common/printf_size.c (__printf_size): Likewise.
16259 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16261         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16263 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16265         [BZ #18980]
16266         * sysdeps/generic/math_private.h: Include <float.h>.
16267         (math_narrow_eval): New macro.
16268         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16269         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16270         math_narrow_eval on overflowing return value.
16271         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16272         Likewise.
16273         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16274         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16275         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16276         Likewise.
16277         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16279 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16281         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16282         * math/Makefile: Remove isinf_ns.c.
16283         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16284         * math/multc3.c (__multc3): Likewise.
16285         * math/s_casin.c (__casin): Likewise.
16286         * math/s_casinf.c (__casinf): Likewise.
16287         * math/s_casinl.c (__casinl): Likewise.
16288         * math/s_cproj.c (__cproj): Likewise.
16289         * math/s_cprojf.c (__cprojf): Likewise.
16290         * math/s_cprojl.c (__cprofl): Likewise.
16291         * math/s_ctan.c (__ctan): Likewise.
16292         * math/s_ctanf.c (__ctanf): Likewise.
16293         * math/s_ctanh.c (__ctanh): Likewise.
16294         * math/s_ctanhf.c (__ctanhf): Likewise.
16295         * math/s_ctanhl.c (__ctanhl): Likewise.
16296         * math/s_ctanl.c (__ctanl): Likewise.
16297         * math/w_fmod.c (__fmod): Likewise.
16298         * math/w_fmodf.c (__fmodf): Likewise.
16299         * math/w_fmodl.c (_fmodl): Likewise.
16300         * math/w_remainder.c (__remainder): Likewise.
16301         * math/w_remainderf.c (__remainderf): Likewise.
16302         * math/w_remainderl.c (__remainderl): Likewise.
16303         * math/w_scalb.c (__scalb): Likewise.
16304         * math/w_scalbf.c (__scalbf): Likewise.
16305         * math/w_scalbl.c (__scalbl): Likewise.
16306         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16307         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16308         with isinf.
16309         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16311         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16312         __isinf_nsf with isinf.
16313         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16315         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16316         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16317         with isinf.
16318         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16319         __isinf_nsl with isinf.
16320         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16321         with isinf.
16322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16323         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16324         __isinf_nsl with isinf.
16325         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16326         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16327         with isinf.
16329 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16331         * resolv/base64.c (rcsid): Remove unused static.
16332         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16333         static.  (tqpi1): Likewise.
16334         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16335         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16336         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16337         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16339         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16341         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16342         Likewise.
16344 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16346         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16347         <nptl/pthreadP.h>.
16348         (_longjmp_unwind): Use __libc_ptf_call.
16349         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16351 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16353         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16354         * sysdeps/arm/__longjmp.S: Likewise.
16356 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16358         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16359         Use __builtin_signbit.
16360         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16361         Use __builtin_signbitf.
16362         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16363         Use __builtin_signbitl.
16364         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16365         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16367 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16369         [BZ #15367]
16370         [BZ #17441]
16372         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16373         * math/math.h (fpclassify): Use __builtin_fpclassify when
16374         available.  (signbit): Use __builtin_signbit(f/l).
16375         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16376         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16377         (isinf): Use __builtin_isinf_sign.
16379 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16381         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16382         * benchtests/bench-math-inlines.c: New benchmark.
16383         * benchtests/bench-util.h: New file.
16384         * benchtests/bench-util.c: New file.
16385         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16387 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16389         * elf/tst-dlmopen1.c: Define TEST_SO.
16390         (do_test): Use TEST_SO.
16392         * elf/dl-load.c: Include libc-internal.h.
16393         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16395 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16397         [BZ #17887]
16398         * time/strptime_l.c (__strptime_internal): Make %z accept
16399         [+-]HH:MM time zones.
16401 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16403         [BZ #17886]
16404         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16405         valid time zone.
16407 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16409         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16410         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16411         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16412         (__ASSUME_FDATASYNC): Delete.
16414 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16416         * conform/linknamespace.pl: Require weak undefined symbols to be
16417         in the standard namespace.
16418         (%strong_syms): Rename to %seen_syms.
16419         (%strong_seen): Rename to %seen_where.
16421 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16423         [BZ #18970]
16424         * misc/error.c (error): Replace pthread_setcancelstate with
16425         __pthread_setcancelstate.
16426         (error_at_line): Likewise.
16427         * posix/wordexp.c (parse_comm): Likewise.
16428         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16429         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16430         (__pthread_setcancelstate): This.
16431         (pthread_setcancelstate): Add an alias.
16432         * nptl/nptl-init.c (pthread_functions): Replace
16433         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16434         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16435         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16436         hidden_proto.
16437         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16438         it with hidden_def.
16439         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16440         (pthread_setcancelstate): Renamed to ...
16441         (__pthread_setcancelstate): This.
16442         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16443         __libc_ptf_call with __pthread_setcancelstate.
16445 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16446             Andreas Schwab  <schwab@suse.de>
16448         [BZ #17118]
16449         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16450         result when imaginary part of argument is infinite using sine and
16451         cosine.
16452         * math/s_ctanf.c (__ctanf): Likewise.
16453         * math/s_ctanl.c (__ctanl): Likewise.
16454         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16455         of result when real part of argument is infinite using sine and
16456         cosine.
16457         * math/s_ctanhf.c (__ctanhf): Likewise.
16458         * math/s_ctanhl.c (__ctanhl): Likewise.
16459         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16460         (ctanh_test_data): Add more tests of ctanh.
16462 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16464         [BZ #15384]
16465         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16466         bit-mask as in subtraction.
16467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16468         Likewise.
16469         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16470         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16471         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16473         [BZ #18951]
16474         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16475         underflow exception for small results.
16476         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16477         Likewise.
16478         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16479         Likewise.
16480         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16481         Likewise.
16482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16483         Likewise.
16484         * math/auto-libm-test-in: Add more tests of tgamma.
16485         * math/auto-libm-test-out: Regenerated.
16487 2015-09-17  Andreas Schwab  <schwab@suse.de>
16489         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16491 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16493         [BZ #18977]
16494         * math/bits/mathcalls.h
16495         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16496         not declare.
16497         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16498         Likewise.
16499         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16500         Likewise.
16501         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16502         Likewise.
16503         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16504         Likewise.
16505         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16506         Likewise.
16507         * conform/data/math.h-data
16508         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16509         function.
16510         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16511         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16512         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16513         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16514         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16515         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16516         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16517         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16518         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16519         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16520         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16522         [BZ #6803]
16523         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16524         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16525         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16526         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16527         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16528         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16529         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16530         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16531         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16533         Likewise.
16534         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16535         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16538         long_double_symbol calls.
16539         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16540         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16541         strong alias of __ldexpl.
16542         (scalbnl): Define using long_double_symbol.
16543         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16544         Remove alias.
16545         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16546         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16547         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16548         (scalbln_test_data): Add more errno expectations.
16550 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16552         Cache the host port like we cache the task port.  This way we do not
16553         need to call the kernel just to get the port.  Furthermore, we no
16554         longer increase the reference count on every invocation of
16555         `mach_host_self'.
16557         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16558         Protect declarations against the macro expansion.
16559         * mach/mach_init.c (__mach_host_self_): New variable.
16560         (mach_init): Initialize `__mach_host_self_'.
16561         * mach/mach_init.h (__mach_host_self_): New declaration.
16562         (__mach_host_self, mach_host_self): New macros.
16563         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16564         Release reference.
16566 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16568         [BZ #4404]
16569         * po/de.po: Update from Translation Project.
16571         [BZ #16415]
16572         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16573         (__expm1l): Remove code to handle positive infinity and overflow.
16574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16575         variable.
16576         (__expm1l): Remove code to handle positive infinity and overflow.
16578 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16579             Paul Pluzhnikov  <ppluzhnikov@google.com>
16581         [BZ #18872]
16582         * stdio-common/Makefile (tst-printf-bz18872): New test.
16583         (tst-printf-bz18872-mem.out): Likewise.
16584         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16585         * stdio-common/vfprintf.c: Fix memory leaks.
16587 2015-09-16  Andreas Schwab  <schwab@suse.de>
16589         [BZ #17244]
16590         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16591         Remove extra va_start/va_end calls.
16593         [BZ #17243]
16594         * posix/execl.c (execl): Add missing va_end.
16595         * posix/execle.c (execle): Likewise.
16596         * posix/execlp.c (execlp): Likewise.
16598 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16600         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16601         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16603 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #18967]
16606         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16607         undefine around includes of <bits/mathcalls.h>.
16608         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16609         not declare function.
16610         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16611         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16612         (scalb): Likewise.
16613         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16614         not define macro.
16615         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16616         variable.
16617         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16618         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16619         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16621         [BZ #18857]
16622         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16623         return non-finite argument without doing ordered comparisons on
16624         it.
16626         [BZ #16296]
16627         * math/fenv.h (fegetround): Use __attribute_pure__.
16628         * include/fenv.h (__fegetround): Likewise.
16630         [BZ #18595]
16631         * math/s_ctan.c (__ctan): Force underflow exception for results
16632         whose real or imaginary part has small absolute value.
16633         * math/s_ctanf.c (__ctanf): Likewise.
16634         * math/s_ctanh.c (__ctanh): Likewise.
16635         * math/s_ctanhf.c (__ctanhf): Likewise.
16636         * math/s_ctanhl.c (__ctanhl): Likewise.
16637         * math/s_ctanl.c (__ctanl): Likewise.
16638         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16639         and ctanh.  Add more tests of ctan and ctanh.
16641         [BZ #15918]
16642         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16643         handling of cases where one argument is an infinity.
16645         [BZ #18875]
16646         [BZ #18966]
16647         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16648         (MO): New macro.
16649         (__ieee754_exp10): For small results, force underflow exception
16650         and remove excess range and precision from return value.
16651         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16652         (MO): New macro.
16653         (__ieee754_exp10f): For small results, force underflow exception
16654         and remove excess range and precision from return value.
16655         * math/auto-libm-test-in: Add more tests of exp10.
16656         * math/auto-libm-test-out: Regenerated.
16658 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16660         [BZ #18875]
16661         [BZ #18961]
16662         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16663         (MO): New macro.
16664         (__ieee754_exp): For small results, force underflow exception and
16665         remove excess range and precision from return value.
16666         (__exp_finite): Likewise.
16667         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16668         (MO): New macro.
16669         (__ieee754_expf): For small results, force underflow exception and
16670         remove excess range and precision from return value.
16671         (__expf_finite): Likewise.
16672         * math/auto-libm-test-in: Add more tests of exp.
16673         * math/auto-libm-test-out: Regenerated.
16675         [BZ #16521]
16676         [BZ #18875]
16677         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16678         small results.
16679         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16680         (MO): New macro.
16681         (__ieee754_exp2): For small results, force underflow exception and
16682         remove excess range and precision from return value.
16683         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16684         (MO): New macro.
16685         (__ieee754_exp2f): For small results, force underflow exception
16686         and remove excess range and precision from return value.
16687         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16688         (MO): New macro.
16689         (__ieee754_exp2l): Force underflow exception for small results.
16690         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16691         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16692         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16693         (MO): New macro.
16694         (__ieee754_exp2l): Force underflow exception for small results.
16695         * math/auto-libm-test-in: Add more tests or exp2.
16696         * math/auto-libm-test-out: Regenerated.
16698 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16700         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16702         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16703         /dev/null.
16705 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16707         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16708         io fs process)): Drop spurious backslash.
16710 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16712         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16713         Use sysinfo system call instead of parsing /proc/meminfo.
16714         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16715         Likewise.
16717 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16719         [BZ #16985]
16720         * programs/localedef.c (main): Display argv[remaining] when
16721         output_path is NULL.
16723 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16725         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16726         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16727         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16728         tanh.
16729         * math/auto-libm-test-out: Regenerated.
16730         * sysdeps/i386/fpu/libm-test-ulps: Update.
16731         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16732         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16735 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16737         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16738         Use 'override' keyword to freeze the value here, preventing
16739         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16741 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16743         [BZ #14912]
16744         * sysdeps/aarch64/bits/atomic.h: Move to ...
16745         * sysdeps/aarch64/atomic-machine.h: ...here.
16746         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16747         _AARCH64_ATOMIC_MACHINE_H.
16748         * sysdeps/alpha/bits/atomic.h: Move to ...
16749         * sysdeps/alpha/atomic-machine.h: ...here.
16750         * sysdeps/arm/bits/atomic.h: Move to ...
16751         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16752         * bits/atomic.h: Move to ...
16753         * sysdeps/generic/atomic-machine.h: ...here.
16754         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16755         * sysdeps/i386/bits/atomic.h: Move to ...
16756         * sysdeps/i386/atomic-machine.h: ...here.
16757         * sysdeps/ia64/bits/atomic.h: Move to ...
16758         * sysdeps/ia64/atomic-machine.h: ...here.
16759         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16760         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16761         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16762         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16763         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16764         * sysdeps/microblaze/bits/atomic.h: Move to ...
16765         * sysdeps/microblaze/atomic-machine.h: ...here.
16766         * sysdeps/mips/bits/atomic.h: Move to ...
16767         * sysdeps/mips/atomic-machine.h: ...here.
16768         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16769         * sysdeps/powerpc/bits/atomic.h: Move to ...
16770         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16771         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16772         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16773         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16774         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16775         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16776         <atomic-machine.h> instead of <bits/atomic.h>.
16777         * sysdeps/s390/bits/atomic.h: Move to ...
16778         * sysdeps/s390/atomic-machine.h: ...here.
16779         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16780         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16781         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16782         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16783         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16784         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16785         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16786         * sysdeps/tile/bits/atomic.h: Move to ...
16787         * sysdeps/tile/atomic-machine.h: ...here.
16788         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16789         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16790         <sysdeps/tile/atomic-machine.h> instead of
16791         <sysdeps/tile/bits/atomic.h>.
16792         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16793         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16794         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16795         <sysdeps/tile/atomic-machine.h> instead of
16796         <sysdeps/tile/bits/atomic.h>.
16797         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16798         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16799         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16800         <sysdeps/arm/atomic-machine.h> instead of
16801         <sysdeps/arm/bits/atomic.h>.
16802         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16803         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16804         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16805         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16806         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16807         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16808         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16809         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16810         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16812         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16813         * sysdeps/x86_64/bits/atomic.h: Move to ...
16814         * sysdeps/x86_64/atomic-machine.h: ...here.
16815         * include/atomic.h: Include <atomic-machine.h> instead of
16816         <bits/atomic.h>.
16818         * sysdeps/mips/mips32/libm-test-ulps: Update.
16819         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16821         [BZ #18952]
16822         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16823         not convert non-integer negative arguments to int to determine the
16824         value of signgam.
16825         * math/auto-libm-test-in: Add more tests of lgamma.
16826         * math/auto-libm-test-out: Regenerated.
16828         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16829         cosh, csqrt, erfc, expm1 and lgamma.
16830         * math/auto-libm-test-out: Regenerated.
16831         * sysdeps/i386/fpu/libm-test-ulps: Update.
16832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16834 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16836         [BZ #2542]
16837         [BZ #2543]
16838         [BZ #2558]
16839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16840         __lgamma_neg for arguments from -28.0 to -2.0.
16841         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16842         __lgamma_negf for arguments from -15.0 to -2.0.
16843         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16844         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16846         Call __lgamma_negl for arguments from -33.0 to -2.0.
16847         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16848         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16849         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16850         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16851         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16852         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16853         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16854         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16855         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16856         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16857         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16858         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16859         (__lgamma_neg): Likewise.
16860         (__lgamma_negl): Likewise.
16861         (__lgamma_product): Likewise.
16862         (__lgamma_productl): Likewise.
16863         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16864         * math/auto-libm-test-in: Add more tests of lgamma.
16865         * math/auto-libm-test-out: Regenerated.
16866         * sysdeps/i386/fpu/libm-test-ulps: Update.
16867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16869 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16871         [BZ #18675]
16872         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16874 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16876         [BZ #14912]
16877         * bits/libc-lock.h: Move to ...
16878         * sysdeps/generic/libc-lock.h: ...here.
16879         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16880         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16881         * sysdeps/mach/hurd/libc-lock.h: ...here.
16882         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16883         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16884         * sysdeps/mach/bits/libc-lock.h: Move to ...
16885         * sysdeps/mach/libc-lock.h: ...here.
16886         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16887         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16888         * sysdeps/nptl/libc-lock.h: ...here.
16889         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16890         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16891         * sysdeps/nptl/libc-lockP.h: ...here.
16892         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16893         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16894         <bits/libc-lock.h>.
16895         * dirent/scandir-tail.c: Likewise.
16896         * dlfcn/dlerror.c: Likewise.
16897         * elf/dl-close.c: Likewise.
16898         * elf/dl-iteratephdr.c: Likewise.
16899         * elf/dl-lookup.c: Likewise.
16900         * elf/dl-open.c: Likewise.
16901         * elf/dl-support.c: Likewise.
16902         * elf/dl-writev.h: Likewise.
16903         * elf/rtld.c: Likewise.
16904         * grp/fgetgrent.c: Likewise.
16905         * gshadow/fgetsgent.c: Likewise.
16906         * gshadow/sgetsgent.c: Likewise.
16907         * iconv/gconv_conf.c: Likewise.
16908         * iconv/gconv_db.c: Likewise.
16909         * iconv/gconv_dl.c: Likewise.
16910         * iconv/gconv_int.h: Likewise.
16911         * iconv/gconv_trans.c: Likewise.
16912         * include/link.h: Likewise.
16913         * inet/getnameinfo.c: Likewise.
16914         * inet/getnetgrent.c: Likewise.
16915         * inet/getnetgrent_r.c: Likewise.
16916         * intl/bindtextdom.c: Likewise.
16917         * intl/dcigettext.c: Likewise.
16918         * intl/finddomain.c: Likewise.
16919         * intl/gettextP.h: Likewise.
16920         * intl/loadmsgcat.c: Likewise.
16921         * intl/localealias.c: Likewise.
16922         * intl/textdomain.c: Likewise.
16923         * libidn/idn-stub.c: Likewise.
16924         * libio/libioP.h: Likewise.
16925         * locale/duplocale.c: Likewise.
16926         * locale/freelocale.c: Likewise.
16927         * locale/newlocale.c: Likewise.
16928         * locale/setlocale.c: Likewise.
16929         * login/getutent_r.c: Likewise.
16930         * login/getutid_r.c: Likewise.
16931         * login/getutline_r.c: Likewise.
16932         * login/utmp-private.h: Likewise.
16933         * login/utmpname.c: Likewise.
16934         * malloc/mtrace.c: Likewise.
16935         * misc/efgcvt.c: Likewise.
16936         * misc/error.c: Likewise.
16937         * misc/fstab.c: Likewise.
16938         * misc/getpass.c: Likewise.
16939         * misc/mntent.c: Likewise.
16940         * misc/syslog.c: Likewise.
16941         * nis/nis_call.c: Likewise.
16942         * nis/nis_callback.c: Likewise.
16943         * nis/nss-default.c: Likewise.
16944         * nis/nss_compat/compat-grp.c: Likewise.
16945         * nis/nss_compat/compat-initgroups.c: Likewise.
16946         * nis/nss_compat/compat-pwd.c: Likewise.
16947         * nis/nss_compat/compat-spwd.c: Likewise.
16948         * nis/nss_nis/nis-alias.c: Likewise.
16949         * nis/nss_nis/nis-ethers.c: Likewise.
16950         * nis/nss_nis/nis-grp.c: Likewise.
16951         * nis/nss_nis/nis-hosts.c: Likewise.
16952         * nis/nss_nis/nis-network.c: Likewise.
16953         * nis/nss_nis/nis-proto.c: Likewise.
16954         * nis/nss_nis/nis-pwd.c: Likewise.
16955         * nis/nss_nis/nis-rpc.c: Likewise.
16956         * nis/nss_nis/nis-service.c: Likewise.
16957         * nis/nss_nis/nis-spwd.c: Likewise.
16958         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16959         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16960         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16961         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16962         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16963         * nis/nss_nisplus/nisplus-network.c: Likewise.
16964         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16965         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16966         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16967         * nis/nss_nisplus/nisplus-service.c: Likewise.
16968         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16969         * nis/ypclnt.c: Likewise.
16970         * nptl/libc_pthread_init.c: Likewise.
16971         * nss/getXXbyYY.c: Likewise.
16972         * nss/getXXent.c: Likewise.
16973         * nss/getXXent_r.c: Likewise.
16974         * nss/nss_db/db-XXX.c: Likewise.
16975         * nss/nss_db/db-netgrp.c: Likewise.
16976         * nss/nss_db/nss_db.h: Likewise.
16977         * nss/nss_files/files-XXX.c: Likewise.
16978         * nss/nss_files/files-alias.c: Likewise.
16979         * nss/nsswitch.c: Likewise.
16980         * posix/regex_internal.h: Likewise.
16981         * posix/wordexp.c: Likewise.
16982         * pwd/fgetpwent.c: Likewise.
16983         * resolv/res_hconf.c: Likewise.
16984         * resolv/res_libc.c: Likewise.
16985         * shadow/fgetspent.c: Likewise.
16986         * shadow/lckpwdf.c: Likewise.
16987         * shadow/sgetspent.c: Likewise.
16988         * socket/opensock.c: Likewise.
16989         * stdio-common/reg-modifier.c: Likewise.
16990         * stdio-common/reg-printf.c: Likewise.
16991         * stdio-common/reg-type.c: Likewise.
16992         * stdio-common/vfprintf.c: Likewise.
16993         * stdio-common/vfscanf.c: Likewise.
16994         * stdlib/abort.c: Likewise.
16995         * stdlib/cxa_atexit.c: Likewise.
16996         * stdlib/fmtmsg.c: Likewise.
16997         * stdlib/random.c: Likewise.
16998         * stdlib/setenv.c: Likewise.
16999         * string/strsignal.c: Likewise.
17000         * sunrpc/auth_none.c: Likewise.
17001         * sunrpc/bindrsvprt.c: Likewise.
17002         * sunrpc/create_xid.c: Likewise.
17003         * sunrpc/key_call.c: Likewise.
17004         * sunrpc/rpc_thread.c: Likewise.
17005         * sysdeps/arm/backtrace.c: Likewise.
17006         * sysdeps/generic/ldsodefs.h: Likewise.
17007         * sysdeps/generic/stdio-lock.h: Likewise.
17008         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17009         * sysdeps/i386/backtrace.c: Likewise.
17010         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17011         * sysdeps/m68k/backtrace.c: Likewise.
17012         * sysdeps/mach/hurd/cthreads.c: Likewise.
17013         * sysdeps/mach/hurd/dirstream.h: Likewise.
17014         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17015         * sysdeps/nptl/malloc-machine.h: Likewise.
17016         * sysdeps/nptl/stdio-lock.h: Likewise.
17017         * sysdeps/posix/dirstream.h: Likewise.
17018         * sysdeps/posix/getaddrinfo.c: Likewise.
17019         * sysdeps/posix/system.c: Likewise.
17020         * sysdeps/pthread/aio_suspend.c: Likewise.
17021         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17022         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17023         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17024         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17025         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17026         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17027         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17028         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17029         * sysdeps/unix/sysv/linux/system.c: Likewise.
17030         * sysdeps/x86_64/backtrace.c: Likewise.
17031         * time/alt_digit.c: Likewise.
17032         * time/era.c: Likewise.
17033         * time/tzset.c: Likewise.
17034         * wcsmbs/wcsmbsload.c: Likewise.
17035         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17036         instead of <bits/libc-lock.h> in comment.
17038 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17040         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17041         Only use .set mips2 if the current ISA is below mips2.
17042         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17043         Likewise.
17044         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17045         mips32r2 if the current ISA is below mips32r2.
17046         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17047         (TLS_IE): Updated to use the TLD_RDHWR macro.
17048         (TLS_LE): Likewise.
17049         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17050         __ASSEMBLER__ condition.
17052 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17054         Fix parallel build of before-compile targets.
17056         * sysdeps/mach/Makefile ($(patsubst
17057         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17058         mach-before-compile target.
17059         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17060         io fs process)): Move rule to dedicated hurd-before-compile target.
17062 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17064         Fix rules generating headers in hurd/ and mach/ when initial make call
17065         has subdir= explicitly set.
17067         * sysdeps/mach/Makefile ($(patsubst
17068         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17069         calling $(MAKE).
17070         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17071         io fs process)): Force subdir to hurd when calling $(MAKE).
17072         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17073         subdir to mach when calling $(MAKE).
17075 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17077         Check sysheaders when looking for Mach and Hurd headers
17079         * sysdeps/mach/configure.ac: Add sysheaders check.
17080         * sysdeps/mach/configure: Regenerate.
17081         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17082         * sysdeps/mach/hurd/configure: Regenerate.
17084 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17086         [BZ #18921]
17087         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17088         Fix inverted sense of test of 'o_directory_works' value.
17089         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17090         Bernhard Voelker <mail@bernhard-voelker.de>.
17092 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17094         [BZ #14912]
17095         * bits/linkmap.h: Move to ...
17096         * sysdeps/generic/linkmap.h: ...here.
17097         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17098         * sysdeps/aarch64/linkmap.h: ...here.
17099         * sysdeps/arm/bits/linkmap.h: Move to ...
17100         * sysdeps/arm/linkmap.h: ...here.
17101         * sysdeps/hppa/bits/linkmap.h: Move to ...
17102         * sysdeps/hppa/linkmap.h: ...here.
17103         * sysdeps/ia64/bits/linkmap.h: Move to ...
17104         * sysdeps/ia64/linkmap.h: ...here.
17105         * sysdeps/mips/bits/linkmap.h: Move to ...
17106         * sysdeps/mips/linkmap.h: ...here.
17107         * sysdeps/s390/bits/linkmap.h: Move to ...
17108         * sysdeps/s390/linkmap.h: ...here.
17109         * sysdeps/sh/bits/linkmap.h: Move to ...
17110         * sysdeps/sh/linkmap.h: ...here.
17111         * sysdeps/x86/bits/linkmap.h: Move to ...
17112         * sysdeps/x86/linkmap.h: ...here.
17113         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17115 2015-09-04  Andreas Schwab  <schwab@suse.de>
17117         [BZ #18635]
17118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17119         (__makecontext): Terminate FDE before return label.
17120         (__novec_makecontext): Likewise.
17122 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17124         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17125         first member of struct sv in syscall macro.
17127 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17129         [BZ #14912]
17130         * bits/stdio-lock.h: Move to ...
17131         * sysdeps/generic/stdio-lock.h: ...here.
17132         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17133         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17134         * sysdeps/nptl/stdio-lock.h: ...here.
17135         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17136         * include/libio.h: Include <stdio-lock.h> instead of
17137         <bits/stdio-lock.h>.
17138         * sysdeps/nptl/fork.c: Likewise.
17139         * sysdeps/pthread/flockfile.c: Likewise.
17140         * sysdeps/pthread/ftrylockfile.c: Likewise.
17141         * sysdeps/pthread/funlockfile.c: Likewise.
17143         [BZ #14912]
17144         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17145         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17146         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17147         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17148         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17149         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17150         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17152 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17154         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17155         (test-xfail-tst-protected1b): New variable.
17157 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17159         [BZ #14912]
17160         * bits/libc-tsd.h: Move to ...
17161         * sysdeps/generic/libc-tsd.h: ...here.
17162         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17163         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17164         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17165         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17166         * include/ctype.h: Include <libc-tsd.h> instead of
17167         <bits/libc-tsd.h>.
17168         * include/rpc/rpc.h: Likewise.
17169         * locale/localeinfo.h: Likewise.
17170         * sunrpc/rpc_thread.c: Likewise.
17171         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17172         * sysdeps/nptl/malloc-machine.h: Likewise.
17174         * Makefile (headers): Remove bits/libc-lock.h.
17175         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17177         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17178         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17179         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17180         <bits/stdio-lock.h>.
17181         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17182         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17184 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17186         [BZ #18757]
17187         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17188         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17189         BZ #18757.
17191 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17193         * malloc/mtrace.pl: Filter out NULL entries.
17195 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17197         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17198         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17199         macro.
17201         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17202         (TCP_CC_INFO): Likewise.
17203         (TCP_SAVE_SYN): Likewise.
17204         (TCP_SAVED_SYN): Likewise.
17206 2015-08-31  Brett Neumeier <brett@neumeier.us>
17208         [BZ #18870]
17209         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17211 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17213         [BZ #18873]
17214         Fix broken overflow check in posix_fallocate
17215         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17216         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17217         Fix parenthesization typo.
17219 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17221         [BZ #18887]
17222         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17223         tst-mntent-blank-passno.
17224         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17225         * misc/tst-mntent-blank-corrupt.c: New test.
17226         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17227         * misc/tst-mntent.c (do_test): ... here.
17229 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17231         [BZ #4404]
17232         * po/de.po: Fix SIGALRM typo.
17234 2015-08-28  James Perkins  <james@loowit.net>
17236         * time/tst-strptime2.c (tests): Replace short list of test
17237         strings for strptime %z specifier with code which exhaustively
17238         tests every combination of sign and 0 to 5 digits. Tests for
17239         rejection of invalid strings.
17241 2015-08-28  James Perkins  <james@loowit.net>
17243         [BZ #16141]
17244         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17245         calculation, removing incorrect decimal time rounding, so that
17246         all minute values result in a valid seconds value.
17247         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17248         offset range limits to UTC-99:59 through UTC+99:59 to parse
17249         current and historical use cases.
17250         * time/tst-strptime2.c (tests): Modify and add tests for the
17251         strptime %z input field descriptor, specifically conversion of
17252         minutes to seconds and validating an offset range of -9959 to
17253         +9959.
17255 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17256             Dmitry V. Levin  <ldv@altlinux.org>
17258         [BZ #18877]
17259         * posix/Makefile (tests): Add tst-mmap-offset.
17260         * posix/tst-mmap.c: New file.
17261         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17262         offset calculation for negative values.
17264 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17266         * sysdeps/i386/init-arch.h: New file.
17267         * sysdeps/i386/i586/init-arch.h: Likewise.
17268         * sysdeps/i386/i686/init-arch.h: Likewise.
17269         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17270         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17271         * sysdeps/x86/cpu-features.h (bit_I586): New.
17272         (bit_I686): Likewise.
17273         (bit_CX8): Likewise.
17274         (bit_CMOV): Likewise.
17275         (index_CX8): Likewise.
17276         (index_CMOV): Likewise.
17277         (index_I586): Likewise.
17278         (index_I686): Likewise.
17279         (reg_CX8): Likewise.
17280         (reg_CMOV): Likewise.
17281         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17282         available at compile-time.
17283         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17284         available at compile-time.
17285         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17286         (USE_I686): Likewise.
17288 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17290         * sysdeps/i386/bcopy.S: New file.
17291         * sysdeps/i386/bzero.S: Likewise.
17292         * sysdeps/i386/memcpy.S: Likewise.
17293         * sysdeps/i386/memmove.S: Likewise.
17294         * sysdeps/i386/mempcpy.S: Likewise.
17295         * sysdeps/i386/memset.S: Likewise.
17296         * sysdeps/i386/bzero.c: Removed.
17297         * sysdeps/i386/memset.c: Likewise.
17298         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17299         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17300         * sysdeps/i386/i586/memset_chk.S: Likewise.
17301         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17302         * sysdeps/i386/memcpy_chk.S: Here.
17303         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17304         * sysdeps/i386/memmove_chk.S: Here.
17305         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17306         * sysdeps/i386/mempcpy_chk.S: Likewise.
17307         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17308         * sysdeps/i386/memset_chk.S: Likewise.
17310 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17312         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17313         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17314         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17315         * soft-fp/fmadf4.c: Ditto.
17316         * soft-fp/fmatf4.c: Ditto.
17318 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17320         * sysdeps/i386/i586/Implies: Removed.
17321         * sysdeps/i386/i686/Implies: Likewise.
17323 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17325         * sysdeps/i386/i486/strlen.S: Moved to ...
17326         * sysdeps/i386/strlen.S: Here.
17328 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17330         * sysdeps/i386/i486/strcat.S: Moved to ...
17331         * sysdeps/i386/strcat.S: Here.
17333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17335         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17336         * sysdeps/i386/pthread_spin_trylock.S: Here.
17337         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17338         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17340 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17342         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17343         * sysdeps/i386/string-inlines.c: Here.
17345 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17347         * sysdeps/i386/i486/htonl.S: Moved ...
17348         * sysdeps/i386/htonl.S: here.
17350 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17352         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17353         * sysdeps/i386/bits/atomic.h: Here.
17355 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17357         * sysdeps/i386/i486/Versions: Removed.
17359 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17361         [BZ #2898]
17362         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17363         Based on patch by Aurelien Jarno.
17365 2015-08-26  Stan Shebs  <stanshebs@google.com>
17367         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17368         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17370 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17372         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17373         * sysdeps/powerpc/dl-procinfo.c:
17374         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17375         feature so it shows when LD_SHOW_AUXV=1.
17377 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17379         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17380         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17381         definition.  ISA 2.07B no longer requires full sync.
17383 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17385         [BZ #18863]
17386         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17387         (si_call_addr): Define.
17388         (si_syscall): Define.
17389         (si_arch): Define.
17391 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17393         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17394         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17395         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17396         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17397         (__memset_zero_constant_len_parameter): New.
17398         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17399         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17400         (__memset_zero_constant_len_parameter): Don't define if
17401         __memset_chk or USE_AS_BZERO are defined.
17403         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17404         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17405         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17407         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17408         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17409         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17410         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17411         comments.
17412         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17413         -mno-mmx for $(all-rtld-routines).
17414         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17415         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17416         i386.
17418 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17420         * sysdeps/generic/unwind.h
17421         (_Unwind_Word): Use __mode__(__unwind_word__)
17422         instead of __mode__(__word__).
17423         (_Unwind_Sword): Likewise.
17425         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17426         (MAX_NEEDED_INPUT): New define.
17427         (MAX_NEEDED_OUTPUT): New define.
17429         * NEWS: New item for IBM z13 string optimizations.
17431         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17432         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17433         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17434         * sysdeps/s390/multiarch/Makefile
17435         (sysdep_routines): Add memrchr functions.
17436         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17437         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17439         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17440         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17441         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17442         * sysdeps/s390/multiarch/Makefile
17443         (sysdep_routines): Add wmemcmp functions.
17444         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17445         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17446         * benchtests/bench-wmemcmp.c: New File.
17447         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17449         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17450         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17451         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17452         * sysdeps/s390/multiarch/Makefile
17453         (sysdep_routines): Add wmemset functions.
17454         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17455         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17456         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17457         * string/test-memset.c: Add wmemset support.
17458         * wcsmbs/test-wmemset.c: New File.
17459         * wcsmbs/Makefile (strop-tests): Add wmemset.
17460         * benchtests/bench-memset.c: Add wmemset support.
17461         * benchtests/bench-wmemset.c: New File.
17462         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17464         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17465         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17466         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17467         * sysdeps/s390/multiarch/Makefile
17468         (sysdep_routines): Add memccpy functions.
17469         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17470         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17471         * string/memccpy.c: Use MEMCCPY if defined.
17473         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17474         * sysdeps/s390/multiarch/memchr.c: Likewise.
17475         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17476         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17477         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17478         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17479         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17480         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17481         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17482         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17483         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17484         and rawmemchr functions.
17485         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17486         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17487         and wmemchr.
17488         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17489         * string/test-memchr.c: Add wmemchr support.
17490         * wcsmbs/test-wmemchr.c: New File.
17491         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17492         * benchtests/bench-memchr.c: Add wmemchr support.
17493         * benchtests/bench-wmemchr.c: New File.
17494         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17496         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17497         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17498         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17499         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17500         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17501         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17503         wcscspn functions.
17504         * sysdeps/s390/multiarch/ifunc-impl-list.c
17505         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17506         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17507         * string/test-strcspn.c: Add wcscspn support.
17508         * wcsmbs/test-wcscspn.c: New File.
17509         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17510         * benchtests/bench-strcspn.c: Add wcscspn support.
17511         * benchtests/bench-wcscspn.c: New File.
17512         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17514         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17515         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17516         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17517         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17518         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17519         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17521         wcspbrk functions.
17522         * sysdeps/s390/multiarch/ifunc-impl-list.c
17523         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17524         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17525         * string/test-strpbrk.c: Add wcspbrk support.
17526         * wcsmbs/test-wcspbrk.c: New File.
17527         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17528         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17529         * benchtests/bench-wcspbrk.c: New File.
17530         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17532         * sysdeps/s390/multiarch/strspn-c.c: New File.
17533         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17534         * sysdeps/s390/multiarch/strspn.c: Likewise.
17535         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17536         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17537         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17538         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17540         wcsspn functions.
17541         * sysdeps/s390/multiarch/ifunc-impl-list.c
17542         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17543         * string/test-strspn.c: Add wcsspn support.
17544         * wcsmbs/test-wcsspn.c: New File.
17545         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17546         * benchtests/bench-strspn.c: Add wcsspn support.
17547         * benchtests/bench-wcsspn.c: New File.
17548         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17550         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17551         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17552         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17553         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17554         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17555         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17557         wcsrchr functions.
17558         * sysdeps/s390/multiarch/ifunc-impl-list.c
17559         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17560         * benchtests/bench-wcsrchr.c: New File.
17561         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17563         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17564         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17565         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17566         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17567         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17568         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17570         wcschrnul functions.
17571         * sysdeps/s390/multiarch/ifunc-impl-list.c
17572         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17573         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17574         * string/test-strchr.c: Add wcschrnul support.
17575         * wcsmbs/test-wcschrnul.c: New File.
17576         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17577         * benchtests/bench-strchr.c: Add wcschrnul support.
17578         * benchtests/bench-wcschrnul.c: New File.
17579         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17581         * sysdeps/s390/multiarch/strchr-c.c: New File.
17582         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17583         * sysdeps/s390/multiarch/strchr.c: Likewise.
17584         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17585         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17586         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17587         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17588         wcschr functions.
17589         * sysdeps/s390/multiarch/ifunc-impl-list.c
17590         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17591         * string/strchr.c (STRCHR): Define and use macro.
17592         * benchtests/bench-wcschr.c: New File.
17593         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17595         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17596         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17597         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17598         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17599         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17600         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17602         wcsncmp functions.
17603         * sysdeps/s390/multiarch/ifunc-impl-list.c
17604         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17605         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17606         * benchtests/bench-strncmp.c: Add wcsncmp support.
17607         * benchtests/bench-wcsncmp.c: New File.
17608         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17610         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17611         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17612         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17613         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17614         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17615         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17616         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17617         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17618         wcscmp functions.
17619         * sysdeps/s390/multiarch/ifunc-impl-list.c
17620         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17621         * string/strcmp.c (STRCMP): Define and use macro.
17622         * benchtests/bench-wcscmp.c: New File.
17623         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17624         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17625         instead of _HAVE_STRING_ARCH_memchr.
17627         * sysdeps/s390/multiarch/strncat-c.c: New File.
17628         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17629         * sysdeps/s390/multiarch/strncat.c: Likewise.
17630         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17631         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17632         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17634         wcsncat functions.
17635         * sysdeps/s390/multiarch/ifunc-impl-list.c
17636         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17637         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17638         * string/test-strncat.c: Add wcsncat support.
17639         * wcsmbs/test-wcsncat.c: New File.
17640         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17641         * benchtests/bench-strncat.c: Add wcsncat support.
17642         * benchtests/bench-wcsncat.c: New File.
17643         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17645         * sysdeps/s390/multiarch/strcat-c.c: New File.
17646         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17647         * sysdeps/s390/multiarch/strcat.c: Likewise.
17648         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17649         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17650         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17651         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17652         wcscat functions.
17653         * sysdeps/s390/multiarch/ifunc-impl-list.c
17654         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17655         * string/strcat.c (STRCAT): Define and use macro.
17656         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17657         * string/test-strcat.c: Add wcscat support.
17658         * wcsmbs/test-wcscat.c: New File.
17659         * wcsmbs/Makefile (strop-tests): Add wcscat.
17660         * benchtests/bench-strcat.c: Add wcscat support.
17661         * benchtests/bench-wcscat.c: New File.
17662         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17664         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17665         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17666         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17667         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17668         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17669         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17671         wcpncpy functions.
17672         * sysdeps/s390/multiarch/ifunc-impl-list.c
17673         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17674         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17675         * string/test-stpncpy.c: Add wcpncpy support.
17676         * wcsmbs/test-wcpncpy.c: New File.
17677         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17678         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17679         * benchtests/bench-wcpncpy.c: New File.
17680         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17682         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17683         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17684         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17685         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17686         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17687         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17688         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17690         wcsncpy functions.
17691         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17692         * sysdeps/s390/multiarch/ifunc-impl-list.c
17693         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17694         * string/test-strncpy.c: Add wcsncpy support.
17695         * wcsmbs/test-wcsncpy.c: New File.
17696         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17697         * benchtests/bench-strncpy.c: Add wcsncpy support.
17698         * benchtests/bench-wcsncpy.c: New File.
17699         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17701         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17702         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17703         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17704         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17705         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17706         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17707         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17708         wcpcpy functions.
17709         * string/stpcpy.c: Use STPCPY if defined.
17710         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17711         * sysdeps/s390/multiarch/ifunc-impl-list.c
17712         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17713         * string/test-stpcpy.c: Add wcpcpy support.
17714         * wcsmbs/test-wcpcpy.c: New File.
17715         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17716         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17717         * benchtests/bench-wcpcpy.c: New File.
17718         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17720         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17721         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17722         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17723         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17724         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17725         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17726         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17728         wcscpy functions.
17729         * sysdeps/s390/multiarch/ifunc-impl-list.c
17730         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17731         * benchtests/bench-wcscpy.c: New File.
17732         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17734         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17735         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17736         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17737         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17738         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17739         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17741         wcsnlen functions.
17742         * sysdeps/s390/multiarch/ifunc-impl-list.c
17743         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17744         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17745         * string/test-strnlen.c: Add wcsnlen support.
17746         * wcsmbs/test-wcsnlen.c: New File.
17747         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17748         * benchtests/bench-strnlen.c: Add wcsnlen support.
17749         * benchtests/bench-wcsnlen.c: New File.
17750         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17752         * sysdeps/s390/multiarch/Makefile: New File.
17753         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17754         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17755         * sysdeps/s390/multiarch/strlen.c: Likewise.
17756         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17757         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17758         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17759         * string/strlen.c (STRLEN): Define and use macro.
17760         * sysdeps/s390/multiarch/ifunc-impl-list.c
17761         (IFUNC_VX_IMPL): New macro function.
17762         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17763         * benchtests/Makefile (wcsmbs-bench): New variable.
17764         (string-bench-all): Added wcsmbs-bench.
17765         * benchtests/bench-wcslen.c: New File.
17767         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17768         s390_vx_libc_ifunc2): New macro function.
17770         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17771         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17772         assembler support.
17773         * sysdeps/s390/configure: Regenerated.
17775         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17776         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17778         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17779         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17780         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17782         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17783         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17784         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17785         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17786         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17787         (memcmp, bcmp): Use __memcmp_default as alias source.
17788         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17789         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17790         Rename to __memcmp_default.
17791         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17792         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17793         (memcpy): Use __memcpy_default as alias source.
17794         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17795         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17796         Rename to __memcpy_default.
17797         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17798         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17799         (memset): Use __memset_default as alias source.
17800         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17801         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17802         Rename to __memset_default.
17803         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17804         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17806         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17807         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17808         (memcmp, bcmp): Use __memcmp_default as alias source.
17809         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17810         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17811         Rename to __memcmp_default.
17812         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17813         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17814         (memcpy): Use __memcpy_default as alias source.
17815         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17816         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17817         Rename to __memcpy_default.
17818         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17819         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17820         (memset): Use __memset_default as alias source.
17821         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17822         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17823         Rename to __memset_default.
17824         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17825         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17827         [BZ #18610]
17828         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17829         __ieee_instruction_pointer to __unused.
17830         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17831         __ieee_instruction_pointer.
17832         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17833         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17834         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17835         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17836         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17837         Mark dxc-field as reserved.
17839 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17841         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17842         if the weak reference is not null.
17844 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17846         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17848         [BZ #11214]
17849         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17851 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17853         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17854         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17855         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17856         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17857         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17858         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17859         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17860         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17861         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17862         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17863         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17864         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17865         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17866         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17867         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17868         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17869         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17870         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17872 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17874         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17875         register other than r0 for tabort, it has special meaning.
17876         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17877         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17878         transaction before starting syscall.
17880 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17882         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17884 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17886         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17888         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17889         * sysdeps/x86_64/rtld-memset.S: Likewise.
17890         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17891         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17892         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17893         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17895         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17897 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17899         * debug/strcpy_chk.c: Improve performance.
17900         * debug/stpcpy_chk.c: Likewise.
17901         * sysdeps/x86_64/strcpy_chk.S: Remove.
17902         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17904         [BZ #18240]
17905         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17907 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17909         [BZ #15128]
17910         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17911         ifuncmain8.
17912         (modules-names): Add ifuncmod8.
17913         ($(objpfx)ifuncmain8): New rule.
17914         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17915         <cpuid.h>.
17916         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17917         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17918         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17919         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17920         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17921         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17922         * sysdeps/x86_64/ifuncmain8.c: New file.
17923         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17924         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17925         Removed.
17926         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17927         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17928         Change rtld_savespace_sse to __glibc_unused2.
17929         (RTLD_CHECK_FOREIGN_CALL): Removed.
17930         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17931         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17932         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17934 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17936         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17938 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17940         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17941         Unconditionally set __fpcr to avoid uninialized warning.
17942         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17944 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17946         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17947         is corrupt.
17949         * malloc/arena.c (arena_get2): Drop unused argument.
17950         (arena_lock): Adjust.
17951         (arena_get_retry): Likewise.
17953 2015-08-24  Andreas Schwab  <schwab@suse.de>
17955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17956         Don't define.
17957         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17958         (__ASSUME_IPC64): Don't undef.
17959         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17960         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17961         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17962         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17963         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17964         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17965         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17966         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17967         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17968         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17969         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17970         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17971         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17972         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17973         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17974         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17975         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17976         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17977         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17978         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17979         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17981 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17983         * manual/Makefile (install): Only build manual when perl is available.
17985 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17988         '#undef memcpy' by '#undef memchr'.
17990 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17992         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17993         memchr not point to the internal __GI_memchr implementation.
17995 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17997         * timezone/Makefile (CFLAGS-zdump.c): Remove
17998         -Wno-strict-prototypes.
17999         (CFLAGS-zic.c): Likewise.
18000         (CFLAGS-ialloc.c): Likewise.
18001         (CFLAGS-scheck.c): Likewise.
18003         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18004         -Wno-error=undef.
18006 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18008         * i386/i686/multiarch/strcasestr-c.c: Removed.
18009         * x86_64/multiarch/strcasestr.c: Likewise.
18010         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18011         Remove strcasestr.
18013 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18015         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18018         variables for high and low parts before possibly modifying them.
18020 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18022         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18023         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18024         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18025         of "multiarch/init-arch.h".
18026         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18027         * sysdeps/x86/init-arch.h: This.
18029 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18031         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18032         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18034 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18036         [BZ #17787]
18037         * manual/macros.texi: Add twoexp macro.
18038         * manual/filesys.texi: Fix exponents.
18039         * manual/llio.texi: Likewise.
18040         * manual/stdio.texi: Likewise.
18042 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18044         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18045         incorrect use.
18047 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18049         [BZ #18370]
18050         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18051         whose real or imaginary part has small absolute value.
18052         * math/s_csqrtf.c (__csqrtf): Likewise.
18053         * math/s_csqrtl.c (__csqrtl): Likewise.
18054         * math/auto-libm-test-in: Add more tests of csqrt.
18055         * math/auto-libm-test-out: Regenerated.
18056         * sysdeps/i386/fpu/libm-test-ulps: Update.
18058 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18060         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18061         __ppc_set_ppr_very_low): New functions.
18062         * manual/platform.texi: Add documentation about
18063         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18065 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18067         * string/stpncpy.c (stpncpy): Improve performance using
18068         __strnlen/memcpy/memset.
18070 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18072         [BZ #18796]
18073         * scripts/test-installation.pl: Don't add -lmvec to build options if
18074         libmvec wasn't built.
18076 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18078         [BZ #14341]
18079         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18080         case when there is a gap between DT_REL and DT_JMPREL sections.
18081         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18082         (LDFLAGS-tst-split-dynreloc): New.
18083         (tst-split-dynreloc-ENV): Likewise.
18084         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18085         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18087 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18089         [BZ #18822]
18090         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18091         attribute_hidden.
18092         (__xstat64_conv): Likewise.
18093         (__xstat32_conv): Likewise.
18095 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18097         [BZ #18822]
18098         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18099         Don't load %ebx when calling __setcontext.  Call __setcontext
18100         with HIDDEN_JUMPTARGET.
18101         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18102         libc_hidden_def.
18104 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18106         * sysdeps/i386/i686/Makefile
18107         [$(subdir) == string] (sysdep_routines): Moved to ...
18108         * sysdeps/i386/Makefile: Here.
18109         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18110         * sysdeps/i386/cacheinfo.c: Here.
18111         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18112         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18113         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18114         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18116 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18118         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18119         __i586__ is defined.
18120         (HAS_I686): Defined to 1 if __i686__ is defined.
18122 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18124         * elf/Makefile [$(have-z-execstack) = yes]
18125         (CPPFLAGS-tst-execstack.c): New variable.
18127         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18128         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18129         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18130         UTMPX || _HAVE_UT_TV].
18131         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18132         UTMPX || _HAVE_UT_TV - 0].
18134 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18136         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18137         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18138         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18140 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18142         * sysdeps/powerpc/dl-procinfo.c:
18143         (_dl_powerpc_cap_flags): Added missing strings for some
18144         hwcap features.
18145         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18147 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18149         Port the 0x7efe...feff pattern to GCC 6.
18150         See Steve Ellcey's bug report in:
18151         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18152         * string/memrchr.c (MEMRCHR):
18153         * string/rawmemchr.c (RAWMEMCHR):
18154         * string/strchr.c (strchr):
18155         * string/strchrnul.c (STRCHRNUL):
18156         Rewrite code to avoid issues with signed shift overflow.
18158 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18160         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18161         whether cpuid is available only if HAS_CPUID is 0.
18162         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18163         (HAS_I586): Likewise.
18164         (HAS_I686): Likewise.
18166 2015-08-18  Zack Weinberg  <zackw@panix.com>
18168         * misc/Versions (libc): Add GLIBC_2.23.
18170 2015-08-18  Alan Modra  <amodra@gmail.com>
18172         [BZ #18421]
18173         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18174         .Lp__global.
18175         (_start): Load %dp via .Lp__global.
18176         [!SHARED]: Use .section .rodata.
18178 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18180         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18181         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18183 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18185         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18186         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18188 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18190         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18191         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18193 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18195         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18196         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18198 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18200         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18201         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18203 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18205         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18206         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18208 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18210         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18212 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18214         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18215         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18217         (__ASSUME_LWS_CAS): Delete.
18219 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18221         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18222         * sysdeps/hppa/configure: Regenerated.
18223         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18224         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18225         * sysdeps/hppa/nptl/tls.h: Likewise.
18227 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18229         [BZ #18823]
18230         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18231         for scaling up small arguments.
18232         * math/s_csqrtf.c (__csqrtf): Likewise.
18233         * math/s_csqrtl.c (__csqrtl): Likewise.
18234         * math/auto-libm-test-in: Add more tests of csqrt.
18235         * math/auto-libm-test-out: Regenerated.
18237 2015-08-17  Andreas Schwab  <schwab@suse.de>
18239         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18240         version set GLIBC_2.19.
18242 2015-08-16  Zack Weinberg  <zackw@panix.com>
18244         [BZ #18681]
18245         * misc/regexp.h: This interface is no longer supported.
18246         Remove all contents, leaving only an #error directive.
18247         * misc/regexp.c (loc1, loc2, locs, step, advance):
18248         Demote to compatibility symbols.
18250 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18252         [BZ #18084]
18253         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18254         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18255         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18256         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18257         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18258         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18259         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18260         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18261         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18263 2015-08-15  Zack Weinberg  <zackw@panix.com>
18265         [BZ #18795]
18266         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18267         buffer length is known to be too large, not if it's known to be
18268         small enough.
18269         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18270         overflow at runtime, involving a length parameter, twice: once
18271         with a compile-time constant length parameter, once without.
18273 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18275         [BZ #18824]
18276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18277         scaling x * y up instead of down.
18278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18280         * math/auto-libm-test-in: Add more tests of fma.
18281         * math/auto-libm-test-out: Regenerated.
18283 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18285         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18287 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18289         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18290         unnecessary movq.
18291         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18292         Likewise.
18294 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18296         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18297         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18298         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18299         and tgamma.
18300         * math/auto-libm-test-out: Regenerated.
18301         * sysdeps/i386/fpu/libm-test-ulps: Update.
18302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18304         [BZ #16520]
18305         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18306         (__tanh): Force underflow exception for arguments with small
18307         absolute value.
18308         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18309         (__tanhf): Force underflow exception for arguments with small
18310         absolute value.
18311         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18312         (__tanhl): Force underflow exception for arguments with small
18313         absolute value.
18314         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18315         (__tanhl): Force underflow exception for arguments with small
18316         absolute value.
18317         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18318         (__tanhl): Force underflow exception for arguments with small
18319         absolute value.
18320         * math/auto-libm-test-in: Add more tests of tanh.
18321         * math/auto-libm-test-out: Regenerated.
18322         * sysdeps/i386/fpu/libm-test-ulps: Update.
18324 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18326         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18327         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18329 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18331         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18332         <cpuid.h>.
18334 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18336         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18337         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18339 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18341         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18342         Remove $(objpfx)init-arch.o.
18343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18344         init-arch.
18345         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18346         (INIT_ARCH_EXT): Defined as empty.
18347         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18349         __init_cpu_features call.  Replace HAS_XXX with
18350         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18353         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18357         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18358         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18374         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18376         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18380         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18382         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18383         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18385         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18387 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18390         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18391         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18392         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18393         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18394         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18395         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18396         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18397         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18398         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18399         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18400         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18401         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18402         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18403         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18404         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18405         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18406         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18407         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18408         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18409         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18410         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18411         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18412         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18413         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18414         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18415         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18416         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18417         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18418         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18419         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18420         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18421         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18422         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18423         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18424         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18425         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18426         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18427         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18428         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18429         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18430         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18431         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18433 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18435         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18436         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18440         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18441         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18442         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18443         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18444         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18445         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18446         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18447         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18448         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18449         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18450         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18451         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18453         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18454         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18456         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18457         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18458         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18460         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18461         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18462         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18463         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18464         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18466         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18468         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18469         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18473         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18474         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18475         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18476         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18477         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18479 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18481         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18482         (dl_platform_init): Call init_cpu_features.
18483         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18484         * sysdeps/i386/i686/cacheinfo.c
18485         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18486         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18487         * sysdeps/i386/i686/multiarch/Versions: Removed.
18488         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18489         Removed.
18490         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18491         * sysdeps/unix/sysv/linux/x86/Makefile
18492         (libpthread-sysdep_routines): Remove init-arch.
18493         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18494         <sysdeps/x86_64/dl-procinfo.c> instead of
18495         sysdeps/generic/dl-procinfo.c>.
18496         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18497         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18498         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18499         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18500         [$(subdir) == elf] (tests-static): Add
18501         tst-get-cpu-features-static.
18502         * sysdeps/x86/Versions: New file.
18503         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18504         * sysdeps/x86/cpu-features.c: Likewise.
18505         * sysdeps/x86/cpu-features.h: Likewise.
18506         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18507         * sysdeps/x86/libc-start.c: Likewise.
18508         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18509         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18510         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18511         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18512         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18513         Assume USE_MULTIARCH is defined and don't check it.
18514         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18515         (is_amd): Likewise.
18516         (max_cpuid): Likewise.
18517         (intel_check_word): Likewise.
18518         (__cache_sysconf): Don't call __init_cpu_features.
18519         (__x86_preferred_memory_instruction): Removed.
18520         (init_cacheinfo): Don't call __init_cpu_features. Replace
18521         __cpu_features with GLRO(dl_x86_cpu_features).
18522         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18523         (dl_platform_init): Call init_cpu_features.
18524         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18525         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18526         * sysdeps/x86_64/multiarch/Versions: Removed.
18527         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18528         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18529         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18530         Removed.
18531         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18533 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18535         [BZ #18820]
18536         * libio/Makefile (test-fmemopen-mem): New test.
18537         * libio/test-fmemopen.c (do_bz18820): New test.
18538         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18539         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18541 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18543         [BZ #16734]
18544         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18545         (FREE_BUF): Delete.
18546         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18547         * libio/genops.c (_IO_setb): Use malloc and free directly.
18548         (_IO_default_doallocate, _IO_default_finish): Likewise.
18549         ( _IO_unbuffer_all): Likewise.
18550         ( libc_freeres_fn): Likewise.
18551         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18552         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18553         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18554         (_IO_wdefault_doallocate): Likewise.
18556 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18558         [BZ #18086]
18559         * sysdeps/posix/nice.c (nice): Restore old errno.
18560         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18562 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18566 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18568         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18569         __bcopy and add a weak_alias to bcopy.
18570         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18571         for static build.
18573         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18574         cleanup macro usage.
18575         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18576         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18580         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18581         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18582         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18583         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18584         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18586         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18587         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18588         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18593         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18595         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18596         libc_hidden_def.
18597         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18599         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18600         (sysdep_routines): Add strstr-ppc64.
18601         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18603 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18605         [BZ #18778]
18606         * elf/Makefile (tests): Add Add tst-nodelete2.
18607         (modules-names): Add tst-nodelete2mod.
18608         (tst-nodelete2mod.so-no-z-defs): New.
18609         ($(objpfx)tst-nodelete2): Likewise.
18610         ($(objpfx)tst-nodelete2.out): Likewise.
18611         (LDFLAGS-tst-nodelete2): Likewise.
18612         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18613         out of loop through all loaded libraries.
18614         * elf/tst-nodelete2.c: New file.
18615         * elf/tst-nodelete2mod.c: Likewise.
18616         * elf/tst-znodelete-zlib.cc: Delete.
18618 2015-08-11  Andreas Schwab  <schwab@suse.de>
18620         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18621         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18622         (__openat64_nocancel): Likewise.
18624 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18626         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18627         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18628         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18629         * math/auto-libm-test-out: Regenerated.
18630         * sysdeps/i386/fpu/libm-test-ulps: Update.
18631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18633 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18635         [BZ #18790]
18636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18637         threshold for returning +/- 1.
18638         * math/auto-libm-test-in: Add more tests of tanh.
18639         * math/auto-libm-test-out: Regenerated.
18640         * sysdeps/i386/fpu/libm-test-ulps: Update.
18642 2015-08-10  Andreas Schwab  <schwab@suse.de>
18644         [BZ #18781]
18645         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18646         MORE_OFLAGS to oflag.
18647         * io/test-lfs.c (do_test): Test openat64.
18649 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18651         [BZ #18789]
18652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18653         smaller threshold for returning the argument.
18654         * math/auto-libm-test-in: Add more tests of sinh.
18655         * math/auto-libm-test-out: Regenerated.
18656         * sysdeps/i386/fpu/libm-test-ulps: Update.
18658 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18660         [BZ #18674]
18661         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18662         break.
18664 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18666         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18667         (generated): Don't add $(addprefix z.,$(tzfiles)).
18669 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18671         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18672         * scripts/sysd-rules.awk: Likewise.
18674 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18676         * iconvdata/tst-tables.sh: Change echo -n to printf.
18677         * nss/db-Makefile: Likewise.
18678         * posix/tst-getconf.sh: Likewise.
18679         * stdio-common/tst-unbputc.sh: Likewise.
18681 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18683         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18684         MADV_*_PAGES defines behind this feature check.
18686 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18688         [BZ #18480]
18689         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18690         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18691         Define.
18692         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18693         LOAD_REGS_5, LOAD_REGS_6): Update.
18694         (INTERNAL_SYSCALL): Update using new LOAD defines.
18695         (INTERNAL_SYSCALL_NCS): Likewise.
18696         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18698 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18700         [BZ #16734]
18701         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18703 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18705         [BZ #17905]
18706         * catgets/Makefile (tst-catgets-mem): New test.
18707         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18708         * catgets/open_catalog.c (__open_catalog): Likewise.
18709         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18711 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18713         [BZ #18787]
18714         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18715         clobber registers.
18716         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18717         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18718         Cast return to __typeof (oldval).
18720 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18722         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18723         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18724         and delete sys/syscall.h include.
18726 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18728         [BZ #16517]
18729         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18730         (tan): Force underflow exception for arguments with small absolute
18731         value.
18732         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18733         (__kernel_tanf): Force underflow exception for arguments with
18734         small absolute value.
18735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18736         (__kernel_tanl): Force underflow exception for arguments with
18737         small absolute value.
18738         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18739         (__kernel_tanl): Force underflow exception for arguments with
18740         small absolute value.
18741         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18742         (__kernel_tanl): Force underflow exception for arguments with
18743         small absolute value.
18744         * math/auto-libm-test-in: Add more tests of tan.
18745         * math/auto-libm-test-out: Regenerated.
18747 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18749         Fix sysdeps/i386/fpu/s_scalbn.S build
18751         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18753 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18755         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18757 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18759         Fix gcrt0.o compilation
18761         When static-start-installed-name is different from
18762         start-installed-name, we must not use the shared objects.
18764         * csu/Makefile
18765         (extra-objs): Add gmon-start.o when building shared library and
18766         $(static-start-installed-name) is different from
18767         $(start-installed-name).
18768         $(objpfx)g$(static-start-installed-name): When building shared
18769         library and $(static-start-installed-name) is different from
18770         $(static-start-installed-name), revert to non-shared rule,
18771         i.e. using $(objpfx)% and gmon-start.o.
18773 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #16519]
18776         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18777         (__ieee754_sinh): Force underflow exception for arguments with
18778         small absolute value.
18779         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18780         (__ieee754_sinhf): Force underflow exception for arguments with
18781         small absolute value.
18782         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18783         (__ieee754_sinhl): Force underflow exception for arguments with
18784         small absolute value.
18785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18786         (__ieee754_sinhl): Force underflow exception for arguments with
18787         small absolute value.
18788         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18789         (__ieee754_sinhl): Force underflow exception for arguments with
18790         small absolute value.
18791         * math/auto-libm-test-in: Add more tests of sinh.
18792         * math/auto-libm-test-out: Regenerated.
18793         * sysdeps/i386/fpu/libm-test-ulps: Update.
18795 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18797         * libio/oldfileops.c: Include unistd.h.
18799 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18801         * stdlib/isomac.c: Include ctype.h.
18803 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18805         * dirent/tst-seekdir.c (main): Converted to ...
18806         (do_test): ... this.
18807         (TEST_FUNCTION): New macro.
18808         Include test-skeleton.c.
18809         * elf/tst-dlmodcount.c (main): Converted to ...
18810         (do_test): ... this.
18811         (TEST_FUNCTION): New macro.
18812         Include test-skeleton.c.
18813         * elf/tst-order-main.c (main): Converted to ...
18814         (do_test): ... this.
18815         (TEST_FUNCTION): New macro.
18816         Include test-skeleton.c.
18817         * elf/tst-pie2.c (main): Converted to ...
18818         (do_test): ... this.
18819         (TEST_FUNCTION): New macro.
18820         Include test-skeleton.c.
18821         * inet/tst-ether_aton.c (main): Converted to ...
18822         (do_test): ... this.
18823         (TEST_FUNCTION): New macro.
18824         Include test-skeleton.c.
18825         * misc/tst-mntent.c (main): Converted to ...
18826         (do_test): ... this.
18827         (TEST_FUNCTION): New macro.
18828         Include test-skeleton.c.
18829         * misc/tst-tsearch.c (main): Converted to ...
18830         (do_test): ... this.
18831         (TEST_FUNCTION): New macro.
18832         Include test-skeleton.c.
18833         * posix/tst-regexloc.c (main): Converted to ...
18834         (do_test): ... this.
18835         (TEST_FUNCTION): New macro.
18836         Include test-skeleton.c.
18837         * resolv/tst-aton.c (main): Converted to ...
18838         (do_test): ... this.
18839         (TEST_FUNCTION): New macro.
18840         Include test-skeleton.c.
18841         * stdio-common/test-fwrite.c (main): Converted to ...
18842         (do_test): ... this.
18843         (TEST_FUNCTION): New macro.
18844         Include test-skeleton.c.
18845         * stdio-common/tst-ferror.c (main): Converted to ...
18846         (do_test): ... this.
18847         (TEST_FUNCTION): New macro.
18848         Include test-skeleton.c.
18849         * stdio-common/tst-printf.c (main): Converted to ...
18850         (do_test): ... this.
18851         (TEST_FUNCTION): New macro.
18852         Include test-skeleton.c.
18853         * stdio-common/tst-printfsz.c (main): Converted to ...
18854         (do_test): ... this.
18855         (TEST_FUNCTION): New macro.
18856         Include test-skeleton.c.
18857         * stdlib/tst-strtod.c (main): Converted to ...
18858         (do_test): ... this.
18859         (TEST_FUNCTION): New macro.
18860         Include test-skeleton.c.
18861         * string/tst-strlen.c (main): Converted to ...
18862         (do_test): ... this.
18863         (TEST_FUNCTION): New macro.
18864         Include test-skeleton.c.
18865         * string/tst-svc.c (main): Converted to ...
18866         (do_test): ... this.
18867         (TEST_FUNCTION): New macro.
18868         Include test-skeleton.c.
18869         * time/tst-strptime.c (main): Converted to ...
18870         (do_test): ... this.
18871         (TEST_FUNCTION): New macro.
18872         Include test-skeleton.c.
18873         * timezone/tst-timezone.c (main): Converted to ...
18874         (do_test): ... this.
18875         (TEST_FUNCTION): New macro.
18876         Include test-skeleton.c.
18878 2015-08-05  Zack Weinberg  <zackw@panix.com>
18880         * misc/regexp.h: Update comments.
18882 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18884         [BZ #18635]
18885         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18886         before return label.
18888 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18890         [BZ #18661]
18891         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18892         when calling __errno_location.
18893         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18894         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18896 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18898         [BZ #18661]
18899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18900         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18901         __gettimeofday.
18903 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18905         [BZ #18661]
18906         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18907         (__start_context): Don't use pop to restore %rdi so that stack
18908         is aligned to 16 bytes when calling __setcontext.
18910 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18912         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18913         only for libc.
18914         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18916 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18918         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18919         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18920         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18922 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18924         * string/memccpy.c (memccpy):
18925         Improve performance by using memchr/memcpy/__mempcpy.
18927 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18929         * string/strncpy.c (strncpy):
18930         Improve performance by using __strnlen/memcpy.
18932 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18934         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18935         Optimize to avoid an unnecessary FPCR read.
18937 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18939         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18940         Optimize to reduce FPCR/FPSR accesses.
18942 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18944         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18945         dead->data[category] != NULL.
18947 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18949         [BZ #18647]
18950         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18951         and |x| close to 1, use absolute value of x when computing log.
18952         * math/auto-libm-test-in: Add more tests of pow.
18953         * math/auto-libm-test-out: Regenerated.
18955 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18957         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18958         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18959         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18961 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18963         [BZ #18525]
18964         * locales/km_KH: Remove timezone definition.
18965         * locales/lo_LA: Likewise.
18966         * locales/my_MM: Likewise.
18967         * locales/nan_TW@latin: Likewise.
18968         * locales/th_TH: Likewise.
18969         * locales/uk_UA: Likewise.
18971 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18973         [BZ #18265]
18974         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18975         (wcsncat): Likewise.
18976         (wcscmp): Likewise.
18977         (wcsncmp): Likewise.
18979 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18981         * test-skeleton.c (usage): New function.
18982         (main): Call usage when opt is '?'.
18984 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18986         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18987         before first use.
18989 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18991         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18992         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18993         in there too.
18995 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18997         * version.h (RELEASE): Set to "development".
18998         (VERSION): Set to "2.22.90"
19000         * version.h (RELEASE): Set to "stable".
19001         (VERSION): Set to "2.22"
19002         * include/features.h (__GLIBC_MINOR__): Set to 22.
19004 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19006         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19007         Restructure macro to avoid "value computed is not used" warning.
19008         (atomic_compare_and_exchange_val_acq): Likewise.
19010 2015-08-04  Andreas Schwab  <schwab@suse.de>
19012         [BZ #18635]
19013         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19014         ret.
19015         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19017 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19019         * po/pl.po: Updated translation.
19020         * po/uk.po: Likewise.
19021         * po/fi.po: Likewise.
19022         * po/ko.po: Likewise.
19023         * po/ru.po: Likewise.
19024         * po/vi.po: Likewise.
19026 2015-07-31  Zack Weinberg  <zackw@panix.com>
19028         [BZ #18681]
19029         * regexp.h: Add unconditional #warning stating that this header
19030         will be removed soon.  Revise banner comment to match.
19031         (compile): Consistently use ERROR instead of RETURN to report
19032         errors (partial fix for bz#18681).
19033         * regexp.c: Don't include regexp.h. Remove some unnecessary
19034         declarations.
19036 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19038         * po/libc.pot: Regenerated.
19040 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19042         [BZ #18740]
19043         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19044         float-vlen4-arch-ext-cflags): Removed.
19045         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19046         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19048 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19050         [BZ #14113]
19051         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19052         aligned to __aligned__.
19053         (pthread_cond_t, pthread_rwlock_t): Likewise.
19055 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19057         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19059 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19061         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19062         (struct sigaction): Change sa_flags from a long to an int, and add
19063         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19065 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19067         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19068         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19069         sysdeps/generic/sysdep.h include.
19070         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19071         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19072         sysdeps/hppa/sysdep.h.
19073         (ENTRY, PSEUDO): Undefine before defining.
19075 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19077         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19078         from scratch to use INTERNAL_SYSCALL.
19080 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19082         [BZ #18078]
19083         * scripts/check-localplt.awk: Support alternate relocations.
19084         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19085         sections.
19086         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19087         malloc entries with + REL R_386_GLOB_DAT.
19088         * sysdeps/x86_64/localplt.data: New file.
19090 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19092         [BZ #18731]
19093         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19094         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19095         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19097 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19099         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19101 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19103         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19104         directly in terms of __sync_fetch_and_add and delete (int) cast.
19106 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19108         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19109         the -D_ASM_IA64_CURRENT_H flag.
19111 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19113         [BZ #18641]
19114         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19116 2015-07-27  Andreas Schwab  <schwab@suse.de>
19118         * conform/conformtest.pl (checknamespace): Filter out string
19119         literals while tokenizing.
19121 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19123         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19124         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19125         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19127 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19129         * nptl/tst-join7mod.c: Add #include <string.h>.
19131 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19133         * sysdeps/nios2/libm-test-ulps: Update.
19135 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19137         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19138         Fix order of arguments to the rt_sigprocmask syscall.
19139         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19140         Likewise.
19142 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19144         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19146 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19148         [BZ #18457]
19149         * nptl/Makefile (tests): New test case tst-join7.
19150         (modules-names): New test case module tst-join7mod.
19151         * nptl/tst-join7.c: New file.
19152         * nptl/tst-join7mod.c: New file.
19153         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19154         all translation units in libc.so, libpthread.so and rtld.
19156 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19160 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19164         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19169         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19170         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19174         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19175         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19176         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19177         implementation.
19179 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19181         [BZ #17711]
19182         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19183         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19184         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19185         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19186         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19187         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19189 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19191         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19192         instead of just saying load lock in the comments.
19194 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19196         * sysdeps/unix/Subdirs: Moved ...
19197         * sysdeps/posix/Subdirs: ... here.
19198         * login/pty.h (struct termios, struct winsize): Add forward decls.
19199         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19200         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19201         * sysdeps/arm/nacl/libc.abilist: Updated.
19202         * sysdeps/nacl/libutil.abilist: New file.
19204         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19205         (SIGWINCH): New macro.
19207         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19208         * sysdeps/arm/nacl/libc.abilist: Add it.
19210 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19212         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19214 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19216         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19217         Swap __glibc_reserved0 and sa_flags order.
19219 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19221         [BZ #18657]
19222         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19223         are pending TLS destructor calls.
19224         * include/link.h (struct link_map): Add concurrency note for
19225         L_TLS_DTOR_COUNT.
19226         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19227         Don't touch the link map flag.  Atomically increment
19228         l_tls_dtor_count.
19229         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19230         Avoid taking the load lock and don't touch the link map flag.
19231         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19232         * stdlib/Makefile (tests): Use it.
19233         * stdlib/tst-tls-atexit.c (do_test): dlopen
19234         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19235         to allow tst-tls-atexit-nodelete test case to use it.
19237 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19239         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19240         to bits/types.h.
19241         (msgqnum_t): New typedef.
19242         (msglen_t): Likewise.
19243         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19244         and msg_qbytes type to msglen_t.
19246 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19248         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19249         pad0 to __glibc_reserved0.
19250         (struct stat64): Likewise.
19252 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19254         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19255         Change sa_flags from a long to an int and add __glibc_reserved0 before
19256         it for padding.
19258 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19260         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19261         anonymous by deleting "siginfo" name.
19263 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19265         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19266         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19267         rather than __nacl_irt_filename.
19268         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19270         * NEWS: New item for arm-nacl port.
19271         * sysdeps/arm/nacl/libc.abilist: New file.
19272         * sysdeps/nacl/ld.abilist: New file.
19273         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19274         * sysdeps/nacl/libanl.abilist: New file.
19275         * sysdeps/nacl/libcrypt.abilist: New file.
19276         * sysdeps/nacl/libdl.abilist: New file.
19277         * sysdeps/nacl/libm.abilist: New file.
19278         * sysdeps/nacl/libpthread.abilist: New file.
19279         * sysdeps/nacl/libresolv.abilist: New file.
19280         * sysdeps/nacl/librt.abilist: New file.
19282 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19284         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19285         __startcontext to initialize the new context.
19286         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19287         up CFI directive to forbid further backtracing.
19289 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19291         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19292         reference.
19293         * charmaps/ANSI_X3.4-1968: Likewise.
19294         * charmaps/BS_4730: Likewise.
19295         * charmaps/BS_VIEWDATA: Likewise.
19296         * charmaps/CP1250: Likewise.
19297         * charmaps/CP1251: Likewise.
19298         * charmaps/CP1252: Likewise.
19299         * charmaps/CP1253: Likewise.
19300         * charmaps/CP1254: Likewise.
19301         * charmaps/CP1255: Likewise.
19302         * charmaps/CP1256: Likewise.
19303         * charmaps/CSN_369103: Likewise.
19304         * charmaps/EBCDIC-DK-NO: Likewise.
19305         * charmaps/GB_1988-80: Likewise.
19306         * charmaps/GREEK-CCITT: Likewise.
19307         * charmaps/GREEK7: Likewise.
19308         * charmaps/INIS-8: Likewise.
19309         * charmaps/ISIRI-3342: Likewise.
19310         * charmaps/ISO_2033-1983: Likewise.
19311         * charmaps/ISO_5427-EXT: Likewise.
19312         * locales/POSIX: Likewise.
19313         * locales/ar_SA: Likewise.
19314         * locales/be_BY: Likewise.
19315         * locales/be_BY@latin: Likewise.
19316         * locales/ca_ES: Likewise.
19317         * locales/cs_CZ: Likewise.
19318         * locales/da_DK: Likewise.
19319         * locales/de_BE: Likewise.
19320         * locales/de_CH: Likewise.
19321         * locales/de_LU: Likewise.
19322         * locales/en_AU: Likewise.
19323         * locales/en_BW: Likewise.
19324         * locales/en_CA: Likewise.
19325         * locales/en_DK: Likewise.
19326         * locales/en_GB: Likewise.
19327         * locales/en_IE: Likewise.
19328         * locales/en_NZ: Likewise.
19329         * locales/en_ZA: Likewise.
19330         * locales/en_ZW: Likewise.
19331         * locales/es_AR: Likewise.
19332         * locales/es_BO: Likewise.
19333         * locales/es_CL: Likewise.
19334         * locales/es_CO: Likewise.
19335         * locales/es_DO: Likewise.
19336         * locales/es_EC: Likewise.
19337         * locales/es_ES: Likewise.
19338         * locales/es_HN: Likewise.
19339         * locales/es_MX: Likewise.
19340         * locales/es_PA: Likewise.
19341         * locales/es_PE: Likewise.
19342         * locales/es_PY: Likewise.
19343         * locales/es_SV: Likewise.
19344         * locales/es_US: Likewise.
19345         * locales/es_UY: Likewise.
19346         * locales/es_VE: Likewise.
19347         * locales/et_EE: Likewise.
19348         * locales/fa_IR: Likewise.
19349         * locales/fo_FO: Likewise.
19350         * locales/fr_CA: Likewise.
19351         * locales/fr_CH: Likewise.
19352         * locales/gv_GB: Likewise.
19353         * locales/he_IL: Likewise.
19354         * locales/hr_HR: Likewise.
19355         * locales/id_ID: Likewise.
19356         * locales/is_IS: Likewise.
19357         * locales/it_CH: Likewise.
19358         * locales/iw_IL: Likewise.
19359         * locales/kl_GL: Likewise.
19360         * locales/ko_KR: Likewise.
19361         * locales/kw_GB: Likewise.
19362         * locales/lg_UG: Likewise.
19363         * locales/lt_LT: Likewise.
19364         * locales/lv_LV: Likewise.
19365         * locales/mi_NZ: Likewise.
19366         * locales/nhn_MX: Likewise.
19367         * locales/nl_BE: Likewise.
19368         * locales/pl_PL: Likewise.
19369         * locales/sk_SK: Likewise.
19370         * locales/sl_SI: Likewise.
19371         * locales/sv_FI: Likewise.
19372         * locales/tl_PH: Likewise.
19373         * locales/tr_TR: Likewise.
19374         * locales/vi_VN: Likewise.
19376 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19378         [BZ #17475]
19379         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19380         of tu_IN and bh_IN.
19382 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19384         [BZ #18694]
19385         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19386         bits/wordsize.h.
19387         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19389 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19391         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19392         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19393         (spawn_thread): New function.
19394         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19395         (do_test): ... here.  Use IS_LOADED to test for its
19396         availability.
19398 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19400         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19402 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19404         [BZ #18696]
19405         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19406         si_addr_bnd.
19407         (si_lower): New.
19408         (si_upper): Likewise.
19410 2015-07-16  David S. Miller  <davem@davemloft.net>
19412         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19414 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19416         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19417         buffer.
19418         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19419         fail output information.
19421 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19424         and strstr-ppc64..
19425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19426         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19427         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19428         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19429         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19431 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19433         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19434         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19435         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19436         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19438 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19440         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19441         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19442         rtld_hidden_proto.
19443         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19445 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19447         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19448         the test can fail.
19450         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19452         [BZ #18676]
19453         * elf/tst-nodelete-opened.c: New test case.
19454         * elf/tst-nodelete-opened-lib.c: New test case module.
19455         * elf/Makefile (tests, modules-names): Use them.
19456         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19457         early.
19459 2015-07-15  David S. Miller  <davem@davemloft.net>
19461         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19462         futex-intenal.h
19463         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19464         * sysdeps/sparc/sparc64/Makefile: Likewise.
19465         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19466         Remove space from macro define.
19467         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19469 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19471         [BZ #17475]
19472         * locale/iso-639.def: Update Bhili and Tulu language codes as
19473         per iso639-3.
19475 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19477         * elf/tst-leaks1.c (main): Converted to ...
19478         (do_test): ... this.
19479         (TEST_FUNCTION): New macro.
19480         Include test-skeleton.c.
19481         * localedata/tst-langinfo.c (main): Converted to ...
19482         (do_test): ... this.
19483         (TEST_FUNCTION): New macro.
19484         Include test-skeleton.c.
19485         * math/test-fpucw.c (main): Converted to ...
19486         (do_test): ... this.
19487         (TEST_FUNCTION): New macro.
19488         Include test-skeleton.c.
19489         * math/test-tgmath.c (main): Converted to ...
19490         (do_test): ... this.
19491         (TEST_FUNCTION): New macro.
19492         Include test-skeleton.c.
19493         * math/test-tgmath2.c (main): Converted to ...
19494         (do_test): ... this.
19495         (TEST_FUNCTION): New macro.
19496         Include test-skeleton.c.
19497         * setjmp/tst-setjmp.c (main): Converted to ...
19498         (do_test): ... this.
19499         (TEST_FUNCTION): New macro.
19500         Include test-skeleton.c.
19501         * stdio-common/tst-sscanf.c (main): Converted to ...
19502         (do_test): ... this.
19503         (TEST_FUNCTION): New macro.
19504         Include test-skeleton.c.
19505         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19506         (do_test): ... this.
19507         (TEST_FUNCTION): New macro.
19508         Include test-skeleton.c.
19510         * elf/tst-audit9.c (main): Converted to ...
19511         (do_test): ... this.
19512         (TEST_FUNCTION): New macro.
19513         Include test-skeleton.c.
19515 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19517         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19519 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19521         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19522         New variable.
19524 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19526         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19528 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19530         * sysdeps/generic/dl-fileid.h: New file.
19531         * sysdeps/posix/dl-fileid.h: New file.
19532         * sysdeps/nacl/dl-fileid.h: New file.
19533         * include/link.h: Include <dl-fileid.h>.
19534         (struct link_map): Replace l_dev and l_ino with l_file_id.
19535         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19536         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19537         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19539 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19541         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19543 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19545         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19546         Add iff $CXX is set.
19547         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19548         Likewise.
19549         (tst-nodelete-zmodiff): Likewise.
19550         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19552 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19554         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19556 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19558         * sysdeps/aarch64/fpu/math_private.h
19559         (define math_opt_barrier): Add AArch64 version.
19560         (math_force_eval): Likewise.
19562 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19564         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19566 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19568         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19569         %ld with %jd and cast to intmax_t.
19570         (do_test_length_zero): Likewise.
19572 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19574         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19576 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19578         * sysdeps/tile/libm-test-ulps: Regenerated.
19580         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19581         Comment out the whole function, not just its body.
19583 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19585         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19586         locks.
19588         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19590 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19592         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19593         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19595 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19597         * sysdeps/nptl/futex-internal.h: New file.
19598         * sysdeps/nacl/futex-internal.h: New file.
19599         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19600         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19601         error checking.
19602         (setxid_unmark_thread): Likewise.
19603         (__nptl_setxid): Likewise.
19604         (__wait_lookup_done): Likewise.
19605         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19606         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19607         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19608         * nptl/pthread_once.c (clear_once_control): Likewise.
19609         (__pthread_once_slow): Likewise.
19610         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19611         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19612         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19613         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19614         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19615         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19616         Likewise.
19617         (__pthread_rwlock_rdlock): Likewise.
19618         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19619         Likewise.
19620         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19621         Likewise.
19622         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19623         Likewise.
19624         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19625         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19626         Likewise.
19627         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19628         __ASSUME_PRIVATE_FUTEX check.
19629         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19630         Check that shared futexes are supported.
19631         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19632         wrappers with error checking.
19633         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19634         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19635         * nptl/pthread_barrierattr_setpshared.c
19636         (pthread_barrierattr_setpshared): Check that shared futexes are
19637         supported.
19638         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19639         Likewise.
19640         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19641         Likewise.
19642         * nptl/sem_init.c (futex_private_if_supported): Remove.
19643         (__new_sem_init): Adapt and check that shared futexes are supported.
19644         * nptl/sem_open.c (sem_open): Likewise.
19645         * nptl/sem_post.c (futex_wake): Remove.
19646         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19647         (do_futex_wait): Use futex wrappers with error checking.
19648         * nptl/sem_wait.c: Include lowlevellock.h.
19649         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19650         Use futex_supports_pshared.
19651         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19652         Use futex wrappers with error checking.
19653         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19654         Likewise.
19655         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19656         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19657         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19658         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19659         (futex_wake): Likewise.
19660         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19661         (do_futex_wait): Use futex wrappers with error checking.
19662         (__new_sem_wait_slow): Update EINTR handling.
19663         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19665 2015-07-09  Martin Sebor  <msebor@redhat.com>
19667         [BZ #18435]
19668         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19669         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19670         * nptl/Makefile (test-xfail-tst-once5): Define.
19672 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19674         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19675         * elf/dl-minimal.c: For readability, reorder some definitions and
19676         introduce more page breaks.  Include <stdio.h>.
19677         (__libc_fatal): New function.
19679         * include/unistd.h: Add rtld_hidden_proto for _exit.
19680         * posix/_exit.c: Add rtld_hidden_def.
19681         * sysdeps/mach/hurd/_exit.c: Likewise.
19682         * sysdeps/nacl/_exit.c: Likewise.
19683         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19684         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19686 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19689         bndmov encoding with zero displacement.
19691 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19692             H.J. Lu  <hongjiu.lu@intel.com>
19694         [BZ #18134]
19695         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19696         * sysdeps/i386/configure: Regenerated.
19697         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19698         (_dl_runtime_profile): Save and restore Intel MPX return bound
19699         registers when calling _dl_call_pltexit.  Add
19700         PRESERVE_BND_REGS_PREFIX before return.
19701         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19702         (LRV_BND1_OFFSET): Likewise.
19703         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19704         lrv_bnd1.
19705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19706         typo in bndmov encoding.
19707         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19708         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19709         branch instructions to preserve bounds.
19711 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19714         [GLIBC_2.22]: Add fmemopen.
19716 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19718         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19719         returns an error, also try to use host port from __mach_host_self for
19720         the __vm_wire call.
19721         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19723 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19725         [BZ #18400]
19726         [BZ #18648]
19727         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19728         Fix pr_uid and pr_gid members.
19729         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19730         definition to elf_greg_t.
19732 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19734         [BZ #18383]
19735         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19736         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19737         * sysdeps/arm/configure: Regenerated.
19738         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19739         (test-xfail-tst-tlsalign-static): Variable removed.
19741         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19742         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19743         rather than explicit 'ln -s'.
19745         * resolv/rpc/netdb.h: New file.
19746         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19748 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19750         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19751         length buffers.
19752         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19753         test-skeleton.c.
19755         [BZ #6544]
19756         [BZ #11216]
19757         [BZ #12836]
19758         [BZ #13151]
19759         [BZ #13152]
19760         [BZ #14292]
19761         * include/stdio.h (fmemopen): Remove hidden prototype.
19762         (__fmemopen): Add new hidden prototype.
19763         * libio/Makefile: Add oldfmemopen object.
19764         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19765         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19766         compliance.
19767         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19768         symbol compatibility.
19769         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19770         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19771         fmemopen.
19772         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19773         on append and read mode.
19774         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19775         fmemopen.
19776         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19777         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19778         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19779         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19780         Likewise.
19781         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19782         [GLIBC_2.22]: Likewise.
19783         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19784         Likewise.
19785         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19786         Likewise.
19787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19788         [GLIBC_2.22]: Likewise.
19789         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19790         [GLIBC_2.22]: Likewise.
19791         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19792         [GLIBC_2.22]: Likewise.
19793         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19794         [GLIBC_2.22]: Likewise.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19796         [GLIBC_2.22]: Likewise.
19797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19798         [GLIBC_2.22]: Likewise.
19799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19800         [GLIBC_2.22]: Likewise.
19801         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19802         Likewise.
19803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19804         Likewise.
19805         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19806         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19807         [GLIBC_2.22]: Likewise.
19808         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19809         [GLIBC_2.22]: Likewise.
19810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19811         [GLIBC_2.22]: Likewise.
19812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19813         [GLIBC_2.22]: Likewise.
19814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19815         Likewise.
19816         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19817         Likewise.
19818         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19819         Likewise.
19820         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19821         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19823 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19825         [BZ #18643]
19826         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19827         IPV6_PATHMTU, and IPV6_DONTFRAG.
19829 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19831         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19832         and _IO_UNBUFFERED.
19833         * libio/oldfileops.c: Likewise.
19834         * libio/wfileops.c: Likewise.
19836 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19838         * nscd/selinux.c: Delete selinux/flask.h include.
19840 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19842         [BZ #18641]
19843         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19844         (putpwent): Likewise.
19845         (getpwnam): Likewise.
19846         (getpwent_r): Likewise.
19847         (getpwuid_r): Likewise.
19848         (getpwnam_r): Likewise.
19849         (fgetpwent_r): Likewise.
19851 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19853         [BZ #18557]
19854         * inet/rcmd.c (__validuser2_sa): Check user first to
19855         short-circuit host check.
19857 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19858             Mikhail Ilin  <m.ilin@samsung.com>
19860         [BZ #17833]
19861         * elf/Makefile (tests): Add tst-nodelete.
19862         (modules-names): Add tst-nodelete-uniquemod.
19863         (tst-nodelete-uniquemod.so-no-z-defs): New.
19864         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19865         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19866         ($(objpfx)tst-nodelete): Likewise.
19867         ($(objpfx)tst-nodelete.out): Likewise.
19868         (LDFLAGS-tst-nodelete): Likewise.
19869         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19870         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19871         implement forced object deletion.
19872         (_dl_close): Pass false to _dl_close_worker.
19873         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19874         * elf/tst-nodelete.cc: New file.
19875         * elf/tst-nodeletelib.cc: Likewise.
19876         * elf/tst-znodeletelib.cc: Likewise.
19877         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19879 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19881         [BZ #18508]
19882         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19883         Depend on $(libdl).
19884         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19885         is not called infinitely times.
19886         (backtrace_helper): New function.
19887         (trace_arg): New struct.
19888         (st1): Enlarge stack size.
19889         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19890         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19891         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19892         Likewise.
19894 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19896         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19898 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19900         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19901         Include sys/types.h instead of bits/types.h.
19902         Remove inclusion of bits/wordsize.h.
19904 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19906         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19907         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19908         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19909         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19910         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19911         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19913 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19915         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19916         link-defines.sym.
19917         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19918         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19919         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19920         and LR_SIZE.
19921         * sysdeps/i386/link-defines.sym: New file.
19923 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19925         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19926         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19927         ($(objpfx)tst-audit3): New rule.
19928         ($(objpfx)tst-audit3.out): Likewise.
19929         * sysdeps/i386/tst-audit3.c: New file.
19930         * sysdeps/i386/tst-audit3.h: Likewise.
19931         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19932         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19934 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19936         [BZ #18633]
19937         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19938         pointer in C code.
19939         (__strcat_c): Likewise.
19940         (__strcat_g): Likewise.
19942 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19944         [BZ #18592]
19945         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19947 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19949         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19950         New function.  (__ieee754_sqrtf): New function.
19951         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19952         New function.
19953         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19954         New function.
19956 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19958         * sysdeps/ieee754/support.c: Remove unused file.
19960 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19962         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19963         registers instead of d ones so the layout is kernel abi compatible.
19964         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19965         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19966         Likewise.
19968 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19970         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19972 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19974         [BZ #18619]
19975         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19976         and return argument in case of subnormal argument.
19978 2015-07-01  Martin Sebor  <msebor@redhat.com>
19980         [BZ #18435]
19981         * nptl/Makefile: Add tst-once5.cc.
19982         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19983         Remove macro redefinitions.
19984         * nptl/tst-once5.cc: New test.
19986 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19990         * sysdeps/arm/libm-test-ulps: Regenerated.
19992         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19993         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19995 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19997         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19998         lll_lock_wait_private and lll_futex_wake probes.
20000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20002         Likewise.
20003         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20004         atomic_spin_nop.
20005         * sysdeps/x86_64/bits/atomic.h: Likewise.
20006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20007         to atomic_spin_nop and move ...
20008         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20009         ... here and ...
20010         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20011         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20012         atomic_spin_nop instead of BUSY_WAIT_NOP.
20013         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20014         Likewise.
20015         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20016         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20017         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20018         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20019         instead of atomic_delay.
20021 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20023         [BZ #18613]
20024         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20025         X_ADJ not X when adjusting exponent.
20026         (__ieee754_gamma_r): Do intermediate computations in
20027         round-to-nearest then adjust overflowing and underflowing results
20028         as needed.
20029         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20030         of X_ADJ not X when adjusting exponent.
20031         (__ieee754_gammaf_r): Do intermediate computations in
20032         round-to-nearest then adjust overflowing and underflowing results
20033         as needed.
20034         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20035         log of X_ADJ not X when adjusting exponent.
20036         (__ieee754_gammal_r): Do intermediate computations in
20037         round-to-nearest then adjust overflowing and underflowing results
20038         as needed.  Use 1.0L not 1.0f as numerator of division.
20039         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20040         log of X_ADJ not X when adjusting exponent.
20041         (__ieee754_gammal_r): Do intermediate computations in
20042         round-to-nearest then adjust overflowing and underflowing results
20043         as needed.  Use 1.0L not 1.0f as numerator of division.
20044         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20045         of X_ADJ not X when adjusting exponent.
20046         (__ieee754_gammal_r): Do intermediate computations in
20047         round-to-nearest then adjust overflowing and underflowing results
20048         as needed.  Use 1.0L not 1.0f as numerator of division.
20049         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20050         to auto-libm-test-in.
20051         (tgamma_test): Use ALL_RM_TEST.
20052         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20053         tests of tgamma with spurious-overflow.
20054         * math/auto-libm-test-out: Regenerated.
20055         * math/gen-libm-have-vector-test.sh: Do not check for START.
20056         * sysdeps/i386/fpu/libm-test-ulps: Update.
20057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20059         [BZ #18612]
20060         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20061         arguments, just return 0.5 times the argument, with underflow
20062         forced as needed.
20063         * math/auto-libm-test-in: Add more tests of j1.
20064         * math/auto-libm-test-out: Regenerated.
20066         [BZ #16559]
20067         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20068         (__ieee754_j1): Force underflow exception for small results.
20069         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20070         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20071         (__ieee754_j1f): Force underflow exception for small results.
20072         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20075         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20076         (__ieee754_j1l): Force underflow exception for small results.
20077         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20078         * math/auto-libm-test-in: Add more tests of j1 and jn.
20079         * math/auto-libm-test-out: Regenerated.
20081         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20082         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20083         (PF_MPLS): Likewise.
20084         (AF_IB): Likewise.
20085         (AF_MPLS): Likewise.
20086         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20087         value and macro.
20088         (MS_RMT_MASK): Include MS_LAZYTIME.
20090 2015-06-26  Mel Gorman  <mgorman@suse.de>
20092         [BZ #18502]
20093         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20094         already minimal.
20096 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20098         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20099         (DT_MIPS_NUM): Update.
20100         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20101         DT_MIPS_RLD_MAP_REL.
20103 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20105         [BZ #16559]
20106         [BZ #18602]
20107         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20108         round-to-nearest internally then recompute results that
20109         underflowed to zero in the original rounding mode.
20110         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20114         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20115         * sysdeps/i386/fpu/libm-test-ulps: Update.
20116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20118 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20120         * NEWS: Fixed description of link with vector math library.
20122 2015-06-25  Andreas Schwab  <schwab@suse.de>
20124         [BZ #18549]
20125         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20126         * libio/test-fmemopen.c (do_test): Add test for it.
20128 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20130         [BZ #17841]
20131         * Makeconfig (no-pie-ldflag): New.
20132         (+link): Set to $(+link-pie) if default to PIE.
20133         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20134         * config.make.in (build-pie-default): New.
20135         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20136         is default.  AC_SUBST.
20137         * configure: Regenerated.
20138         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20140 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20142         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20143         to 'unsigned int'.
20145         * resolv/gai_misc.h (struct waitlist): Change type of field
20146         counterp to 'volatile unsigned int *'.
20147         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20148         FUTEXADDR and OLDVAL.
20149         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20150         Give local variable TOTAL type 'volatile unsigned int'.
20151         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20152         * resolv/gai_suspend.c (gai_suspend):
20153         Give local variable CNTR type 'unsigned int'.
20155         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20156         counterp to 'volatile unsigned int *'.
20157         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20158         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20159         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20160         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20161         Give local variable TOTAL type 'volatile unsigned int'.
20162         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20164 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20166         [BZ #18383]
20167         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20168         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20169         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20170         comment for i386/x86-64.
20171         (test-xfail-tst-tlsalign-extern-static): Removed.
20173 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20175         * math/test-double.h: New file.
20176         * math/test-float.h: Likewise.
20177         * math/test-ldouble.h: Likewise.
20178         * math/test-math-inline.h: Likewise.
20179         * math/test-math-no-inline.h: Likewise.
20180         * math/test-math-scalar.h: Likewise.
20181         * math/test-math-vector.h: Likewise.
20182         * math/test-vec-loop.h: Remove file.  Contents moved into
20183         test-math-vector.h.
20184         * math/libm-test.inc (MATHCONST): Do not document macro.
20185         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20186         and test-math-scalar.h.
20187         (FUNC): Remove macro.
20188         (FUNC_TEST): Likewise.
20189         (FLOAT): Likewise.
20190         (MATHCONST): Likewise.
20191         (PRINTF_EXPR): Likewise.
20192         (PRINTF_XEXPR): Likewise.
20193         (PRINTF_NEXPR): Likewise.
20194         (TEST_DOUBLE): Likewise.
20195         (TEST_MATHVEC): Likewise.
20196         (__NO_MATH_INLINES): Likewise.
20197         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20198         and test-math-scalar.h.
20199         (FUNC): Remove macro.
20200         (FUNC_TEST): Likewise.
20201         (FLOAT): Likewise.
20202         (MATHCONST): Likewise.
20203         (PRINTF_EXPR): Likewise.
20204         (PRINTF_XEXPR): Likewise.
20205         (PRINTF_NEXPR): Likewise.
20206         (TEST_FLOAT): Likewise.
20207         (TEST_MATHVEC): Likewise.
20208         (__NO_MATH_INLINES): Likewise.
20209         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20210         and test-math-scalar.h.
20211         (FUNC): Remove macro.
20212         (FUNC_TEST): Likewise.
20213         (FLOAT): Likewise.
20214         (MATHCONST): Likewise.
20215         (PRINTF_EXPR): Likewise.
20216         (PRINTF_XEXPR): Likewise.
20217         (PRINTF_NEXPR): Likewise.
20218         (TEST_DOUBLE): Likewise.
20219         (TEST_MATHVEC): Likewise.
20220         (TEST_INLINE): Likewise.
20221         (__NO_MATH_INLINES): Likewise.
20222         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20223         test-math-scalar.h.
20224         (FUNC): Remove macro.
20225         (FUNC_TEST): Likewise.
20226         (FLOAT): Likewise.
20227         (MATHCONST): Likewise.
20228         (PRINTF_EXPR): Likewise.
20229         (PRINTF_XEXPR): Likewise.
20230         (PRINTF_NEXPR): Likewise.
20231         (TEST_FLOAT): Likewise.
20232         (TEST_MATHVEC): Likewise.
20233         (TEST_INLINE): Likewise.
20234         (__NO_MATH_INLINES): Likewise.
20235         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20236         and test-math-scalar.h.
20237         (FUNC): Remove macro.
20238         (FUNC_TEST): Likewise.
20239         (FLOAT): Likewise.
20240         (MATHCONST): Likewise.
20241         (PRINTF_EXPR): Likewise.
20242         (PRINTF_XEXPR): Likewise.
20243         (PRINTF_NEXPR): Likewise.
20244         (TEST_LDOUBLE): Likewise.
20245         (TEST_MATHVEC): Likewise.
20246         (TEST_INLINE): Likewise.
20247         (__NO_MATH_INLINES): Likewise.
20248         * math/test-ldouble.c: Include test-ldouble.h,
20249         test-math-no-inline.h and test-math-scalar.h.
20250         (FUNC): Remove macro.
20251         (FUNC_TEST): Likewise.
20252         (FLOAT): Likewise.
20253         (MATHCONST): Likewise.
20254         (PRINTF_EXPR): Likewise.
20255         (PRINTF_XEXPR): Likewise.
20256         (PRINTF_NEXPR): Likewise.
20257         (TEST_LDOUBLE): Likewise.
20258         (TEST_MATHVEC): Likewise.
20259         (__NO_MATH_INLINES): Likewise.
20260         * math/test-double-vlen2.h: Include test-double.h,
20261         test-math-no-inline.h and test-math-vector.h.
20262         (FLOAT): Remove macro.
20263         (FUNC): Likewise.
20264         (MATHCONST): Likewise.
20265         (PRINTF_EXPR): Likewise.
20266         (PRINTF_XEXPR): Likewise.
20267         (PRINTF_NEXPR): Likewise.
20268         (TEST_DOUBLE): Likewise.
20269         (TEST_MATHVEC): Likewise.
20270         (__NO_MATH_INLINES): Likewise.
20271         (CNCT): Likewise.
20272         (CONCAT): Likewise.
20273         (WRAPPER_NAME): Likewise.
20274         (WRAPPER_DECL): Likewise.
20275         (WRAPPER_DECL_ff): Likewise.
20276         (WRAPPER_DECL_fFF): Likewise.
20277         (VECTOR_WRAPPER): Likewise.
20278         (VECTOR_WRAPPER_ff): Likewise.
20279         (VECTOR_WRAPPER_fFF): Likewise.
20280         (VEC_LEN): New macro.
20281         * math/test-double-vlen4.h: Include test-double.h,
20282         test-math-no-inline.h and test-math-vector.h.
20283         (FLOAT): Remove macro.
20284         (FUNC): Likewise.
20285         (MATHCONST): Likewise.
20286         (PRINTF_EXPR): Likewise.
20287         (PRINTF_XEXPR): Likewise.
20288         (PRINTF_NEXPR): Likewise.
20289         (TEST_DOUBLE): Likewise.
20290         (TEST_MATHVEC): Likewise.
20291         (__NO_MATH_INLINES): Likewise.
20292         (CNCT): Likewise.
20293         (CONCAT): Likewise.
20294         (WRAPPER_NAME): Likewise.
20295         (WRAPPER_DECL): Likewise.
20296         (WRAPPER_DECL_ff): Likewise.
20297         (WRAPPER_DECL_fFF): Likewise.
20298         (VECTOR_WRAPPER): Likewise.
20299         (VECTOR_WRAPPER_ff): Likewise.
20300         (VECTOR_WRAPPER_fFF): Likewise.
20301         (VEC_LEN): New macro.
20302         * math/test-double-vlen8.h: Include test-double.h,
20303         test-math-no-inline.h and test-math-vector.h.
20304         (FLOAT): Remove macro.
20305         (FUNC): Likewise.
20306         (MATHCONST): Likewise.
20307         (PRINTF_EXPR): Likewise.
20308         (PRINTF_XEXPR): Likewise.
20309         (PRINTF_NEXPR): Likewise.
20310         (TEST_DOUBLE): Likewise.
20311         (TEST_MATHVEC): Likewise.
20312         (__NO_MATH_INLINES): Likewise.
20313         (CNCT): Likewise.
20314         (CONCAT): Likewise.
20315         (WRAPPER_NAME): Likewise.
20316         (WRAPPER_DECL): Likewise.
20317         (WRAPPER_DECL_ff): Likewise.
20318         (WRAPPER_DECL_fFF): Likewise.
20319         (VECTOR_WRAPPER): Likewise.
20320         (VECTOR_WRAPPER_ff): Likewise.
20321         (VECTOR_WRAPPER_fFF): Likewise.
20322         (VEC_LEN): New macro.
20323         * math/test-float-vlen4.h: Include test-float.h,
20324         test-math-no-inline.h and test-math-vector.h.
20325         (FLOAT): Remove macro.
20326         (FUNC): Likewise.
20327         (MATHCONST): Likewise.
20328         (PRINTF_EXPR): Likewise.
20329         (PRINTF_XEXPR): Likewise.
20330         (PRINTF_NEXPR): Likewise.
20331         (TEST_FLOAT): Likewise.
20332         (TEST_MATHVEC): Likewise.
20333         (__NO_MATH_INLINES): Likewise.
20334         (CNCT): Likewise.
20335         (CONCAT): Likewise.
20336         (WRAPPER_NAME): Likewise.
20337         (WRAPPER_DECL): Likewise.
20338         (WRAPPER_DECL_ff): Likewise.
20339         (WRAPPER_DECL_fFF): Likewise.
20340         (VECTOR_WRAPPER): Likewise.
20341         (VECTOR_WRAPPER_ff): Likewise.
20342         (VECTOR_WRAPPER_fFF): Likewise.
20343         (VEC_LEN): New macro.
20344         * math/test-float-vlen8.h: Include test-float.h,
20345         test-math-no-inline.h and test-math-vector.h.
20346         (FLOAT): Remove macro.
20347         (FUNC): Likewise.
20348         (MATHCONST): Likewise.
20349         (PRINTF_EXPR): Likewise.
20350         (PRINTF_XEXPR): Likewise.
20351         (PRINTF_NEXPR): Likewise.
20352         (TEST_FLOAT): Likewise.
20353         (TEST_MATHVEC): Likewise.
20354         (__NO_MATH_INLINES): Likewise.
20355         (CNCT): Likewise.
20356         (CONCAT): Likewise.
20357         (WRAPPER_NAME): Likewise.
20358         (WRAPPER_DECL): Likewise.
20359         (WRAPPER_DECL_ff): Likewise.
20360         (WRAPPER_DECL_fFF): Likewise.
20361         (VECTOR_WRAPPER): Likewise.
20362         (VECTOR_WRAPPER_ff): Likewise.
20363         (VECTOR_WRAPPER_fFF): Likewise.
20364         (VEC_LEN): New macro.
20365         * math/test-float-vlen16.h: Include test-float.h,
20366         test-math-no-inline.h and test-math-vector.h.
20367         (FLOAT): Remove macro.
20368         (FUNC): Likewise.
20369         (MATHCONST): Likewise.
20370         (PRINTF_EXPR): Likewise.
20371         (PRINTF_XEXPR): Likewise.
20372         (PRINTF_NEXPR): Likewise.
20373         (TEST_FLOAT): Likewise.
20374         (TEST_MATHVEC): Likewise.
20375         (__NO_MATH_INLINES): Likewise.
20376         (CNCT): Likewise.
20377         (CONCAT): Likewise.
20378         (WRAPPER_NAME): Likewise.
20379         (WRAPPER_DECL): Likewise.
20380         (WRAPPER_DECL_ff): Likewise.
20381         (WRAPPER_DECL_fFF): Likewise.
20382         (VECTOR_WRAPPER): Likewise.
20383         (VECTOR_WRAPPER_ff): Likewise.
20384         (VECTOR_WRAPPER_fFF): Likewise.
20385         (VEC_LEN): New macro.
20386         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20387         test-vec-loop.h.
20388         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20390         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20391         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20392         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20393         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20394         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20396 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20398         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20399         (__getlogin_r): ... this.
20401 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #18594]
20404         * math/s_ccosh.c (__ccosh): Compare with least normal value
20405         instead of comparing class with FP_SUBNORMAL.
20406         * math/s_ccoshf.c (__ccoshf): Likewise.
20407         * math/s_ccoshl.c (__ccoshl): Likewise.
20408         * math/s_cexp.c (__cexp): Likewise.
20409         * math/s_cexpf.c (__cexpf): Likewise.
20410         * math/s_cexpl.c (__cexpl): Likewise.
20411         * math/s_csin.c (__csin): Likewise.
20412         * math/s_csinf.c (__csinf): Likewise.
20413         * math/s_csinh.c (__csinh): Likewise.
20414         * math/s_csinhf.c (__csinhf): Likewise.
20415         * math/s_csinhl.c (__csinhl): Likewise.
20416         * math/s_csinl.c (__csinl): Likewise.
20417         * math/s_ctan.c (__ctan): Likewise.
20418         * math/s_ctanf.c (__ctanf): Likewise.
20419         * math/s_ctanh.c (__ctanh): Likewise.
20420         * math/s_ctanhf.c (__ctanhf): Likewise.
20421         * math/s_ctanhl.c (__ctanhl): Likewise.
20422         * math/s_ctanl.c (__ctanl): Likewise.
20423         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20424         csin, csinh, ctan and ctanh.
20425         * math/auto-libm-test-out: Regenerated.
20426         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20427         * sysdeps/i386/fpu/libm-test-ulps: Update.
20428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20430 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20432         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20433         return value is wrong, print the expected value too.
20435 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20437         [BZ #18585]
20438         * elf/readlib.c (is_gdb_python_file): New.
20439         (process_file): Don't issue errors on filenames with -gdb.py
20440         suffix.
20442 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20444         * math/auto-libm-test-in: Add more tests of csin and csinh.
20445         * math/auto-libm-test-out: Regenerated.
20446         * math/libm-test.inc (csin_test_data): Remove tests moved to
20447         auto-libm-test-in.
20448         (csinh_test_data): Likewise.
20450         [BZ #18593]
20451         * math/s_csin.c (__csin): Negate before rather than after possibly
20452         overflowing multiplication.
20453         * math/s_csinf.c (__csinf): Likewise.
20454         * math/s_csinh.c (__csinh): Likewise.
20455         * math/s_csinhf.c (__csinhf): Likewise.
20456         * math/s_csinhl.c (__csinhl): Likewise.
20457         * math/s_csinl.c (__csinl): Likewise.
20458         * math/auto-libm-test-in: Add some tests of csin and csinh.
20459         * math/auto-libm-test-out: Regenerated.
20460         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20461         (csinh_test_data): Likewise.
20462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20464         [BZ #18586]
20465         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20466         underflow exception for small results.
20468 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20472         variable and included header.
20473         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20474         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20481         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20482         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20483         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20484         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20485         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20486         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20487         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20488         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20490 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20492         [BZ #16526]
20493         [BZ #16538]
20494         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20495         (__sin): Force underflow exception for arguments with small
20496         absolute value.
20497         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20498         (__kernel_sinf): Force underflow exception for arguments with
20499         small absolute value.
20500         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20501         (__kernel_sincosl): Force underflow exception for arguments with
20502         small absolute value.
20503         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20504         (__kernel_sinl): Force underflow exception for arguments with
20505         small absolute value.
20506         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20507         (__kernel_sincosl): Force underflow exception for arguments with
20508         small absolute value.
20509         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20510         (__kernel_sinl): Force underflow exception for arguments with
20511         small absolute value.
20512         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20513         (__kernel_sinl): Force underflow exception for arguments with
20514         small absolute value.
20515         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20516         (__kernel_sinf): Force underflow exception for arguments with
20517         small absolute value.
20518         * math/auto-libm-test-in: Add more tests of sin and sincos.
20519         * math/auto-libm-test-out: Regenerated.
20521         [BZ #18245]
20522         [BZ #18583]
20523         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20524         (__kernel_standard_l): Use feholdexcept and fesetenv around
20525         conversion to double instead of special-casing overflow and
20526         underflow.
20527         * math/libm-test.inc (fmod_test_data): Add more tests.
20528         (remainder_test_data): Likewise.
20529         (sqrt_test_data): Likewise.
20531 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20533         [BZ #17403]
20534         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20535         atomic_read_barrier, atomic_write_barrier): Define.
20536         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20537         atomic_read_barrier, atomic_write_barrier): Define.
20539 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20541         * math/Makefile [$(PERL) != no]
20542         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20543         dependency on libm-test.stmp below the inclusion of Rules.
20545 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20549         and included header.
20550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20558         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20559         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20560         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20561         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20562         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20563         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20564         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20565         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20566         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20567         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20568         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20570 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20572         [BZ #18371]
20573         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20574         intermediate but not final result might underflow.
20575         * math/s_csqrtf.c (__csqrtf): Likewise.
20576         * math/s_csqrtl.c (__csqrtl): Likewise.
20577         * math/auto-libm-test-in: Add more tests of csqrt.
20578         * math/auto-libm-test-out: Regenerated.
20579         * sysdeps/i386/fpu/libm-test-ulps: Update.
20581         [BZ #18219]
20582         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20583         threshold on absolute value of exponent for which scaling is used.
20584         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20585         * math/auto-libm-test-in: Add more tests of exp2.
20586         * math/auto-libm-test-out: Regenerated.
20588 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20590         [BZ #17977]
20591         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20592         when initializing interface list, based on the bug analysis
20593         and the patch proposed by Eric Newton.
20594         * resolv/tst-res_hconf_reorder.c: New test.
20595         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20596         tst-res_hconf_reorder.
20597         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20598         and $(shared-thread-library).
20599         (tst-res_hconf_reorder-ENV): New variable.
20601         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20602         in comment.
20604 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20606         [BZ #16353]
20607         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20608         (__expm1): Force underflow exception for arguments with small
20609         absolute value.
20610         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20611         (__expm1f): Force underflow exception for arguments with small
20612         absolute value.
20613         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20614         (__expm1): Force underflow exception for arguments with small
20615         absolute value.
20616         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20617         (__expm1f): Force underflow exception for arguments with small
20618         absolute value.
20619         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20620         Check for small arguments before calling __expm1.
20621         * math/auto-libm-test-in: Do not mark underflow exceptions as
20622         possibly missing for bug 16353.
20623         * math/auto-libm-test-out: Regenerated.
20625 2015-06-22  Andreas Schwab  <schwab@suse.de>
20627         [BZ #18513]
20628         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20629         PTR queries.
20631 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20633         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20635         * string/strcoll_l.c: Remove unused struct element idxnow.
20637 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20639         [BZ #18569]
20640         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20641         underflow and return argument in case of subnormal argument.
20642         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20643         Likewise.
20644         * math/auto-libm-test-in: Add more tests of expm1.
20645         * math/auto-libm-test-out: Regenerated.
20647         [BZ #16361]
20648         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20649         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20650         tiny results.
20651         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20652         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20653         tiny results.
20654         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20655         mark underflow exceptions as possibly missing for bug 16361.
20656         * math/auto-libm-test-out: Regenerated.
20658 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20660         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20661         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20662         Remove variable.
20663         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20664         (test-xfail-XOPEN2K8/utmpx.h/conform).
20666         * conform/conformtest.pl ($xerrors): New variable.
20667         (note_error): New function.
20668         (compiletest): New argument $xfail.  Use not_error.
20669         (runtest): Likewise.
20670         (top level): Handle xfail- lines.  Update calls to compiletest and
20671         runtest.  Handle xfail- and optional- in headers listed with
20672         allow-header.
20673         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20674         (O_EXEC): Likewise.
20675         (O_SEARCH): Likewise.
20676         * conform/data/stropts.h-data (ioctl): Likewise.
20677         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20678         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20679         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20680         (msghdr.msg_controllen): Likewise.
20681         (cmsghdr.cmsg_len): Likewise.
20682         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20683         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20684         variable.
20685         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20686         (test-xfail-XPG4/stropts.h/conform): Likewise.
20687         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20688         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20689         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20690         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20691         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20692         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20693         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20694         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20695         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20696         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20697         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20698         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20699         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20700         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20701         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20702         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20703         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20704         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20705         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20707 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20709         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20710         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20711         definitions for proper unfolding of __MATHDECL_VEC.
20713 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20715         * benchtests/bench-strcoll.c:
20716         Include string.h.
20717         (main): Remove unused variable res.
20719 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20721         * timezone/Makefile (%/UTC %/Universal):
20722         Generate test-result files for UTC and Universal.
20724 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20726         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20728 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20730         [BZ #16350]
20731         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20732         for arguments with small absolute value.
20733         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20734         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20735         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20736         (__asinh): Force underflow exception for arguments with small
20737         absolute value.
20738         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20739         (__asinhf): Force underflow exception for arguments with small
20740         absolute value.
20741         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20742         (__asinhl): Force underflow exception for arguments with small
20743         absolute value.
20744         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20745         (__asinhl): Force underflow exception for arguments with small
20746         absolute value.
20747         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20748         (__asinhl): Force underflow exception for arguments with small
20749         absolute value.
20750         * math/auto-libm-test-in: Do not mark underflow exceptions as
20751         possibly missing for bug 16350.
20752         * math/auto-libm-test-out: Regenerated.
20754         * include/bits/ipc.h: Remove file.
20755         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20756         variable.
20757         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20758         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20759         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20760         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20761         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20762         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20763         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20764         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20765         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20767         * math/auto-libm-test-in: Remove spurious underflow allowance for
20768         tests of cexp.
20769         * math/auto-libm-test-out: Regenerated.
20771         [BZ #18558]
20772         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20773         unconditional definition.
20774         (MCAST_BLOCK_SOURCE): Likewise.
20775         (MCAST_UNBLOCK_SOURCE): Likewise.
20776         (MCAST_LEAVE_GROUP): Likewise.
20777         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20778         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20779         (MCAST_MSFILTER): Likewise.
20780         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20781         Remove variable.
20782         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20783         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20784         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20785         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20786         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20788 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20790         * NEWS: Mention addition of x86_64 vector sincosf.
20791         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20792         * math/test-float-vlen4.h: Likewise.
20793         * math/test-float-vlen8.h: Likewise.
20794         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20795         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20796         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20797         * sysdeps/x86_64/fpu/Versions: New versions added.
20798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20799         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20800         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20801         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20807         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20808         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20809         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20810         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20811         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20812         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20813         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20814         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20815         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20816         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20817         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20820         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20821         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20823         * NEWS: Mention addition of x86_64 vector sincos.
20824         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20825         * math/math.h (__MATHDECL_VEC): New macro.
20826         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20827         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20828         declaration under condition.
20829         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20830         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20831         TEST_VEC_LOOP change.
20832         * math/test-double-vlen4.h: Likewise.
20833         * math/test-double-vlen8.h: Likewise.
20834         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20835         * math/test-float-vlen4.h: Likewise.
20836         * math/test-float-vlen8.h: Likewise.
20837         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20838         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20840         * sysdeps/x86_64/fpu/Versions: New versions added.
20841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20843         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20848         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20849         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20850         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20851         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20852         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20853         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20854         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20855         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20856         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20857         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20858         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20861         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20862         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20864         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20868         redirections for powf.
20869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20870         * sysdeps/x86_64/fpu/Versions: New versions added.
20871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20872         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20873         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20874         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20878         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20879         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20881         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20882         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20883         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20884         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20885         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20886         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20887         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20888         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20889         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20890         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20893         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20894         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20895         * math/test-float-vlen16.h: Fixed 2 argument macro.
20896         * math/test-float-vlen4.h: Likewise.
20897         * math/test-float-vlen8.h: Likewise.
20898         * NEWS: Mention addition of x86_64 vector powf.
20900 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20902         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20903         and redefine.
20904         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20905         and redefine.
20906         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20907         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20910         [BZ #18553]
20911         * resource/getpriority.c (getpriority): Rename to __getpriority
20912         and define as weak alias of __getpriority.
20913         * resource/setpriority.c (setpriority): Rename to __setpriority
20914         and define as weak alias of __setpriority.
20915         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20916         __getpriority and define as weak alias of __getpriority.
20917         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20918         __setpriority and define as weak alias of __setpriority.
20919         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20920         strong name.
20921         (setpriority): Use __setpriority as strong name.
20922         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20923         __getpriority and define as weak alias of __getpriority.
20924         * include/sys/resource.h (__getpriority): Declare.  Use
20925         libc_hidden_proto.
20926         (__setpriority): Likewise.
20927         (getpriority): Don't use libc_hidden_proto.
20928         (setpriority): Likewise.
20929         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20930         getpriority.  Call __setpriority instead of setpriority.
20931         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20932         Remove variable.
20934         [BZ #18547]
20935         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20936         as weak alias of __getttynam.  Use prototype function definition.
20937         Call __setttyent, __getttyent and __endttyent instead of
20938         setttyent, getttyent and endttyent.
20939         (getttyent): Rename to __getttyent and define as weak alias of
20940         __getttyent.  Call __setttyent instead of setttyent.  Call
20941         __fgets_unlocked instead of fgets_unlocked.
20942         (setttyent): Rename to __setttyent and define as weak alias of
20943         __setttyent.
20944         (endttyent): Rename to __endttyent and define as weak alias of
20945         __endttyent.
20946         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20947         (__setttyent): Likewise.
20948         (__endttyent): Likewise.
20949         (getttyent): Don't use libc_hidden_proto.
20950         (setttyent): Likewise.
20951         (endttyent): Likewise.
20952         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20953         __endttyent instead of setttyent, getttyent and endttyent.
20954         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20955         Remove variable.
20957         [BZ #18546]
20958         * socket/recv.c (__recv): Use libc_hidden_def.
20959         * socket/socket.c (__socket): Likewise.
20960         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20961         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20962         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20963         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20964         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20965         libc_hidden_def.
20966         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20967         libc_hidden_weak.
20968         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20969         Use libc_hidden_proto.
20970         (__recv): Likewise.
20971         * socket/Versions (libc): Export __recv and __socket at version
20972         GLIBC_PRIVATE.
20973         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20974         instead of recv.
20975         (init_mq_netlink): Call __socket instead of socket.
20976         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20977         Remove variable.
20979         [BZ #18545]
20980         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20981         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20982         hidden_weak.
20983         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20984         define as alias of __mq_timedsend.  Use hidden_weak.
20985         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20986         __mq_timedsend as strong name.
20987         (mq_timedreceive): Use __mq_timedreceive as strong name.
20988         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20989         (__mq_timedreceive): Likewise.
20990         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20991         __mq_timedreceive instead of mq_timedreceive.
20992         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20993         instead of mq_timedsend.
20994         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20995         Remove variable.
20997         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20998         hidden_def and hidden_weak instead of libc_hidden_def and
20999         libc_hidden_weak.
21000         (top level): Refer to hidden_def in comment.
21001         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21002         macro.  Use it instead of libc_hidden_def.
21003         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21004         specify __GI_* name explicitly.
21005         (mq_timedreceive): Likewise.
21006         (mq_setattr): Likewise.
21008         [BZ #18544]
21009         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21010         __pthread_barrier_init and define as weak alias of
21011         __pthread_barrier_init.
21012         * sysdeps/sparc/nptl/pthread_barrier_init.c
21013         (pthread_barrier_init): Likewise.
21014         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21015         __pthread_barrier_wait and define as weak alias of
21016         __pthread_barrier_wait.
21017         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21018         (pthread_barrier_wait): Likewise.
21019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21020         (pthread_barrier_wait): Likewise.
21021         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21022         (pthread_barrier_wait): Likewise.
21023         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21024         (pthread_barrier_wait): Likewise.
21025         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21026         __pthread_barrier_wait at version GLIBC_PRIVATE.
21027         * include/pthread.h (__pthread_barrier_init): Declare.
21028         (__pthread_barrier_wait): Likewise.
21029         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21030         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21031         (helper_thread): Likewise.
21032         (init_mq_netlink): Call __pthread_barrier_init instead of
21033         pthread_barrier_init.
21035         [BZ #18542]
21036         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21037         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21038         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21039         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21040         vswscanf.
21041         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21042         Remove variable.
21044         [BZ #18540]
21045         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21046         strong alias of _IO_fflush.  Use libc_hidden_def.
21047         * libio/iofflush_u.c (fflush_unlocked): Rename to
21048         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21049         Use libc_hidden_weak.
21050         * include/stdio.h (__fflush_unlocked): Declare.  Use
21051         libc_hidden_proto.
21052         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21053         fflush_unlocked.
21054         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21055         Remove variable.
21057         [BZ #18539]
21058         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21059         define as weak alias of __addseverity.
21060         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21061         Remove variable.
21062         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21063         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21064         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21066         [BZ #18536]
21067         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21068         (__tfind): Likewise.
21069         (__tdelete): Likewise.
21070         (__twalk): Likewise.
21071         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21072         __twalk to GLIBC_PRIVATE.
21073         * include/search.h (__tsearch): Use libc_hidden_proto.
21074         (__tfind): Likewise.
21075         (__tdelete): Likewise.
21076         (__twalk): Likewise.
21077         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21078         Call __tdelete instead of tdelete.
21079         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21080         tfind.  Call __tsearch instead of tsearch.
21081         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21082         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21083         Remove variable.
21084         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21086         [BZ #18534]
21087         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21088         (dprintf): Define as a weak alias of __dprintf, not a strong
21089         alias.
21090         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21091         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21092         dprintf.
21093         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21094         Remove variable.
21095         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21096         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21098         [BZ #18533]
21099         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21100         not a strong alias.
21101         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21102         Remove variable.
21104         [BZ #18532]
21105         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21106         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21107         (in6addr_loopback): Rename to __in6addr_loopback and define as
21108         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21109         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21110         libc_hidden_proto.
21111         (__in6addr_any): Likewise.
21112         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21113         in6addr_any.
21114         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21115         variable.
21116         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21118 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21120         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21121         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21123         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21124         redirections for pow.
21125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21126         * sysdeps/x86_64/fpu/Versions: New versions added.
21127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21129         build of SSE, AVX2 and AVX512 IFUNC versions.
21130         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21137         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21138         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21139         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21140         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21141         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21142         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21143         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21144         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21145         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21147         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21148         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21149         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21150         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21151         * NEWS: Mention addition of x86_64 vector pow.
21153         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21154         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21155         redirections for expf.
21156         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21157         * sysdeps/x86_64/fpu/Versions: New versions added.
21158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21159         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21160         build of SSE, AVX2 and AVX512 IFUNC versions.
21161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21166         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21167         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21168         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21169         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21170         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21171         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21172         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21173         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21174         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21175         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21176         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21177         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21179         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21180         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21181         * NEWS: Mention addition of x86_64 vector expf.
21183         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21184         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21185         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21186         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21187         redirections for exp.
21188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21189         * sysdeps/x86_64/fpu/Versions: New versions added.
21190         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21191         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21192         build of SSE, AVX2 and AVX512 IFUNC versions.
21193         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21195         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21196         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21198         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21199         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21200         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21201         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21202         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21203         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21204         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21206         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21209         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21210         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21211         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21212         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21213         * NEWS: Mention addition of x86_64 vector exp.
21215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21217         redirections for logf.
21218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21219         * sysdeps/x86_64/fpu/Versions: New versions added.
21220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21222         build of SSE, AVX2 and AVX512 IFUNC versions.
21223         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21226         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21228         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21229         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21230         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21231         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21232         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21233         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21234         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21236         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21237         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21238         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21241         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21242         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21243         * NEWS: Mention addition of x86_64 vector logf.
21245         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21246         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21249         redirections for log.
21250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21251         * sysdeps/x86_64/fpu/Versions: New versions added.
21252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21254         build of SSE, AVX2 and AVX512 IFUNC versions.
21255         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21256         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21257         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21258         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21259         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21261         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21262         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21263         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21264         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21265         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21266         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21268         test.
21269         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21275         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21276         * NEWS: Mention addition of x86_64 vector log.
21278 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21280         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21281         cfi_adjust_cfa_offset argument.
21282         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21283         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21285         [BZ #18034]
21286         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21287         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21288         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21289         ordering using ldar.
21290         (_dl_tlsdesc_dynamic): Likewise.
21291         (_dl_tlsdesc_return_lazy): Likewise.
21292         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21293         relaxed atomics instead of volatile and synchronize with release store.
21294         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21295         volatile.
21296         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21298 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21301         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21302         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21303         * sysdeps/x86_64/fpu/Versions: New versions added.
21304         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21306         build of SSE, AVX2 and AVX512 IFUNC versions.
21307         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21308         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21310         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21311         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21312         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21313         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21314         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21315         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21316         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21317         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21318         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21319         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21320         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21321         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21322         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21324         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21326         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21327         * NEWS: Mention addition of x86_64 vector sinf.
21329 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21331         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21332         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21333         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21334         Remove variable.
21335         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21336         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21338 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21340         [BZ #18530]
21341         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21342         strong alias of _IO_fputs.  Use libc_hidden_def.
21343         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21344         and define as weak alias of __fputs_unlocked.  Use
21345         libc_hidden_weak.
21346         * include/stdio.h (__fputs_unlocked): Declare.  Use
21347         libc_hidden_proto.
21348         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21349         fputs_unlocked.
21351         [BZ #18529]
21352         * resolv/netdb.h [__USE_POSIX]: Change condition to
21353         [__USE_XOPEN2K].
21354         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21355         not expect.
21356         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21357         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21358         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21359         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21360         [XPG4 || UNIX98] (AI_ALL): Likewise.
21361         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21362         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21363         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21364         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21365         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21366         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21367         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21368         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21369         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21370         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21371         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21372         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21373         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21374         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21375         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21376         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21377         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21378         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21379         [XPG4 || UNIX98] (gai_strerror): Likewise.
21380         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21381         [XPG4 || UNIX98] (getnameinfo): Likewise.
21383         [BZ #18528]
21384         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21385         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21386         __USE_XOPEN2K8].
21387         (getgrent): Likewise.
21388         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21389         expect.
21390         [XPG3 || POSIX2008] (endgrent): Likewise.
21391         [XPG3] (setgrent): Likewise.
21392         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21393         variable.
21394         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21396         [BZ #18527]
21397         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21398         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21399         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21400         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21401         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21402         * include/unistd.h (__getlogin_r): Declare.  Use
21403         libc_hidden_proto.
21404         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21405         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21406         variable.
21407         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21408         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21409         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21411 2015-06-12  Martin Sebor  <msebor@redhat.com>
21413         [BZ #18512]
21414         * Makerules (check-install-supported): New target.
21415         (install): Add check-install-supported as a dependency.
21416         * manual/install.texi (Installing the C Library): Document
21417         that overriding prefix and exec_prefix is not supported.
21418         Mention DESTDIR.
21419         * INSTALL: Regenerate from the above.
21421 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21423         [BZ #18519]
21424         * posix/Versions (libc): Export __libc_pread at version
21425         GLIBC_PRIVATE.
21426         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21427         instead of pread.
21428         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21429         variable.
21431         [BZ #18522]
21432         * misc/efgcvt_r.c
21433         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21434         (cvt_symbol): Use weak_alias instead of strong_alias.
21435         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21436         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21437         Remove variable.
21438         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21439         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21441         [BZ #18520]
21442         * inet/herrno.c (h_errno): Rename to __h_errno.
21443         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21444         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21445         to __h_errno instead of h_errno.
21446         * nptl/herrno.c (h_errno): Rename to __h_errno.
21447         (__h_errno_location): Refer to __h_errno not h_errno.
21448         * resolv/Versions (h_errno): Rename to __h_errno.
21449         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21450         Remove variable.
21451         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21453 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21455         * configure.ac: More strict check for AVX512 assembler support.
21456         * configure: Regenerated.
21458         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21459         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21461         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21463         * sysdeps/x86_64/fpu/Versions: New versions added.
21464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21466         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21467         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21468         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21469         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21473         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21474         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21475         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21476         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21477         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21478         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21479         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21480         test.
21481         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21482         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21484         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21485         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21486         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21487         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21488         * NEWS: Mention addition of x86_64 vector sin.
21490 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21492         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21493         comment.
21495 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21497         [BZ #18479]
21498         * nptl/pt-interp.c: New file.
21499         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21500         Add pt-interp.
21501         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21502         $(common-objpfx)runtime-linker.h.
21504 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21506         * Makeconfig (+interp): Remove unused variable.
21507         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21508         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21509         $(elf-objpfx)runtime-linker.h.
21510         ($(elf-objpfx)runtime-linker.h): Rename to
21511         $(common-objpfx)runtime-linker.h and move ...
21512         * Makerules [$(build-shared) = yes]: ... here.
21513         * elf/interp.c: Include <runtime-linker.h> instead of
21514         <elf/runtime-linker.h>.
21516 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21518         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21519         (__gettimeofday_syscall): Remove vsyscall fallback.
21520         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21521         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21522         Add syscall fallback function.
21523         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21524         if vDSO is not present.
21525         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21526         fallback function.
21527         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21528         present.
21529         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21530         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21532 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21534         [BZ #18497]
21535         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21536         of wcscmp.
21537         (wcscmp): Define as weak alias of WCSCMP.
21538         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21539         wcscoll.
21540         (USE_HIDDEN_DEF): Define.
21541         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21542         __wcscoll.  Don't use libc_hidden_weak.
21543         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21544         wcscmp.
21545         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21546         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21547         __GI_wcscmp.
21548         (weak_alias): Undefine and redefine.
21549         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21550         __wcscmp and define as weak alias of __wcscmp.
21551         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21552         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21553         (__wcscoll): Likewise.
21554         (wcscmp): Don't use libc_hidden_proto.
21555         (wcscoll): Likewise.
21556         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21557         wcscoll.
21558         * posix/regexec.c (check_node_accept_bytes): Likewise.
21559         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21560         variable.
21561         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21562         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21564         [BZ #18507]
21565         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21566         __fstatvfs and define as weak alias of __fstatvfs.  Use
21567         libc_hidden_weak.
21568         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21569         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21570         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21571         Define as alias of __fstatvfs, not fstatvfs.
21572         (fstatvfs64): Likewise.
21573         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21574         Define as alias of __statvfs, not statvfs.
21575         (statvfs64): Likewise.
21576         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21577         Remove variable.
21579 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21582         (HAVE_GETCPU_VSYSCALL): Define.
21583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21584         (HAVE_GETCPU_VSYSCALL): Likewise.
21585         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21586         * sysdeps/unix/sysv/linux/sched_getcpu.c
21587         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21588         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21589         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21590         prototype.
21591         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21592         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21593         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21595         Define.
21596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21597         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21601 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21603         * sysdeps/x86_64/fpu/Makefile: New file.
21604         * sysdeps/x86_64/fpu/Versions: New file.
21605         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21606         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21607         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21608         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21609         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21610         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21611         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21614         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21618         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21619         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21621         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21622         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21623         * sysdeps/x86_64/configure: Regenerated.
21624         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21626         * manual/install.texi (Configuring and compiling): Document
21627         --disable-mathvec.
21628         * INSTALL: Regenerated.
21629         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21631         * math/Makefile: Added rules for vector tests.
21632         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21633         declaration under condition.
21634         * math/test-double-vlen2.h: New file.
21635         * math/test-double-vlen4.h: New file.
21636         * math/test-double-vlen8.h: New file.
21637         * math/test-vec-loop.h: Added initialization macro.
21638         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21640         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21642         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21646         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21648         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21651         * sysdeps/x86_64/fpu/Versions: New versions added.
21652         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21655         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21656         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21658         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21659         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21660         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21662         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21663         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21664         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21665         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21666         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21669         * NEWS: Mention addition of x86_64 vector cosf.
21671         * math/Makefile: Added CFLAGS for new tests.
21672         * math/test-float-vlen16.h: New file.
21673         * math/test-float-vlen4.h: New file.
21674         * math/test-float-vlen8.h: New file.
21675         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21676         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21678         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21679         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21680         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21681         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21682         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21683         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21684         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21685         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21687 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21689         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21690         * locale/programs/ld-ctype.c: Likewise.
21692 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21694         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21695         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21696         bit_ZMM16_31_state): New macro.
21697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21698         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21700 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21702         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21704 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21706         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21708 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21710         [BZ #18498]
21711         * libio/memstream.c (open_memstream): Rename to __open_memstream
21712         and define as weak alias of __open_memstream.
21713         * include/stdio.h (__open_memstream): Declare.  Use
21714         libc_hidden_proto.
21715         (open_memstream): Don't use libc_hidden_proto.
21716         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21717         open_memstream.
21718         * posix/getopt.c (_getopt_internal_r): Likewise.
21719         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21720         variable.
21721         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21722         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21723         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21725         [BZ #18496]
21726         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21727         instead of wcrtomb.
21729         [BZ #18483]
21730         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21731         [__USE_XOPEN2K8].  Remove redundant #endif.
21732         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21733         Remove redundant #if.
21734         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21735         Remove variable.
21736         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21737         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21739         [BZ #18495]
21740         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21741         (__iswlower): Likewise.
21742         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21743         (__iswlower): Likewise.
21744         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21745         instead of towlower.
21746         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21747         instead of iswlower.  Call __towupper instead of towupper.
21748         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21749         instead of iswalnum.
21751 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21753         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21754         errors to stderr.
21756 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21758         [BZ #15661]
21759         [BZ #17322]
21760         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21761         Check for overflow properly.  Check for O_APPEND.  Ignore large
21762         file system block sizes.  Add comments about problems.
21763         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21764         * manual/filesys.texi (Storage Allocation): New node.
21766 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21768         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21769         cancellable syscalls.
21770         (SYS_ify): Add guard to no redefine it.
21771         (INLINE_SYSCALL): Likewise.
21772         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21773         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21774         SYSCALL_CANCEL instead.
21775         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21776         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21777         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21778         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21779         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21780         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21781         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21782         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21783         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21784         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21785         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21786         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21787         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21788         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21789         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21791         Likewise.
21792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21793         (__libc_pread64): Likewise.
21794         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21795         (__libc_preadv): Likewise.
21796         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21797         (__libc_readv64): Likewise.
21798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21799         (__libc_pwrite): Likewise.
21800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21801         (__libc_pwrite64): Likewise.
21802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21803         (__libc_pwritev): Likewise.
21804         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21805         (__libc_pwritev64): Likewise.
21806         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21807         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21808         (sync_file_range): Likewise.
21809         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21810         Likewise.
21811         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21812         Likewise.
21813         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21814         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21815         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21816         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21817         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21818         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21819         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21820         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21822         Likewise.
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21824         (__libc_read64): Likewise.
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21826         Likewise.
21827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21828         Likewise.
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21830         Likewise.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21832         Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21834         (__libc_pread64): Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21836         Likewise.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21838         (__libc_pwrite64): Likewise.
21839         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21840         (sync_file_range): Likewise.
21841         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21842         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21843         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21844         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21845         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21846         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21847         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21848         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21849         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21850         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21851         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21852         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21853         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21854         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21855         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21856         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21857         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21858         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21859         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21860         Likewise.
21861         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21862         Likewise.
21863         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21864         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21865         Likewise.
21866         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21867         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21868         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21869         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21870         Likewise.
21871         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21872         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21873         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21874         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21875         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21877 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21879         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21880         Include dl-vdso.
21881         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21882         Use VDSO routines for gettimeofday, clock_gettime if
21883         available.
21884         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21885         Declare VDSO symbols.
21886         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21887         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21888         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21889         * sysdeps/unix/sysv/linux/arm/Versions: Add
21890         __vdso_clock_gettime.
21892 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21894         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21895         be an inline implementation regardless of library is built within.
21896         (open_not_cancel_2): Likewise.
21897         (__read_nocancel): Likewise.
21898         (__write_nocancel): Likewise.
21899         (openat_not_cancel): Likewise.
21900         (openat_not_cancel_3): Likewise.
21901         (openat64_not_cancel): Likewise.
21902         (openat64_not_cancel_3): Likewise.
21903         (__close_nocancel): Likewise.
21904         (pause_not_cancel): Likewise.
21905         (nanosleep_not_cancel): Likewise.
21906         (sigsuspend_not_cancel): Likewise.
21908 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21910         [BZ #14958]
21911         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21912         wake-up.
21913         (__pthread_rwlock_rdlock_slow): Likewise.
21914         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21915         Likewise.
21916         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21917         Likewise.
21918         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21919         * nptl/tst-rwlock16.c: New file.
21920         * nptl/Makefile (tests): Add new test.
21922 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21924         [BZ #18324]
21925         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21926         missing wake-up of readers.
21927         * nptl/tst-rwlock15.c: New file.
21928         * nptl/Makefile (tests): Add new test.
21930 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21932         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21933         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21934         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21935         and __nacl_supply_interface_rtld.
21936         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21937         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21938         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21939         Add __nacl_supply_interface_rtld.
21940         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21942 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21944         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21945         isfinite.
21946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21947         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21949 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21951         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21952         __signbit* with standard C99 macros.
21953         * math/e_exp10l.c: Likewise.
21954         * math/e_exp2l.c: Likewise.
21955         * math/e_scalb.c: Likewise.
21956         * math/e_scalbf.c: Likewise.
21957         * math/e_scalbl.c: Likewise.
21958         * math/s_ldexp.c: Likewise.
21959         * math/s_ldexpf.c: Likewise.
21960         * math/s_ldexpl.c: Likewise.
21961         * math/w_atan2.c: Likewise.
21962         * math/w_atan2f.c: Likewise.
21963         * math/w_atan2l.c: Likewise.
21964         * math/w_cosh.c: Likewise.
21965         * math/w_coshf.c: Likewise.
21966         * math/w_coshl.c: Likewise.
21967         * math/w_exp10.c: Likewise.
21968         * math/w_exp10f.c: Likewise.
21969         * math/w_exp10l.c: Likewise.
21970         * math/w_exp2.c: Likewise.
21971         * math/w_exp2f.c: Likewise.
21972         * math/w_exp2l.c: Likewise.
21973         * math/w_fmod.c: Likewise.
21974         * math/w_fmodf.c: Likewise.
21975         * math/w_fmodl.c: Likewise.
21976         * math/w_hypot.c: Likewise.
21977         * math/w_hypotf.c: Likewise.
21978         * math/w_hypotl.c: Likewise.
21979         * math/w_jnl.c: Likewise.
21980         * math/w_lgamma.c: Likewise.
21981         * math/w_lgamma_r.c: Likewise.
21982         * math/w_lgammaf.c: Likewise.
21983         * math/w_lgammaf_r.c: Likewise.
21984         * math/w_lgammal.c: Likewise.
21985         * math/w_lgammal_r.c: Likewise.
21986         * math/w_pow.c: Likewise.
21987         * math/w_powf.c: Likewise.
21988         * math/w_powl.c: Likewise.
21989         * math/w_remainder.c: Likewise.
21990         * math/w_remainderf.c: Likewise.
21991         * math/w_remainderl.c: Likewise.
21992         * math/w_scalb.c: Likewise.
21993         * math/w_scalbf.c: Likewise.
21994         * math/w_scalbl.c: Likewise.
21995         * math/w_scalbln.c: Likewise.
21996         * math/w_scalblnf.c: Likewise.
21997         * math/w_scalblnl.c: Likewise.
21998         * math/w_sinh.c: Likewise.
21999         * math/w_sinhf.c: Likewise.
22000         * math/w_sinhl.c: Likewise.
22001         * math/w_tgamma.c: Likewise.
22002         * math/w_tgammaf.c: Likewise.
22003         * math/w_tgammal.c: Likewise.
22004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22005         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22006         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22010         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22011         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22012         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22013         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22014         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22015         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22016         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22017         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22019         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22021         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22022         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22024         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22025         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22026         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22029         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22030         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22031         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22032         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22033         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22034         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22035         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22036         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22037         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22038         * stdio-common/printf_fp.c: Likewise.
22039         * stdio-common/printf_fphex.c: Likewise.
22040         * stdio-common/printf_size.c: Likewise.
22042 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22044         [BZ #18470]
22045         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22046         strnlen.
22047         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22048         Remove variable.
22049         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22050         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22051         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22052         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22053         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22054         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22055         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22056         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22057         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22058         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22060         [BZ #18468]
22061         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22062         weak alias of __wmemchr.  Use libc_hidden_weak.
22063         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22064         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22065         instead of wmemchr.
22067 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22069         [BZ #18383]
22070         * elf/tst-tlsalign-extern.c: New file.
22071         * elf/tst-tlsalign-extern-static.c: New file.
22072         * elf/tst-tlsalign-vars.c: New file.
22073         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22074         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22075         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22076         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22077         (test-xfail-tst-tlsalign-extern-static): New variable.
22079 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22081         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22082         Use variable name _sc_err instead of err.
22083         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22084         instead of ret.
22085         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22086         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22087         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22088         (INLINE_SYSCALL): Likewise.
22090         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22091         * include/string.h (__strnlen): Use libc_hidden_proto.
22092         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22093         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22094         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22095         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22096         (libc_hidden_def): Undefine and redefine.
22097         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22098         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22099         __GI_strnlen.
22100         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22101         libc_hidden_def.
22102         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22104         [BZ #18469]
22105         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22106         weak alias of __towlower.  Use libc_hidden_weak.
22107         (towupper): Rename to __towupper and define as weak alias of
22108         __towupper.  Use libc_hidden_weak.
22109         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22110         (__towupper): Likewise.
22111         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22112         __towlower instead of towlower.
22114 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22116         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22117         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22119 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22121         * sysdeps/aarch64/libm-test-ulps: Update.
22123 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22125         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22126         Define.
22127         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22129         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22130         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22131         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22132         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22133         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22135 2015-06-01  Martin Sebor  <msebor@redhat.com>
22137         [BZ #18116]
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22139         (__setcontext): Use extended four-operand version of mtsf whenever
22140         possible.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22142         (__novec_swapcontext): Likewise.
22144 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22146         * benchtests/scripts/compare_bench.py: New file.
22147         * benchtests/scripts/import_bench.py (mean): New function.
22148         (split_list): Likewise.
22149         (do_for_all_timings): Likewise.
22150         (compress_timings): Likewise.
22152         * benchtests/scripts/import_bench.py: New file.
22153         * benchtests/scripts/validate_benchout.py: Import import_bench
22154         instead of jsonschema.
22155         (validate_bench): Remove function.
22156         (main): Use import_bench.
22158 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22160         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22161         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22163 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22167 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22169         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22170         set THREAD_SELF->tid to a magic value and futex-wake it.
22171         Pass its address to the thread_exit system call.
22172         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22173         bit is clear.
22174         * sysdeps/nacl/lowlevellock.h: New file.
22175         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22177         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22178         Add TIMEOUT to current time, don't subtract it.
22180 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22182         [BZ #2981]
22183         [BZ #18422]
22184         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22185         ($(objpfx)tst-audit2.out): Also depend on
22186         $(objpfx)tst-auditmod9b.so.
22187         * elf/tst-audit2.c: Include <dlfcn.h>.
22188         (calloc_called): New.
22189         (calloc): Allow to be called more than once.
22190         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22192 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22194         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22195         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22197 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22199         * stdlib/monetary.h: Fix comment.
22201 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22203         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22204         Avoid using variables in #defines that might cause shadowing.
22205         (INTERNAL_VSYSCALL_CALL): Likewise.
22207 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22209         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22211         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22212         * nptl/lll_timedlock_wait.c: ... to this new file.
22213         * nptl/Makefile (libpthread-routines): Add it.
22214         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22215         * nptl/lll_timedwait_tid.c: ... to this new file.
22216         * nptl/Makefile (libpthread-routines): Add it.
22217         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22218         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22219         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22220         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22221         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22222         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22223         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22224         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22225         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22226         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22228 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22230         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22231         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22232         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22234         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22236         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22238         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22239         * sysdeps/unix/sysv/linux/tile/sysdep.h
22240         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22241         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22242         using vDSO syscall macro.
22244 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22246         [BZ #17293]
22247         * uk_UA: Fix sorting order for Ukrainian locale
22249 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22251         * stdlib/monetary.h: Fix comment.
22253 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22255         [BZ #18234]
22256         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22257         st_mtim and st_ctim members.
22258         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22259         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22260         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22261         (struct stat64): Likewise.
22262         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22263         (struct stat64): Likewise.
22264         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22265         (struct stat64): Likewise.
22267 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22269         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22270         Define and include sysdep-vdso.h.
22271         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22272         Likewise.
22273         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22274         Likewise.
22275         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22276         Define with VDSO_SYMBOL and use PTR_MANGLE.
22277         (__vdso_clock_gettime): Likewise.
22278         (__vdso_clock_getres): Likewise.
22279         (_libc_vdso_platform_setup): Likewise.
22280         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22281         Likewise.
22282         (_libc_vdso_platform_setup): Likewise.
22283         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22284         Likewise.
22285         (__vdso_clock_gettime): Likewise.
22286         (__vdso_clock_getres): Likewise.
22287         (__vdso_get_tbfreq): Likewise.
22288         (__vdso_getcpu): Likewise.
22289         (__vdso_time): Likewise.
22290         (__vdso_sigtramp_rt64): Likewise.
22291         (__vdso_signtramp32): Likewise.
22292         (__vdso_sigtramp_rt32): Likewise.
22293         (_libc_vdso_platform_setup): Likewise.
22294         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22295         Likewise.
22296         (__vdso_clock_gettime): Likewise.
22297         (__vdso_clock_getres): Likewise.
22298         (_libc_vdso_platform_setup): Likewise.
22299         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22300         Likewise.
22301         (__vdso_clock_gettime): Likewise.
22302         (_libc_vdso_platform_setup): Likewise.
22303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22304         Likewise.
22305         (__vdso_getcpu): Likewise.
22306         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22307         Use VDSO_SYMBOL macro to define.
22308         (__vdso_clock_gettime): Likewise.
22309         (__vdso_clock_getres): Likewise.
22310         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22311         Likewise.
22312         (__vdso_clock_gettime): Likewise.
22313         (__vdso_clock_getres): Likewise.
22314         (__vdso_get_tbfreq): Likewise.
22315         (__vdso_getcpu): Likewise.
22316         (__vdso_time): Likewise.
22317         (__vdso_sigtramp_rt64): Likewise.
22318         (__vdso_signtramp32): Likewise.
22319         (__vdso_sigtramp_rt32): Likewise.
22320         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22321         Likewise.
22322         (__vdso_clock_gettime): Likewise.
22323         (__vdso_clock_getres): Likewise.
22324         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22325         Likewise.
22326         (__vdso_clock_gettime): Likewise.
22327         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22328         Likewise.
22329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22330         macro.
22331         (INTERNAL_VSYSCALL): Likewise.
22332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22333         Remove macro.
22334         (INTERNAL_VSYSCALL): Likewise.
22335         (INTERNAL_VSYSCALL_NCS): Likewise.
22336         (INTERNAL_VSYSCALL_CALL): New macro.
22337         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22339         Likewise.
22340         (INTERNAL_VSYSCALL): Likewise.
22341         (INTERNAL_VSYSCALL_NCS): Likewise.
22342         (INTERNAL_VSYSCALL_CALL): New macro.
22343         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22345         (INLINE_VSYSCALL): Remove macro.
22346         (INTERNAL_VSYSCALL): Remove macro.
22347         (INTERNAL_VSYSCALL_NCS): Remove macro.
22348         (INTERNAL_VSYSCALL_CALL): New macro.
22349         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22350         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22351         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22352         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22353         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22355         (INLINE_VSYSCALL): Remove macro.
22356         (INTERNAL_VSYSCALL): Likewise.
22357         (INTERNAL_VSYSCALL_NCS): Likewise.
22358         (INTERNAL_VSYSCALL_CALL): New macro.
22359         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22360         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22361         PTR_DEMANGLE on vDSO pointer.
22362         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22363         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22364         macro.
22365         (INTERNAL_SYSCALL): Likewise.
22366         (INTERNAL_VSYSCALL_NCS): Remove macro.
22367         (INTERNAL_VSYSCALL_CALL): New macro.
22368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22369         Remove macro.
22370         (INTERNAL_VSYSCALL): Likewise.
22371         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22372         sysdep-vdso.h instead of libc-vdso.h.
22373         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22374         definition.
22375         (INLINE_VSYSCALL): Likewise.
22376         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22377         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22378         definition.
22379         (INLINE_VSYSCALL): Likewise.
22380         (INTERNAL_VSYSCALL): Likewise.
22381         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22382         * sysdeps/unix/sysv/linux/timespec_get.c
22383         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22384         (timespec_get): Use ANSI prototype.
22385         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22386         and definition for Linux.
22388 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22390         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22391         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22393 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22395         [BZ #2981]
22396         [BZ #18410]
22397         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22398         for missing DT_PLTRELSZ.
22400 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22402         Remove obsolete aliases that broke 'locale -a'
22403         [BZ #18412]
22404         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22405         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22406         breaking some applications that use 'locale -a' output.
22407         Change the encoding of this file from Latin-1 to ASCII to avoid
22408         other potential problems with people grepping this file.
22410 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22412         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22413         -fasynchronous-unwind-tables.
22414         (CFLAGS-sendto.c): Likewise.
22415         (CFLAGS-sendmsg.c): Likewise.
22416         (CFLAGS-connect.c): Likewise.
22417         (CFLAGS-recvmsg.c): Likewise.
22418         (CFLAGS-recvfrom.c): Likewise.
22419         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22420         (SOCKETCALL): New macro: non-cancellable socketcall.
22421         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22422         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22423         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22424         * sysdeps/unix/sysv/linux/accept.c: New file.
22425         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22426         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22427         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22428         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22429         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22430         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22431         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22432         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22433         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22434         * sysdeps/unix/sysv/linux/send.c: Likewise.
22435         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22436         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22437         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22438         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22439         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22440         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22441         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22442         prototype.
22443         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22444         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22445         instead of __internal_xxx function.
22446         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22447         prototype.
22448         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22449         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22450         instead of __internal_xxx function.
22451         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22452         prototype.
22453         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22454         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22455         instead of __internal_xxx function.
22456         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22457         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22458         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22459         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22460         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22461         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22462         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22463         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22464         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22465         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22466         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22467         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22468         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22469         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22470         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22471         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22472         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22473         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22474         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22475         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22478         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22479         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22480         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22481         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22482         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22483         * sysdeps/unix/sysv/linux/send.S: Likewise.
22484         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22485         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22486         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22487         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22488         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22489         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22490         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22491         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22492         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22493         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22494         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22495         socketcall is implemented in GLIBC.
22497 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22499         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22500         (__fma): Ignore uninitialized warnings around packing.
22501         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22502         (__fmaf): Ignore uninitialized warnings around packing.
22503         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22504         (__fmal): Ignore uninitialized warnings around packing.
22506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22507         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22509         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22511         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22512         switch statement into default case.
22513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22515         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22516         a conditional in forcing "inexact".
22517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22518         Likewise.
22520 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22522         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22523         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22524         for each INTERNAL_SYSCALL use.
22526 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22528         [BZ #438]
22529         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22530         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22531         variable.
22533         [BZ #18444]
22534         * string/basename.c (basename): Rename to __basename and define as
22535         weak alias of __basename.  Use libc_hidden_weak.
22536         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22537         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22538         __basename instead of basename.
22539         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22540         Remove variable.
22541         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22543 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22545         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22546         (_IO_JUMPS_FILE_plus): New.
22547         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22548         _IO_CAST_FIELD_ACCESS.
22549         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22550         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22551         * libio/freopen.c (freopen): Likewise.
22552         * libio/freopen64.c (freopen64): Likewise.
22553         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22554         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22555         * libio/iofwide.c (_IO_fwide): Likewise.
22556         * libio/memstream.c (open_memstream): Likewise.
22557         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22558         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22559         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22561 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22564         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22565         NADJ.
22566         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22567         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22568         NADJ.
22569         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22570         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22571         NADJ.
22573         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22574         (p == 4) case.
22576         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22577         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22578         Remove variable.
22579         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22580         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22581         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22583 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22585         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22586         Adjust jump table label generation macros.
22588 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22590         * stdio-common/vfprintf.c (vfprintf): Move local variables
22591         args_malloced, specs, specs_malloced, and the code after
22592         do_positional to the printf_positional function.
22593         (printf_positional): New function.
22595 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22597         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22598         function.
22599         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22600         STEP4_TABLE, process_arg): Move macro definitions
22601         out of the vfprintf function.  (Cosmetic change only.)
22603 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22605         * benchtests/Makefile (stdio-common-bench): Define.
22606         (benchset): Add stdio-common-bench.
22607         * sprintf-inputs: New file.
22608         * sprintf-source.c: New file.
22610 2015-05-21  Andreas Schwab  <schwab@suse.de>
22612         [BZ #13028]
22613         [BZ #17053]
22614         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22615         of struct __res_state.
22616         * resolv/res_send.c (__libc_res_nsend): Likewise.
22617         (get_nsaddr): New function.
22618         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22619         statp directly.
22621 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22623         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22624         -D_POSIX_C_SOURCE=199506L.
22626         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22628         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22629         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22630         Do not mention otherwise.
22631         [POSIX] (_XOPEN_VERSION): Do not expect.
22632         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22633         [POSIX] (_POSIX2_C_BIND): Likewise.
22634         [POSIX] (_POSIX2_VERSION): Likewise.
22635         [POSIX] (_XOPEN_XPG2): Likewise.
22636         [POSIX] (_XOPEN_XPG3): Likewise.
22637         [POSIX] (_XOPEN_XPG4): Likewise.
22638         [POSIX] (_XOPEN_UNIX): Likewise.
22639         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22640         [POSIX] (_POSIX_BARRIERS): Likewise.
22641         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22642         [POSIX] (_POSIX_CPUTIME): Likewise.
22643         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22644         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22645         [POSIX] (_POSIX_SHELL): Likewise.
22646         [POSIX] (_POSIX_SPAWN): Likewise.
22647         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22648         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22649         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22650         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22651         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22652         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22653         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22654         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22655         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22656         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22657         [POSIX] (_POSIX2_PBS): Likewise.
22658         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22659         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22660         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22661         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22662         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22663         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22664         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22665         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22666         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22667         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22668         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22669         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22670         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22671         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22672         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22673         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22674         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22675         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22676         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22677         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22678         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22679         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22680         [POSIX] (_SC_2_C_BIND): Likewise.
22681         [POSIX] (_SC_2_C_VERSION): Likewise.
22682         [POSIX] (_SC_2_PBS): Likewise.
22683         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22684         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22685         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22686         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22687         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22688         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22689         [POSIX] (_SC_BARRIERS): Likewise.
22690         [POSIX] (_SC_BASE): Likewise.
22691         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22692         [POSIX] (_SC_DEVICE_IO): Likewise.
22693         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22694         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22695         [POSIX] (_SC_FD_MGMT): Likewise.
22696         [POSIX] (_SC_FIFO): Likewise.
22697         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22698         [POSIX] (_SC_FILE_LOCKING): Likewise.
22699         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22700         [POSIX] (_SC_IOV_MAX): Likewise.
22701         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22702         [POSIX] (_SC_NETWORKING): Likewise.
22703         [POSIX] (_SC_PAGE_SIZE): Likewise.
22704         [POSIX] (_SC_PASS_MAX): Likewise.
22705         [POSIX] (_SC_PIPE): Likewise.
22706         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22707         [POSIX] (_SC_REGEXP): Likewise.
22708         [POSIX] (_SC_SHELL): Likewise.
22709         [POSIX] (_SC_SIGNALS): Likewise.
22710         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22711         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22712         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22713         [POSIX] (_SC_USER_GROUPS): Likewise.
22714         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22715         [POSIX] (_SC_STREAMS): Likewise.
22716         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22717         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22718         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22719         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22720         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22721         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22722         [POSIX] (_PC_FILESIZEBITS): Likewise.
22723         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22724         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22725         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22726         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22727         [POSIX] (uid_t): Likewise.
22728         [POSIX] (gid_t): Likewise.
22729         [POSIX] (off_t): Likewise.
22730         [POSIX] (pid_t): Likewise.
22731         [POSIX] (cuserid): Allow.
22732         (_SC_2_CHAR_TERM): Require constant.
22733         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22734         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22735         variable.
22737 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22739         * sysdeps/nacl/pthread-pids.h: New file.
22740         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22741         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22743         * nptl/pthread-pids.h: New file.
22744         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22745         * nptl/nptl-init.c: Include <pthread-pids.h>.
22746         (__pthread_initialize_minimal_internal):
22747         Call __pthread_initialize_pids instead of set_tid_address syscall.
22749         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22750         * sysdeps/posix/usleep.c: ... here.
22752 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22754         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22755         call_pselect6 object.
22756         [$(subdir) = io]: Remove call_sync_file_range object.
22757         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22758         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22759         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22760         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22762 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22764         * math/s_cproj.c: Add include "math_private.h".
22765         * math/s_cprojf.c: Likewise.
22766         * math/s_cprojl.c: Likewise.
22768 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22770         [BZ #18244]
22771         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22772         high mantissa bit when testing whether P is a NaN.
22773         * math/libm-test.inc (remainder_test_data): Add more tests.
22774         (remquo_test_data): Likewise.
22776         [BZ #18049]
22777         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22778         below -32, return the argument, with underflow if subnormal.
22779         * math/auto-libm-test-in: Add more tests of atanh.
22780         * math/auto-libm-test-out: Regenerated.
22782 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22784         [BZ #18434]
22785         * nptl/tst-sem15.c: New file.
22786         * nptl/Makefile (tests): Add it.
22787         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22788         s/<</>>/ to fix typo in EOVERFLOW check.
22789         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22791 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22793         * manual/strings.texi (envz_remove): Fix typo in safety
22794         annotations.
22796 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22797             Steve Ellcey  <sellcey@imgtec.com>
22799         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22800         in order to avoid strict alias warnings.
22801         (iruserok_af): Ditto for ra.
22803 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22805         [BZ #17581]
22806         * malloc/hooks.c
22807         (magicbyte): Convert to a function and avoid returning 0x01.
22808         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22809         (mem2chunk_check): Fix unsigned comparisons to zero.
22810         Hoist defs of sz and magic.
22812 2015-05-19  Richard Henderson  <rth@redhat.com>
22814         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22816         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22818 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22820         [BZ #16159]
22821         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22822         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22823         (reused_arena): Find a non-corrupt arena.
22824         (heap_trim): Pass arena to unlink.
22825         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22826         malloc_printerr.
22827         (top_check): Likewise.
22828         (free_check): Likewise.
22829         (realloc_check): Likewise.
22830         * malloc/malloc.c (malloc_printerr): Add arena argument.
22831         (unlink): Likewise.
22832         (munmap_chunk): Adjust.
22833         (ARENA_CORRUPTION_BIT): New macro.
22834         (arena_is_corrupt): Likewise.
22835         (set_arena_corrupt): Likewise.
22836         (sysmalloc): Use mmap if there are no usable arenas.
22837         (_int_malloc): Likewise.
22838         (__libc_malloc): Don't fail if arena_get returns NULL.
22839         (_mid_memalign): Likewise.
22840         (__libc_calloc): Likewise.
22841         (__libc_realloc): Adjust for additional argument to
22842         malloc_printerr.
22843         (_int_free): Likewise.
22844         (malloc_consolidate): Likewise.
22845         (_int_realloc): Likewise.
22846         (_int_memalign): Don't touch corrupt arenas.
22847         * malloc/tst-malloc-backtrace.c: New test case.
22849         * Makefile (summarize-tests): Fix return value on success.
22851         * manual/string.texi (Envz Functions): Add envz_remove.
22853 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22855         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22856         (invalid_name): New function, broken out of ...
22857         (__opendirat): ... here.  Call it.
22858         (need_isdir_precheck): New function, broken out of ...
22859         (__opendirat): ... here.  Call it.
22860         Use __fxstatat64, not __xstatat64.
22861         (opendir_oflags): New function, broken out of ...
22862         (__opendirat): ... here.  Call it.
22863         (opendir_tail): New function, broken out of ...
22864         (__opendirat): ... here.  Call it.
22865         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22866         opendir_tail, rather than punting to __opendirat.
22867         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22869 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22871         * .gitignore: Ignore generated *.pyc.
22873 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22875         * include/stdio.h: Define __need_wint_t.
22876         * test-skeleton.c: Avoid `for' loop initial declaration.
22877         * nptl/tst-initializers1.c: Use test-skeleton.c.
22879 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22881         [BZ #18418]
22882         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22884 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22886         [BZ #16352]
22887         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22888         (__ieee754_atanh): Force underflow exception for results with
22889         small absolute value.
22890         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22891         (__ieee754_atanhf): Force underflow exception for results with
22892         small absolute value.
22893         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22894         (__ieee754_atanh): Force underflow exception for results with
22895         small absolute value.
22896         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22897         (__ieee754_atanhf): Force underflow exception for results with
22898         small absolute value.
22899         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22900         (__ieee754_atanhl): Force underflow exception for results with
22901         small absolute value.
22902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22903         (__ieee754_atanhl): Force underflow exception for results with
22904         small absolute value.
22905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22906         (__ieee754_atanhl): Force underflow exception for results with
22907         small absolute value.
22908         * math/auto-libm-test-in: Do not allow missing underflow
22909         exceptions from atanh.
22910         * math/auto-libm-test-out: Regenerated.
22912         [BZ #18221]
22913         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22914         2**-28 as threshold for returning x or +/- 1/x.
22915         * math/auto-libm-test-in: Add more tests of tan.
22916         * math/auto-libm-test-out: Regenerated.
22918         [BZ #18220]
22919         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22920         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22921         * math/auto-libm-test-in: Add another test of lgamma.
22922         * math/auto-libm-test-out: Regenerated.
22924 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22926         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22927         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22928         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22929         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22930         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22931         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22932         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22935         (log1): Use fabs.  (my_log2): Use fabs.
22936         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22937         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22939         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22940         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22941         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22942         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22943         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22944         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22945         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22946         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22948 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22950         [BZ #18217]
22951         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22952         as threshold for returning 1 - x.
22953         * math/auto-libm-test-in: Add more tests of erfc.
22954         * math/auto-libm-test-out: Regenerated.
22956 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22958         [BZ #18196]
22959         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22960         threshold for large arguments.
22961         * math/auto-libm-test-in: Add another test of atan.
22962         * math/auto-libm-test-out: Regenerated.
22964         [BZ #16339]
22965         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22966         (__log1p): Force underflow exception for results with small
22967         absolute value.
22968         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22969         (__log1pf): Force underflow exception for results with small
22970         absolute value.
22971         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22972         (__log1p): Force underflow exception for results with small
22973         absolute value.
22974         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22975         (__log1pf): Force underflow exception for results with small
22976         absolute value.
22977         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22978         (__log1pl): Force underflow exception for results with small
22979         absolute value.
22980         * math/auto-libm-test-in: Do not allow missing underflow
22981         exceptions from log1p.
22982         * math/auto-libm-test-out: Regenerated.
22984 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22985             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22987         [BZ #16704]
22988         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22990 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22992         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22993         (libmvec): New variable.
22994         * configure.ac: Added option for mathvec build.
22995         * configure: Regenerated.
22996         * mathvec/Depend: New file.
22997         * mathvec/Makefile: New file.
22998         * shlib-versions: Added libmvec.
22999         * math/Makefile: Added rule for libm.so installation.
23001         * bits/math-vector.h: New file.
23002         * bits/libm-simd-decl-stubs.h: New header.
23003         * math/Makefile (headers): Added new header
23004         libm-simd-decl-stubs.h.
23005         * math/math.h (__MATHCALL_VEC): New macro.
23007         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23008         for conditions in testing functions.
23009         * math/Makefile: Added call of libm-have-vector-test.sh.
23010         * math/libm-test.inc (HAVE_VECTOR): New macros.
23012         * math/libm-test.inc: START refactored.
23013         * math/test-double.c (TEST_MATHVEC): Add define.
23014         * math/test-float.c: Likewise.
23015         * math/test-idouble.c: Likewise.
23016         * math/test-ifloat.c: Likewise.
23017         * math/test-ildoubl.c: Likewise.
23018         * math/test-ldouble.c: Likewise.
23019         * sysdeps/generic/math-tests-arch.h
23020         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23021         architecture check.
23023         * math/test-double.c (FUNC_TEST): New macro.
23024         * math/test-float.c: Likewise.
23025         * math/test-idouble.c: Likewise.
23026         * math/test-ifloat.c: Likewise.
23027         * math/test-ildoubl.c: Likewise.
23028         * math/test-ldouble.c: Likewise.
23029         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23031 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23033         * sysdeps/nacl/fdopendir.c: New file.
23035         * dirent/scandir-tail.c: New file.
23036         * dirent/scandir64-tail.c: New file.
23037         * dirent/Makefile (routines): Add them.
23038         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23039         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23040         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23041         [!SCANDIR] (SCANDIR_TAIL): New macro.
23042         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23043         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23044         (SCANDIRAT): Macro removed.
23045         (SCANDIR_TAIL): New macro.
23046         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23047         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23048         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23049         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23050         (READDIR): Macro removed.
23051         (SCANDIR_TAIL): New macro.
23052         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23053         (SCANDIR_TAIL): New macro.
23055         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23056         * dirent/scandir-cancel.c: ... to this new file.
23057         * dirent/Makefile (routines): Add it.
23058         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23059         * sysdeps/unix/sysv/linux/i386/scandir64.c
23060         (SKIP_SCANDIR_CANCEL): Macro removed.
23061         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23063         * dirent/tst-scandir.c: New file.
23064         * dirent/tst-scandir64.c: New file.
23065         * dirent/Makefile (tests): Add them.
23067 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23069         [BZ #18409]
23070         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23072 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23074         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23075         list.
23077 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23079         * benchtests/bench-strcoll.c: New benchmark.
23080         * benchtests/Makefile: Generate locales and run benchmark.
23081         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23082         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23083         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23084         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23085         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23086         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23087         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23088         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23089         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23090         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23091         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23092         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23093         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23094         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23095         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23096         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23097         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23098         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23099         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23100         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23101         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23102         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23103         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23104         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23106 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23108         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23109         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23111 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23113         * posix/uname-values.h: New file.
23114         * posix/uname.c: Include that instead of <config-name.h>.
23115         * sysdeps/nacl/uname-values.h: New file.
23116         * sysdeps/arm/nacl/uname-values.h: New file.
23118 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23120         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23121         splitting into fields.
23123 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23125         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23126         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23127         * locale/localeinfo.h: Add enum collation_encoding_type.
23128         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23129         * programs/ld-collate.c (collate_output): Add encoding type info.
23130         * string/strcoll_l.c (STRDIFF): New function.
23131         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23132         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23134 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23136         [BZ #18397]
23137         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23138         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23139         <fpu_control.h> instead of <math/fpu_control.c>.
23140         * sysdeps/mips/mips32/fpu/Makefile: New file.
23142 2015-05-11  Andreas Schwab  <schwab@suse.de>
23144         [BZ #18007]
23145         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23146         nss_endgrent.
23147         (_nss_compat_endgrent): Call nss_endgrent.
23148         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23149         nss_endpwent.
23150         (_nss_compat_endpwent): Call nss_endpwent.
23151         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23152         needent, call nss_setspent only if non-zero.
23153         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23154         (internal_endspent): Don't call nss_endspent.
23155         (_nss_compat_endspent): Call nss_endspent.
23156         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23157         Remove.  All uses removed.
23158         (internal_setent): Remove parameter stayopen, add parameter
23159         stream.  Use it instead of global variable.
23160         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23161         (internal_endent, internal_getent): Add parameter stream.  Use it
23162         instead of global variable.
23163         (CONCAT(_nss_files_end,ENTNAME))
23164         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23165         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23166         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23167         uses removed.
23168         (internal_setent, internal_endent): Add parameter stream.  Use it
23169         instead of global variable.
23170         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23171         stream.
23172         (get_next_alias): Add parameter stream.
23173         (_nss_files_getaliasent_r): Pass global stream.
23174         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23175         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23176         (_nss_files_gethostbyname4_r): Pass local stream to
23177         internal_setent, internal_getent and internal_endent.  Remove
23178         locking.
23180 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23182         * tst-strfmon1.c (tests): Update expected currency symbol.
23184 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23186         * sysdeps/nacl/gethostname.c: New file.
23188 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23190         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23191         and sinh.
23192         * math/auto-libm-test-out: Regenerated.
23193         * sysdeps/i386/fpu/libm-test-ulps: Update.
23194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23198         [BZ #18125]
23199         * stdlib/tst-setcontext3.c: New file.
23200         * stdlib/tst-setcontext3.sh: New file.
23201         * stdlib/Makefile (tests): Add tst-setcontext3.
23202         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23203         to verify test program created output file.
23204         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23205         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23206         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23207         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23209 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23211         [BZ #18383]
23212         * elf/tst-tlsalign.c: New file.
23213         * elf/tst-tlsalign-static.c: New file.
23214         * elf/tst-tlsalign-lib.c: New file.
23215         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23216         (tests-static): Add tst-tlsalign-static.
23217         (modules-names): Add tst-tlsalign-lib.
23218         (test-xfail-tst-tlsalign): New variable.
23219         (test-xfail-tst-tlsalign-static): New variable.
23221         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23222         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23224 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23226         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23227         csqrt, erfc, sin and sincos.
23228         * math/auto-libm-test-out: Regenerated.
23229         * sysdeps/i386/fpu/libm-test-ulps: Update.
23230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23232 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23234         * sysdeps/aarch64/libm-test-ulps: Update.
23236 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23238         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23239         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23240         * math/auto-libm-test-out: Regenerated.
23241         * sysdeps/i386/fpu/libm-test-ulps: Update.
23242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23244 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23246         [BZ #18265]
23247         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23248         (wcsncpy): Likewise.
23250 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23252         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23253         Assume __ASSUME_FALLOCATE is always true.
23254         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23255         (__posix_fallocate64_l64): Likweise.
23256         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23257         (posix_fallocate): Likewise.
23258         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23259         (__posix_fallocate64_l64): Likewise.
23260         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23261         [!__ASSUME_FALLOCATE]: Add comment.
23263 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23265         * sysdeps/unix/sysv/linux/i386/Makefile
23266         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23267         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23268         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23269         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23270         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23271         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23272         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23274 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23276         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23277         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23278         tgamma.
23279         * math/auto-libm-test-out: Regenerated.
23280         * sysdeps/i386/fpu/libm-test-ulps: Update.
23281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23283 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23285         * math/auto-libm-test-in: Add more tests of tgamma.
23286         * math/auto-libm-test-out: Regenerated.
23287         * sysdeps/i386/fpu/libm-test-ulps: Update.
23288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23290         * math/auto-libm-test-in: Add more tests of tanh.
23291         * math/auto-libm-test-out: Regenerated.
23292         * sysdeps/i386/fpu/libm-test-ulps: Update.
23293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23295         * math/auto-libm-test-in: Add more tests of tan.
23296         * math/auto-libm-test-out: Regenerated.
23297         * sysdeps/i386/fpu/libm-test-ulps: Update.
23298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23300         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23301         * math/auto-libm-test-out: Regenerated.
23302         * sysdeps/i386/fpu/libm-test-ulps: Update.
23303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23305         * math/auto-libm-test-in: Add another test of pow.
23306         * math/auto-libm-test-out: Regenerated.
23307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23309         * math/auto-libm-test-in: Add more tests of lgamma.
23310         * math/auto-libm-test-out: Regenerated.
23311         * sysdeps/i386/fpu/libm-test-ulps: Update.
23312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23315         log1p.
23316         * math/auto-libm-test-out: Regenerated.
23317         * sysdeps/i386/fpu/libm-test-ulps: Update.
23318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23320 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23322         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23323         Elf64_Chdr structs and ELFCOMPRESS constants.
23325 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23327         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23328         expm1.
23329         * math/auto-libm-test-out: Regenerated.
23330         * sysdeps/i386/fpu/libm-test-ulps: Update.
23331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23333         * math/auto-libm-test-in: Add more tests of erf and erfc.
23334         * math/auto-libm-test-out: Regenerated.
23335         * sysdeps/i386/fpu/libm-test-ulps: Update.
23336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23338 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23340         * config.h.in (HAVE_AARCH64_BE): Add.
23342 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23344         * math/auto-libm-test-in: Add more tests of csqrt.
23345         * math/auto-libm-test-out: Regenerated.
23346         * sysdeps/i386/fpu/libm-test-ulps: Update.
23347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23349         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23350         * math/auto-libm-test-out: Regenerated.
23351         * sysdeps/i386/fpu/libm-test-ulps: Update.
23352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23354         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23356 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23358         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23359         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23361         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23362         (euidaccess, eaccess): Define as weak aliases.
23364         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23365         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23366         but __suseconds_t is often 'long int' so some sources assume that
23367         type is being used (e.g. they use %ld to print tv_usec).
23369 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23371         [BZ #18007]
23372         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23373         (CVE-2014-8121)
23374         * nss/tst-nss-getpwent.c: New file.
23375         * nss/Makefile (tests): Add new test.
23377 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23379         [BZ #18346]
23380         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23381         exponents less than 48 as cases where high part of mantissa needs
23382         examining to determine whether argument is integral.
23383         * math/libm-test.inc (round_test_data): Add more tests.
23385 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23387         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23389 2015-04-27  David S. Miller  <davem@davemloft.net>
23391         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23392         __tls_get_addr.
23393         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23395 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23397         [BZ#18333]
23398         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23400 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23402         [BZ#18333]
23403         * time/tzset.c (parse_tzname): Return error on memory allocation
23404         failure.
23405         * test-skeleton.c (struct temp_name_list): Change type of name
23406         member to non-const.
23407         (add_temp_file): Create a copy of the file name.
23408         (delete_temp_files): Deallocate memory.
23409         (create_temp_file): Add comment.
23411 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23413         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23414         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23416 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23418         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23419         * sysdeps/arm/configure: Regenerated.
23421 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23423         [BZ #17715]
23424         * time/tzfile.c (__tzfile_read): Check for large values of
23425         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23426         * time/tzset.c (__tzstring_len): New function, based on the old
23427         __tzstring function.
23428         (__tzstring): Call __tzstring_len.
23429         (parse_tzname): New helper function extracted from
23430         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23431         the input string.
23432         (parse_offset): New helper function extracted from
23433         __tzset_parse_tz.  Replace switch with fallthrough with
23434         initialization before sscanf.
23435         (parse_rule): Likewise.
23436         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23437         new-style function definition.
23438         * timezone/Makefile (tests): Add tst-tzset.
23439         (tst-tzset.out): Dependencies on time zone files.
23440         (tst-tzset-ENV): Set TZDIR.
23441         (testdata/XT%): Copy crafted time zone files.
23442         * timezone/README: Mention crafted time zone files.
23443         * timezone/testdata/XT1, timezone/testdata/XT2,
23444         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23445         files.
23446         * timezone/tst-tzset.c: New test.
23448 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23450         * Makeconfig (+gccwarn): Remove -Winline.
23452 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23454         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23456 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23458         * NEWS: Mention sysconf() cache information support for s390.
23459         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23461 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23463         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23464         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23465         (__nearbyint): Likewise.
23466         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23467         (copysignl): Likewise.
23469 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23471         [BZ #18287]
23472         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23473         based on padding.  (CVE-2015-1781)
23475 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23477         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23478         libc-vdso.h.
23479         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23480         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23481         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23482         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23483         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23484         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23486         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23487         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23488         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23489         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23490         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23491         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23492         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23493         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23494         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23495         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23497         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23498         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23499         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23500         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23501         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23503 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23505         * stdlib/setenv.c (__add_to_environ):
23506         Dump core quickly if setenv (..., NULL, ...) is called.
23507         This time, do it the right way, and pacify GCC with a pragma.
23509 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23511         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23512         IMAP->l_prev cannot be null, and #if out the code for the contrary
23513         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23514         believe that NS (&_dl_ns[NSID]) could point outside the array.
23516         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23517         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23518         before using NSID as an index.
23520 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23522         [BZ #17825]
23523         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23524         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23525         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23527 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23529         Add preliminary port to Google Native Client on ARM.
23530         * abi-tags (.*-.*-nacl.*): New entry.
23531         * sysdeps/arm/nacl: New directory.
23532         * sysdeps/nacl: New directory.
23534 2015-04-16  David S. Miller  <davem@davemloft.net>
23536         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23537         lowlevellock-futex.h
23539 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23541         * sysdeps/tile/configure.ac: New file.
23542         * sysdeps/tile/configure: Regenerated.
23544 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23546         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23547         conditionals for weak_alias and libc_hidden_weak.
23548         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23549         libc_hidden_weak and weak_alias.
23550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23551         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23552         and weak_alias for static one.
23554 2015-04-15  David S. Miller  <davem@davemloft.net>
23556         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23558 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23560         [BZ #18206]
23561         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23562           Use signed comparision instead of substraction to avoid
23563           overflow bug.
23564         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23565           Take the sign of ret.
23566         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23567           Do not expect precise return values. Only the sign matters.
23568         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23569         * wcsmbs/test-wcsncmp.c: New File.
23570         * string/test-strncmp.c: Add wcsncmp support.
23572 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23574         [BZ #6792]
23575         * math/w_log1p.c: New file.
23576         * math/w_log1pf.c: Likewise.
23577         * math/w_log1pl.c: Likewise.
23578         * math/Makefile (libm-calls): Add w_log1p.
23579         * math/s_log1pl.c (log1pl): Remove weak_alias.
23580         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23581         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23582         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23583         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23584         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23585         [NO_LONG_DOUBLE] (log1pl): Likewise.
23586         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23588         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23589         (log1p): Remove long_double_symbol.
23590         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23591         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23592         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23593         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23594         remove weak_alias for corresponding log1p function.
23595         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23596         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23597         * sysdeps/ia64/fpu/w_log1p.c: New file.
23598         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23599         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23600         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23602 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23604         [BZ #18247]
23605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23606         decimal exponent by 1.
23607         * stdlib/tst-strtod-round-data: Add more tests.
23608         * stdlib/tst-strtod-round.c (tests): Regenerated.
23610 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23612         * math/auto-libm-test-in: Add more tests of clog and clog10.
23613         * math/auto-libm-test-out: Regenerated.
23614         * sysdeps/i386/fpu/libm-test-ulps: Update.
23615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23617 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23619         * Makeconfig (module-cppflags): Exclude all .v.i files.
23620         (skip-module-cppflags): Variable removed.
23622         * configure.ac (libc_config_ok): Initialize before reading
23623         preconfigure scripts, not after.
23624         * configure: Regenerated.
23626         * test-skeleton.c (TIMEOUT): Move #define to top level.
23627         (main): Grok environment variable TEST_DIRECT.  If set, print
23628         test expectation details into that file and then behave as if
23629         given --direct.
23631 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23633         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23634         warning on 32-bit.
23636 2015-04-08  David S. Miller  <davem@davemloft.net>
23638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23640 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23642         * math/auto-libm-test-in: Add more tests of atanh.
23643         * math/auto-libm-test-out: Regenerated.
23644         * sysdeps/i386/fpu/libm-test-ulps: Update.
23645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23647         * math/auto-libm-test-in: Add more tests of atan.
23648         * math/auto-libm-test-out: Regenerated.
23649         * sysdeps/i386/fpu/libm-test-ulps: Update.
23650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23652 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23654         * elf/pldd.c (main): Rewrite to use struct
23655         scratch_buffer instead of extend_alloca.
23656         * elf/pldd-xx.c (find_maps): Likewise.
23657         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23658         <alloca.h>.
23659         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23660         scratch_buffer instead of extend_alloca.
23661         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23662         grp/compat-initgroups.c.
23663         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23664         Rewrite to use struct scratch_buffer instead of extend_alloca.
23665         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23666         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23668 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23670         * math/auto-libm-test-in: Add more tests of cbrt.
23671         * math/auto-libm-test-out: Regenerated.
23672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23674         * math/auto-libm-test-in: Add more tests of cabs.
23675         * math/auto-libm-test-out: Regenerated.
23676         * sysdeps/i386/fpu/libm-test-ulps: Update.
23677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23679         [BZ #18210]
23680         [BZ #18211]
23681         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23682         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23683         computations.
23684         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23685         clog10.
23686         * math/auto-libm-test-out: Regenerated.
23687         * sysdeps/i386/fpu/libm-test-ulps: Update.
23688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23690         [BZ #18197]
23691         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23692         (atan): Set FE_TONEAREST mode for internal computations.
23693         * math/auto-libm-test-in: Add more tests of atan.
23694         * math/auto-libm-test-out: Regenerated.
23696 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23698         [BZ #17930]
23699         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23701 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23703         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23705 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23707         * include/scratch_buffer.h: New file.
23708         * malloc/scratch_buffer_grow.c: Likewise.
23709         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23710         * malloc/scratch_buffer_set_array_size.c: Likewise.
23711         * malloc/tst-scratch_buffer.c: Likewise.
23712         * malloc/Makefile (routines): Add scratch_buffer_grow.
23713         (tests): Add test case.
23714         * malloc/Versions (GLIBC_PRIVATE): Export
23715         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23716         __libc_scratch_buffer_set_array_size.
23718 2015-04-06  Richard Henderson  <rth@redhat.com>
23720         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23721         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23723         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23724         unsigned int before printing.
23726 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23728         [BZ #17596]
23729         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23730         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23732 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23734         * include/libc-internal.h (libc_max_align_t): Define.
23736 2015-04-02  Andreas Schwab  <schwab@suse.de>
23738         [BZ #16850]
23739         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23741 2015-04-02  Mel Gorman  <mgorman@suse.de>
23743         [BZ #17195]
23744         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23745         as well as the main arena.
23747 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23749         [BZ #18185]
23750         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23751         sharing L2 cache to 2 for Silvermont/Knights Landing.
23753 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23755         [BZ #17711]
23756         * config.make.in (have-protected-data): New.
23757         * configure.ac: Check linker support for protected data symbol.
23758         * configure: Regenerated.
23759         * elf/Makefile (modules-names): Add tst-protected1moda and
23760         tst-protected1modb if $(have-protected-data) is yes.
23761         (tests): Add tst-protected1a and tst-protected1b if
23762         $(have-protected-data) is yes.
23763         ($(objpfx)tst-protected1a): New.
23764         ($(objpfx)tst-protected1b): Likewise.
23765         (tst-protected1modb.so-no-z-defs): Likewise.
23766         * elf/tst-protected1a.c: New file.
23767         * elf/tst-protected1b.c: Likewise.
23768         * elf/tst-protected1mod.h: Likewise.
23769         * elf/tst-protected1moda.c: Likewise.
23770         * elf/tst-protected1modb.c: Likewise.
23772 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23774         [BZ #17711]
23775         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23776         indicates it is called from do_lookup_x on relocation against
23777         protected data, skip the data definion in the executable from
23778         copy reloc.
23779         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23780         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23781         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23782         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23783         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23784         otherwise to 0.
23785         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23786         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23787         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23788         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23789         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23790         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23792 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23794         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23795         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23797 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23799         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23800         THREAD_SETMEM_NC.
23801         * sysdeps/x86_64/nptl/tls.h: Ditto.
23803 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23805         * dlfcn/tststatic.c (main): Converted to ...
23806         (do_test): ... this.
23807         (TEST_FUNCTION): New macro.
23808         Include test-skeleton.c.
23810 2015-03-26  Alan Modra  <amodra@gmail.com>
23812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23813         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23814         zero for undefined weak.
23815         (elf_machine_plt_conflict): Similarly.
23817 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23819         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23820         atanh.
23821         * math/auto-libm-test-out: Regenerated.
23822         * sysdeps/i386/fpu/libm-test-ulps: Update.
23823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23825         * math/auto-libm-test-in: Add another test of asin.
23826         * math/auto-libm-test-out: Regenerated.
23827         * sysdeps/i386/fpu/libm-test-ulps: Update.
23828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23830         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23831         Remove macro.
23832         (LLL_EBX_REG): Likewise.
23833         (LLL_ENTER_KERNEL): Likewise.
23835         * math/auto-libm-test-in: Add more tests of asin.
23836         * math/auto-libm-test-out: Regenerated.
23837         * sysdeps/i386/fpu/libm-test-ulps: Update.
23838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23840         [BZ #18138]
23841         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23842         libc_do_syscall_args): New structure.
23843         (INTERNAL_SYSCALL_MAIN_0): New macro.
23844         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23845         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23846         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23847         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23848         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23849         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23850         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23851         Replace conditional definitions by conditional definitions of ....
23852         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23853         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23854         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23855         (libpthread-sysdep_routines): Add libc-do-syscall.
23856         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23858         to __NR_futex not 240.
23860 2015-03-25  Alan Modra  <amodra@gmail.com>
23862         * NEWS: Advertise TLS optimization.
23863         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23864         (DT_PPC_NUM): Increment.
23865         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23866         (CHECK_STATIC_TLS): Use here.
23867         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23868         TLS descriptors.
23869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23870         * sysdeps/powerpc/dl-tls.c: New file.
23871         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23872         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23873         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23874         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23879 2015-03-25  Alan Modra  <amodra@gmail.com>
23881         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23882         for overlapping .opd entries" to "support...".
23883         * sysdeps/powerpc/powerpc64/configure: Regenerate
23885 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23887         * math/auto-libm-test-in: Add more tests of acos.
23888         * math/auto-libm-test-out: Regenerated.
23889         * sysdeps/i386/fpu/libm-test-ulps: Update.
23890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23892         * math/auto-libm-test-in: Add more tests of expm1.
23893         * math/auto-libm-test-out: Regenerated.
23894         * sysdeps/i386/fpu/libm-test-ulps: Update.
23895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23897 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23899         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23900         * math/auto-libm-test-out: Regenerated.
23901         * sysdeps/i386/fpu/libm-test-ulps: Update.
23902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23904         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23907         * math/auto-libm-test-in: Add more tests of log2.
23908         * math/auto-libm-test-out: Regenerated.
23909         * sysdeps/i386/fpu/libm-test-ulps: Update.
23910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23912 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23914         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23915         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23916         _IO_IS_APPENDING bit in READ_WRITE instead.
23918 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23920         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23921         (__determine_cpumask_size): Replace extend_alloca with a
23922         variable-length array.  Do not treat res == 0 as an error.
23924 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23926         [BZ #18100]
23927         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23928         and integer overflow.
23929         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23930         (main): Add integer overflow tests.
23931         * manual/pattern.texi (Calling Wordexp): Document additional use
23932         for WRDE_SYNTAX.
23934 2015-03-23  Alan Modra  <amodra@gmail.com>
23936         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23937         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23938         and false branch of conditional.
23939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23940         Likewise.
23942 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23944         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23945         libc-modules.h
23946         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23947         unused declaration of _hurd_intr_rpc_msg_in_trap.
23948         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23949         defined instead of whether it is non-zero.
23950         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23951         input constraint instead of both input and output constraint.  Use ecx
23952         clobber instead of %ecx.
23953         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23954         mutex_unlock): Use a statement expression instead of an expression list.
23955         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23956         type to vm_size_t instead of vm_address_t.
23957         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23958         defined instead of whether it is non-zero.
23959         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23960         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23961         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23962         comparisons with mapaddr.
23963         * nscd/nscd-client.h: Include <time.h>.
23964         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23965         9th parameter to __vm_region instead of int.
23966         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23967         * scripts/check-local-headers.sh (exclude): Add device/,
23968         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23969         cthreads.h.
23971 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23973         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23974         to account for alignment padding.
23975         * sysdeps/arm/memmove.S: Likewise.
23977 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23979         * sysdeps/unix/sysv/linux/generic/README: New file.
23981 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #18138]
23984         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23985         (futex_abstimed_wait)
23986         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23987         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23988         of lll_futex_timed_wait.
23990 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23992         [BZ #17542]
23993         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23995 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23997         [BZ #17090]
23998         [BZ #17620]
23999         [BZ #17621]
24000         [BZ #17628]
24001         * NEWS: Update.
24002         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24003         entries with Static TLS too.  Skip entries past the end of the
24004         allocated DTV, from Alan Modra.
24005         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24006         Static TLS DTV entry set up from...
24007         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24008         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24009         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24010         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24011         for Static TLS.
24012         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24013         that the slot we find is associated with the given map before
24014         using its generation count.
24015         * nptl_db/db_info.c: Include ldsodefs.h.
24016         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24017         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24018         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24019         (link_map::l_tls_offset): New struct field.
24020         (dtv_t::counter): Likewise.
24021         (rtld_global): New struct.
24022         (_rtld_global): New rtld variable.
24023         (dl_tls_dtv_slotinfo_list): New rtld global field.
24024         (dtv_slotinfo_list): New struct.
24025         (dtv_slotinfo): Likewise.
24026         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24027         (td_lookup): Rename to...
24028         (td_mod_lookup): ... this.  Use new mod parameter instead of
24029         LIBPTHREAD_SO.
24030         * nptl_db/td_thr_tlsbase.c: Include link.h.
24031         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24032         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24033         addresses even if the DTV is out of date or missing them.
24034         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24035         index zero-length arrays.
24036         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24037         (td_lookup): Make it a macro implemented in terms of...
24038         (td_mod_lookup): ... this declaration.
24039         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24040         (DB_MAIN_VARIABLE): Likewise.
24042 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24044         [BZ #18134]
24045         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24047 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24049         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24051 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24053         [BZ #18128]
24054         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24055         (atomic_add, atomic_increment_and_test)
24056         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24058 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24060         * stdlib/setenv.c (__add_to_environ):
24061         Dump core quickly if setenv (..., NULL, ...) is called.
24063 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24065         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24066         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24067         all the necessary asm magic in one place.
24068         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24069         using those.
24071 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24073         [BZ #14906]
24074         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24075         traced file mtime. Use consistent log message.
24076         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24077         (register_traced_file): Call install_watches. Always set mtime.
24078         (invalidate_cache): Iterate over all trace files. Call install_watches.
24079         (inotify_check_files): Don't inline. Handle watching parent
24080         directories and configuration file movement in and out.
24081         (handle_inotify_events): New function.
24082         (main_loop_poll): Call handle_inotify_events.
24083         (main_loop_epoll): Likewise.
24084         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24085         (struct traced_file): Use array of inotify fds. Add parent directory,
24086         and basename.
24087         (struct database_dyn): Remove unused file_mtime.
24088         (init_traced_file): New inline function.
24089         (define_traced_file): New macro.
24090         * nss/nss_db/db-init.c: Use define_traced_file.
24091         (_nss_db_init): Use init_traced_file.
24092         * nss/nss_files/files-init.c: Use define_traced_file.
24093         (_nss_files_init): Use init_traced_file.
24095 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24097         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24098         [_LIBC]: Do not include <stdlib.h>.
24099         [!_LIBC] (abort): Remove declaration.
24100         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24101         _FP_STATIC_ASSERT instead of conditionally calling abort.
24102         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24103         (_FP_EXTEND_CNAN): Likewise.
24104         (FP_TRUNC): Likewise.
24105         (__FP_CLZ): Likewise.
24106         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24108 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24110         * manual/string.texi (XPG basename): Fix prototype.
24112 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24114         [BZ #18080]
24115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24116         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24117         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24118         (__setcontext): Likewise.
24119         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24120         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24121         Call rt_sigprocmask syscall one time to set new signal mask
24122         and retrieve the current signal mask instead of two calls.
24123         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24124         (__swapcontext): Likewise.
24125         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24126         * stdlib/tst-setcontext2.c: New file.
24128 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24130         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24132 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24134         [BZ #18093]
24135         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24136         the wrong size.
24138 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24140         [BZ #18043]
24141         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24143 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24145         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24146         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24147         Remove define.
24148         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24149         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24150         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24151         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24152         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24153         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24154         define.
24155         * nptl_db/td_symbol_list.c (td_lookup): Remove
24156         HAVE_ASM_GLOBAL_DOT_NAME code.
24157         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24158         HAVE_ASM_GLOBAL_DOT_NAME check.
24159         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24160         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24161         (DOT_LABEL): Remove define.
24162         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24163         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24164         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24165         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24166         (__TLS_GET_ADDR): Likewise.
24167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24168         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24170 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24172         [BZ #18111]
24173         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24174         (_FPU_SETCW): Initialize cw from fpsr before storing.
24175         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24176         (fesetexceptflag): Rewrite using fpu_control.h.
24177         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24179 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24181         [BZ #18110]
24182         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24183         asms.
24184         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24186 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24188         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24189         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24190         abort.
24191         (_FP_FMA): Likewise.
24192         (_FP_DIV): Likewise.
24194 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24196         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24197         with 0 in that case.
24198         * Makefile (summarize-tests): New canned sequence, factored out of
24199         commands for targets tests and xtests.  Display summary lines that
24200         don't start with PASS: or XFAIL: rather than ones that do start with
24201         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24202         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24203         do start with ERROR: or FAIL:.
24204         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24205         (except for [$(build-shared) = yes]).
24206         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24207         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24208         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24209         * nptl/Makefile: Revert 2015-03-04 changes.
24210         [$(CXX) empty] (tests-unsupported): New variable.
24211         * debug/Makefile: Likewise.
24213         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24214         gnulib file.  Replace __attribute with __attribute__ throughout.
24216 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24218         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24220 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24222         [BZ #18104]
24223         * math/auto-libm-test-in: Add another test of pow.
24224         * math/auto-libm-test-out: Regenerated.
24226 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24228         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24229         $(config-cflags-nofma).
24231 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24233         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24234         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24235         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24236         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24237         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24238         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24239         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24240         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24241         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24242         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24243         Add comment on closing #endif.
24245 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24247         * posix/wordexp.c (CHAR_IN_SET): New macro.
24248         (parse_param): Use it.
24250 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24252         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24254 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24256         [BZ #18043]
24257         * posix/wordexp.c (parse_param): Fix buffer overflow.
24258         * posix/wordexp-test.c (test_case): Add test case.
24260 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24262         [BZ #18042]
24263         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24264         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24266 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24268         [BZ #18043]
24269         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24270         (do_bz18043): Delete.
24271         (at_page_end): New.
24272         (testit): Refactor to have words at the edge of unreadable page.
24274 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24276         [BZ #16734]
24277         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24278         Cleanup read-only streams as well.
24279         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24281 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24283         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24284         <bits/libc-lockP.h>
24286 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24288         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24289         on [__KERNEL__].
24290         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24291         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24292         * soft-fp/op-common.h (_FP_DECL): Likewise.
24294 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24296         * elf/ifuncdep2.c (global): Replace
24297         __attribute__((visibility("protected"))) with
24298         asm (".protected global").
24299         * elf/ifuncmod1.c (global): Likewise.
24300         * elf/ifuncmod5.c (global): Likewise.
24302 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24304         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24305         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24307 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24309         * manual/install.texi (Configuring and compiling):
24310         Document test-wrapper-env-only.
24311         * INSTALL: Regenerated.
24313 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24315         [BZ #18043]
24316         * posix/wordexp.c (parse_param): Fix buffer overflow.
24317         * posix/wordexp-test.c (do_bz18043): Add test case.
24319 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24321         * time/tst-strptime2.c (do_test): Ensure failing tests are
24322         reported correctly.
24323         * time/tst-strptime3.c (do_test): Likewise.
24325 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24327         Fix aio_error thread-safety.
24328         * sysdeps/pthread/aio_error.c: New file
24329         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24330         synchronization.
24332 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24334         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24335         (group_number, vfprintf): Use it.
24336         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24337         (JUMP, REF): Use it.
24338         (WORK_BUFFER_SIZE): New enum constant.
24339         (process_arg, vfprintf): Use it.
24341 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24343         * manual/errno.texi (Error Messages): Complete example function
24344         by adding missing #define.
24345         (program_invocation_name): Add statement indicating GNU
24346         extension and reference which header file declares the variable.
24347         (program_invocation_short_name): Likewise.
24349 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24351         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24352         compatibility note.
24354 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24356         * Makeconfig (test-wrapper-env-only): New variable.
24357         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24358         then use that with $(test-wrapper-env-only) rather than using
24359         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24361 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24363         [BZ #18082]
24364         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24365         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24366         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24367         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24368         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24369         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24370         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24371         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24372         Likewise.
24373         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24374         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24375         Likewise.
24376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24377         Likewise.
24378         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24379         Likewise.
24380         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24381         Likewise.
24382         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24384         Likewise.
24385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24386         Likewise.
24387         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24388         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24390 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24392         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24393         (ETH_ALEN): New macro.
24394         (struct ether_addr): Use it for length of ether_addr_octet.
24396         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24397         (setdb): Don't call __nss_configure_lookup for "rpc".
24398         (do_test): Don't call test_rpc.
24399         (output_rpcent, test_rpc): Functions moved ...
24400         * sunrpc/test-rpcent.c: ... to this new file.
24401         * sunrpc/Makefile (tests): Add it.
24403         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24404         __xpg_sigpause.
24405         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24406         * nptl/tst-signal6.c: Likewise.
24407         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24408         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24410         * configure.ac (libc_cv_cxx_link_ok): New check.
24411         Reset CXX to empty if it fails to link.
24412         * configure: Regenerated.
24413         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24414         bug-atexit3-lib only if $(CXX) is nonempty.
24415         * nptl/Makefile (tests): Likewise for tst-cancel24.
24416         (tests, tests-static): Likewise for tst-cancel24-static.
24417         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24418         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24419         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24420         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24422 2015-03-04  Andreas Schwab  <schwab@suse.de>
24424         [BZ #17631]
24425         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24426         for non-GCC compilers.
24427         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24428         Likewise.
24430 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24432         [BZ #17776]
24433         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24434         integer before bitwise and assembly operations.
24435         (feclearexcept): Likewise.
24436         * math/test-fenvinline.c: New file.
24437         * math/Makefile: Add test-fenvinline test.
24439 2015-03-03  Alan Modra  <amodra@gmail.com>
24441         [BZ #16512]
24442         * scripts/localplt.awk: Strip off symbol version.
24443         * NEWS: Mention bug fix.
24445 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24447         * sysdeps/pthread/timer_routines.c
24448         (timer_free_list, thread_free_list, thread_active_list): Make static.
24450 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24452         [BZ #17779]
24453         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24454         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24455         Undefine.
24456         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24457         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24458         Likewise.
24459         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24460         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24461         Likewise.
24463 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24465         [BZ #18036]
24466         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24467         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24469 2015-03-02  Andreas Schwab  <schwab@suse.de>
24471         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24472         variable name.
24474 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24476         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24477         Return error status.
24479 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24481         [BZ #15969]
24482         * locale/findlocale.c (_nl_find_locale): Introduce const
24483         version of loc_name and drop unsafe type casts.
24485 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24487         * dlfcn/tststatic2.c (main): Converted to ...
24488         (do_test): ... this.
24489         (TEST_FUNCTION): New macro.
24490         Include test-skeleton.c.
24492 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24494         [BZ #17711]
24495         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24496         (tests-pie): Add vismain.
24497         (CFLAGS-vismain.c): New.
24498         * elf/vismain.c: Add comments for PIE requirement.
24500 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24502         [BZ #18046]
24503         [BZ #18047]
24504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24505         0x1p-56L as threshold for just returning the argument.
24506         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24507         0x1p-32L as threshold for just returning the argument.
24508         * math/auto-libm-test-in: Add more tests of atanh.
24509         * math/auto-libm-test-out: Regenerated.
24510         * sysdeps/i386/fpu/libm-test-ulps: Update.
24511         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24513 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24515         * string/bcopy.c (bcopy): Call memmove for performance.
24517 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24519         * string/bzero.c (__bzero): Call memset for performance.
24521 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24523         [BZ #18068]
24524         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24525         to 00100000.
24527 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24529         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24531 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24533         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24534         (__kernel_standard): Use CSTR macro when setting exc.name.
24535         * sysdeps/ieee754/Makefile [$(subdir) = math]
24536         (CFLAGS-k_standard.c): Remove variable.
24538         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24539         setting p and q from "else if" to "else".
24540         (qzero): Likewise.
24541         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24542         (qone): Likewise.
24543         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24544         (qzerof): Likewise.
24545         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24546         (qonef): Likewise.
24547         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24548         (qzero): Likewise.
24549         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24550         (qone): Likewise.
24552         [BZ #18038]
24553         [BZ #18039]
24554         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24555         return pi/2 for arguments below 0x1p-113L.
24556         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24557         return pi/2 for arguments below 0x1p-106L.
24558         * math/auto-libm-test-in: Add more tests of acos.
24559         * math/auto-libm-test-out: Regenerated.
24561         [BZ #16351]
24562         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24563         (MO): New macro.
24564         (__ieee754_asin): Force underflow exception for results with small
24565         absolute value.
24566         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24567         (MO): New macro.
24568         (__ieee754_asinf): Force underflow exception for results with
24569         small absolute value.
24570         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24571         (__ieee754_asin): Force underflow exception for results with small
24572         absolute value.
24573         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24574         (__ieee754_asinf): Force underflow exception for results with
24575         small absolute value.
24576         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24577         (__ieee754_asinl): Force underflow exception for results with
24578         small absolute value.
24579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24580         (__ieee754_asinl): Force underflow exception for results with
24581         small absolute value.
24582         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24583         (__ieee754_asinl): Force underflow exception for results with
24584         small absolute value.
24585         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24586         Include <math.h>.
24587         * math/auto-libm-test-in: Do not mark underflow exceptions as
24588         possibly missing for bug 16351.
24589         * math/auto-libm-test-out: Regenerated.
24591         [BZ #18030]
24592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24593         of power of 2 down when low part has opposite sign.
24594         * math/libm-test.inc (logb_test_data): Add more tests.
24596 2015-02-26  Andreas Schwab  <schwab@suse.de>
24598         [BZ #18032]
24599         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24600         over collating symbol inside a bracket expression.  Minor cleanup.
24601         * posix/tst-fnmatch3.c (do_test): Add test case.
24603 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24605         [BZ #18029]
24606         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24607         Adjust exponent of power of 2 down when low part has opposite
24608         sign.
24609         * math/libm-test.inc (ilogb_test_data): Add more tests.
24611 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24613         [BZ #15969]
24614         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24615         the previous change.
24617         [BZ #15969]
24618         * locale/findlocale.c (_nl_find_locale): Retry archive search
24619         after alias expansion.
24621 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24623         * iconv/tst-iconv3.c (main): Converted to ...
24624         (do_test): ... this.
24625         (TEST_FUNCTION): New macro.
24626         Include test-skeleton.c.
24628         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24629         (convert): Make function static.
24630         (test_unalign): Likewise.  Add const to argument pointee types.
24631         (main): Replace with static function do_test.
24632         Print "Succeeded." only if RET is zero.
24633         (TEST_FUNCTION): New macro.
24634         Include test-skeleton.c.
24636         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24637         returns a null pointer.
24639 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24641         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24642         to __memcpy_ppc only for static builds.
24644 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24646         [BZ #18020]
24647         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24648         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24649         * math/auto-libm-test-in: Add more tests of asinh.
24650         * math/auto-libm-test-out: Regenerated.
24651         * sysdeps/i386/fpu/libm-test-ulps: Update.
24652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24654 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24656         [BZ #15850]
24657         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24658         and ip6_mtuinfo definitions here.
24659         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24660         in this define too.  Update comment.
24662 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24664         * elf/sprof.c (load_shobj): Tweak error message to match others.
24666 2015-02-24  Kevin Easton  <kevin@guarana.org>
24668         [BZ #16145] (partial fix)
24669         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24670         to reduce lock contention.
24672 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24674         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24675         (struct timex): Update time comment.
24676         (ADJ_SETOFFSET): Define.
24678 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24680         [BZ #18019]
24681         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24682         2**56 not 2**28 as threshold for log (2x) formula.
24683         * math/auto-libm-test-in: Add more tests of acosh.
24684         * math/auto-libm-test-out: Regenerated.
24685         * sysdeps/i386/fpu/libm-test-ulps: Update.
24686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24688 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24690         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24691         parenthesis around the buf assignment.
24692         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24694 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24696         [BZ #16783]
24697         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24698         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24699         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24700         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24701         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24702         * math/libm-test.inc (scalb_test_data): Add more tests.
24704 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24706         [BZ #17916]
24707         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24708         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24710 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24712         [BZ #17523]
24713         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24714         * io/bits/fcntl2.h (open): Use it.
24715         (openat): Likewise.
24716         * io/open.c (__libc_open): Likewise.
24717         * io/open64.c (__libc_open64): Likewise.
24718         * io/open64_2.c (__open64_2): Likewise.
24719         * io/open_2.c (__open_2): Likewise.
24720         * io/openat.c (__openat): Likewise.
24721         * io/openat64.c (__openat64): Likewise.
24722         * io/openat64_2.c (__openat64_2): Likewise.
24723         * io/openat_2.c (__openat_2): Likewise.
24724         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24725         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24726         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24727         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24728         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24729         (__open_nocancel): Likewise.
24730         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24731         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24732         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24734 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24736         [BZ #14841]
24737         * resolv/gethnamaddr.c (getanswer): Skip logging if
24738         RES_USE_DNSSEC is set.
24739         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24741 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24743         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24745 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24747         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24748         201304L, for Unicode 7.
24750 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24752         [BZ #17836]
24753         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24754         shared library.  Add gmon-start.os otherwise.
24755         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24756         $(objpfx)gmon-start.os if builing shared library.
24757         ($(objpfx)g$(static-start-installed-name)): Likewise.
24759 2015-02-23  Andreas Schwab  <schwab@suse.de>
24761         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24763 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24765         [BZ #17269]
24766         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24767         (enlarge_userbuf): Likewise.
24769 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24771         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24772         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24773         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24774         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24776 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24778         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24779         expression inside statement expression.
24781 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24783         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24784         <sysdeps/nptl/lowlevellock.h> and remove macros and
24785         functions that are now defined there.
24786         (SYS_futex): Remove.
24787         (lll_compare_and_swap): Remove.
24788         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24790 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24792         [BZ #17999]
24793         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24794         instead of scandirat.
24795         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24796         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24797         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24798         __scandirat.
24799         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24800         (__scandirat): Declare.  Use libc_hidden_proto.
24801         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24802         Remove variable.
24803         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24805 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24807         [BZ #15319]
24808         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24809         (MO): New macro.
24810         (__ieee754_atan2): For results with small absolute value, force
24811         underflow exception and remove excess range and precision from
24812         return value.
24813         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24814         (MO): New macro.
24815         (__ieee754_atan2f): For results with small absolute value, force
24816         underflow exception and remove excess range and precision from
24817         return value.
24818         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24819         (MO): New macro.
24820         (__atan): For results with small absolute value, force underflow
24821         exception and remove excess range and precision from return value.
24822         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24823         (MO): New macro.
24824         (__atanf): For results with small absolute value, force underflow
24825         exception and remove excess range and precision from return value.
24826         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24827         <math.h>.
24828         (__ieee754_atan2): Force underflow exception for results with
24829         small absolute value.
24830         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24831         <math_private.h>.
24832         (atan): Force underflow exception for results with small absolute
24833         value.
24834         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24835         (__atanf): Force underflow exception for results with small
24836         absolute value.
24837         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24838         <math.h>.
24839         (__atanl): Force underflow exception for results with small
24840         absolute value.
24841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24842         (__atanl): Force underflow exception for results with small
24843         absolute value.
24844         * sysdeps/x86/fpu/bits/mathinline.h
24845         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24846         (__ieee754_atan2): Only define inline for long double.
24847         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24848         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24849         * math/auto-libm-test-in: Do not mark underflow exceptions as
24850         possibly missing for bug 15319.  Add more tests of atan2.
24851         * math/auto-libm-test-out: Regenerated.
24852         * math/libm-test.inc (casin_test_data): Do not mark underflow
24853         exceptions as possibly missing for bug 15319.
24854         (casinh_test_data): Likewise.
24855         * sysdeps/i386/fpu/libm-test-ulps: Update.
24857 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24859         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24860         * sysdeps/mips/bits/endian.h: Fix comments.
24862 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24864         [BZ #17996]
24865         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24866         (hdestroy_r): Likewise.
24867         (hsearch_r): Likewise.
24868         (__hcreate_r): Declare and use libc_hidden_proto.
24869         (__hdestroy_r): Likewise.
24870         (__hsearch_r): Likewise.
24871         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24872         (hcreate): Call __hcreate_r instead of hcreate_r.
24873         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24874         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24875         as weak alias of __hcreate_r.
24876         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24877         __hdestroy_r.
24878         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24879         __hsearch_r.
24880         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24881         Remove variable.
24882         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24883         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24884         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24885         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24887 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24889         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24890         arena_lock into a single arena_get.
24892 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24894         * dl-reloc.c: Inlucde libc-internal.h.
24895         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24896         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24897         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24898         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24899         (grow_heap): Likewise.
24900         * malloc/malloc.c: Include libc-internal.h.
24901         (do_check_malloc): Call powerof2.
24902         (sysmalloc): Use pagesize. Call ALIGN_UP.
24903         (systrim): Use pagesize.
24904         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24905         (__libc_valloc): Use pagesize.
24906         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24908 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24910         [BZ #17991]
24911         * include/sys/resource.h (__getrlimit64): Declare.  Use
24912         libc_hidden_proto.
24913         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24914         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24915         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24916         getrlimit64.
24917         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24918         __getrlimit64.
24919         [!getrlimit64] (getrlimit64): Define as weak alias of
24920         __getrlimit64.  Use libc_hidden_weak.
24921         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24922         using __getrlimit64 not __new_getrlimit64.
24923         (__GI_getrlimit64): Likewise.
24924         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24925         Likewise.
24926         (__GI_getrlimit64): Likewise.
24927         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24929         (getrlimit): Add __getrlimit64 alias.
24930         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24931         Likewise.
24932         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24933         Remove variable.
24934         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24935         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24937 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24939         * libio/fileops.c: Add missing sys/mman.h
24940         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24942 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24944         * manual/math.texi (Errors in Math Functions): Clarify goals
24945         regarding inexact and underflow exceptions.
24947 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24949         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24950         * sysdeps/mips/memset.S: Ditto.
24952 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24954         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24956 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24958         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24959         (__v1longjmp): Remove versioned symbol.
24960         (__v1siglongjmp): Remove alias and versioned symbol.
24961         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24962         (__v2siglongjmp): Likewise.
24964 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24968 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24970         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24972 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24974         [BZ #17987]
24975         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24976         zero result does not depend on the sign resulting from
24977         subtraction.
24978         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24979         Likewise.
24980         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24981         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24982         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24983         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24984         * math/libm-test.inc (remquo_test_data): Add more tests.
24986 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24988         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24989         Problem reported by J William Piggott.
24991 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24993         [BZ #17978]
24994         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24995         products 4 * y and 2 * y where those would overflow.
24996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24997         Likewise.
24998         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24999         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25000         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25001         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25002         * math/libm-test.inc (remquo_test_data): Add more tests.
25004         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25006         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25007         [defined _COMPILING_NEWLIB].
25008         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25009         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25011         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25012         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25014 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25016         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25017         acquired.
25019 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25021         [BZ #17792]
25022         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25023         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25024         HOST_STACK_END_ADDR): Likewise.
25026 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25028         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25029         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25030         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25032 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25034         * sysdeps/generic/c++-types.data: New file.
25035         * sysdeps/generic/ld.abilist: New file.
25036         * sysdeps/generic/libBrokenLocale.abilist: New file.
25037         * sysdeps/generic/libanl.abilist: New file.
25038         * sysdeps/generic/libc.abilist: New file.
25039         * sysdeps/generic/libcrypt.abilist: New file.
25040         * sysdeps/generic/libdl.abilist: New file.
25041         * sysdeps/generic/libm.abilist: New file.
25042         * sysdeps/generic/libpthread.abilist: New file.
25043         * sysdeps/generic/libresolv.abilist: New file.
25044         * sysdeps/generic/librt.abilist: New file.
25046 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25048         [BZ #17569]
25049         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25050         Compute absolute value of x as modified by fmod, not original
25051         value of x.
25052         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25053         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25054         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25055         RUN_TEST_ffI_f1_mod8.
25056         (remquo_test_data): Add more tests.
25058 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25060         * sysdeps/init_array/pt-crti.S: New file.
25062 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25064         [BZ #17967]
25065         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25066         __builtin_fmaf instead of relying on contraction of a * b + c.
25068 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25070         [BZ #17969]
25071         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25072         node.
25074 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25076         [BZ #17964]
25077         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25078         __builtin_fma instead of relying on contraction of a * b + c.
25080 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25082         * Makeconfig (ASFLAGS): Add -Werror=undef.
25083         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25084         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25085         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25087         * Makeconfig (after-link): New variable.
25088         (+link-pie, +link-pie-tests): Use it.
25089         (+link-static, +link-static-tests): Likewise.
25090         (+link, +link-tests): Likewise.
25091         * Makerules (build-module, build-module-asneeded): Likewise.
25092         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25093         Likewise.
25094         * elf/Makefile ($(objpfx)ld.so): Likewise.
25096 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25098         [BZ #17965]
25099         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25100         both struct timeval and struct timespec.
25102 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #16560]
25105         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25106         and redefine.
25107         (__ieee754_exp2l): Do not multiply small fractional parts by
25108         M_LN2l.
25109         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25110         small argument.
25111         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25112         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25113         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25114         * math/auto-libm-test-in: Add more tests of exp2.
25115         * math/auto-libm-test-out: Regenerated.
25117 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25119         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25120         unaligned path.
25122 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25124         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25125         little endian.
25127 2015-02-12  Andreas Schwab  <schwab@suse.de>
25129         [BZ #15790]
25130         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25131         Filter out elision flags from value returned in kind.
25132         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25133         * nptl/tst-pthread-mutexattr.c: New file.
25135 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25137         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25138         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25139         into gnu-gnu, and update comment to refer to abi-tags.
25141 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25143         [BZ #15467]
25144         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25145         (__sincos): Set errno to EDOM for infinite argument.
25146         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25147         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25148         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25149         (__sincosl): Set errno to EDOM for infinite argument.
25150         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25151         (__sincosl): Set errno to EDOM for infinite argument.
25152         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25153         (__sincosl): Set errno to EDOM for infinite argument.
25154         * math/libm-test.inc (sincos_test_data): Test errno setting.
25156 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25158         * string/strxfrm_l.c: Remove #define STRCMP.
25159         * string/strcoll_l.c: Remove #define STRLEN.
25160         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25161         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25163 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25165         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25166         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25167         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25168         * sysdeps/mips/mips64/Makefile: ... here.
25169         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25170         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25171         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25172         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25173         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25174         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25175         * sysdeps/mips/mips64/n64/Implies: Likewise.
25177 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25179         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25180         <sys/time.h>, <string.h>, and <errno.h>.
25181         (dest_offset, dest_address, value, zero): Remove unused variables.
25182         (ldouble): Remove typedef.
25183         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25184         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25185         1).  Fix code style.
25186         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25187         (check): Function removed.
25188         (CHECK): New macro.
25189         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25190         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25191         Don't call set_sigaction_FP and remove_sigaction_FP here.
25192         (ldouble_test): Just use 'long double' as macro argument, no need for
25193         the 'ldouble' typedef.
25194         (do_test): Set up SIGFPE handler at start, using plain signal rather
25195         than sigaction.  Fix code style.
25197 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25199         [BZ #17949]
25200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25201         jump label.
25203 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25205         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25206         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25208         * sysdeps/powerpc/configure.ac: Remove file.
25209         * sysdeps/powerpc/configure: Likewise.
25211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25212         [sysdep_routines]: Remove wordcopy-power6 object.
25213         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25214         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25215         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25216         (__memmove_ppc32): Likewise.
25217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25218         file.
25219         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25221         Remove preprocessor.
25223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25224         [sysdep_routines]: Remove wide chars objects.
25225         [wcsmbs]: New rule for wide char objects.
25227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25228         Remove wordcopy-power6 obejct.
25229         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25230         Use local call for wordcopy and memcpy symbols.
25231         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25233         implementation for loader.
25234         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25236         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25237         Remove wordcopy-power7 object.
25238         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25239         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25240         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25241         (_wordcopy_fwd_dest_aligned): Likewise.
25242         (_wordcopy_bwd_aligned): Likewise.
25243         (_wordcopy_bwd_dest_aligned): Likewise.
25245         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25246         Rewrite to call __memmove_ppc instead of include default
25247         implementation.
25249         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25250         Remove wide chars objects.
25251         [wcsmbs]: New rule for wide char objects.
25253 2015-02-09  Andreas Schwab  <schwab@suse.de>
25255         [BZ #17912]
25256         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25257         in terms of __O_DIRECTORY.
25259 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25261         * time/getdate.c: Include <stdbool.h>.
25262         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25263         call PTR_MANGLE.
25264         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25265         PTR_DEMANGLE.
25267 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25269         Add ersatz _Static_assert on older C hosts
25270         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25271         pre-C11 C platform that is not known to support _Static_assert.
25273 2015-02-07  Richard Braun  <rbraun@sceen.net>
25275         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25276         sigstate.
25277         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25279 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25281         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25282         priority against unexistent AIO_PRIO_DELTA_MAX.
25283         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25284         instead of int.
25285         * misc/fchflags.c (fchflags): Likewise.
25286         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25287         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25288         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25289         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25290         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25291         Declare macros.
25292         [__USE_MISC] (chflags, fchflags): Declare functions.
25293         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25294         EINVAL when nfds is greater than FD_SETSIZE.
25295         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25296         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25297         45.
25298         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25299         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25300         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25301         MACH_RCV_TIMED_OUT.
25302         * hurd/hurd/signal.h (_hurd_self_sigstate,
25303         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25304         Explicit casts from void *.
25305         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25306         * abi-tags: Rename gnu-gnu os into gnu.
25308         [BZ #4719]
25309         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25310         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25311         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25312         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25313         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25314         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25316         [BZ #17944]
25317         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25318         duplicates ADDR->sun_path with sockaddr LEN limitation.
25319         * sysdeps/mach/hurd/connect.c: Include <string.h>
25320         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25321         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25322         * sysdeps/mach/hurd/sendto.c: Likewise.
25323         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25324         implementing it by hand.
25326 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25328         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25329         Use sfi_breg on ldr.
25330         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25331         Likewise.
25333         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25334         it's defined.
25335         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25336         Test SIGSETXID only if it's defined.
25338         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25340         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25341         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25343         * nptl/tst-align2.c: Moved ...
25344         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25345         * nptl/Makefile (tests): Remove tst-align2.
25346         * sysdeps/unix/sysv/linux/Makefile
25347         [$(subdir) = nptl] (tests): Add tst-align-clone.
25348         * nptl/tst-getpid1.c: Moved ...
25349         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25350         * nptl/tst-getpid2.c: Moved ...
25351         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25352         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25353         * sysdeps/unix/sysv/linux/Makefile
25354         [$(subdir) = nptl] (tests): ... here.
25355         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25356         * sysdeps/unix/sysv/linux/Makefile
25357         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25359         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25360         Drop trailing \n from perror argument.  Use return rather than exit.
25362         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25363         on [SA_SIGINFO].
25364         * nptl/tst-cancel21.c (do_test): Likewise.
25365         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25366         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25367         [!SA_SIGINFO]: Make it a stub test.
25369         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25370         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25372         * posix/tst-getlogin.c: Move to ...
25373         * login/tst-getlogin.c: ... here.
25374         * posix/Makefile (tests): Move tst-getlogin to ...
25375         * login/Makefile (tests): ... here.
25377         * libio/tst-atime.c (do_test): Move local variables SV and E
25378         inside [ST_NOATIME] conditional.
25380         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25382         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25384         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25385         (wait_code): New function replaces macro.
25386         Call nanosleep rather than syscall.
25388         * nptl/pt-system.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-longjmp.c: Rewritten.  Put everything under
25393         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25394         Use IFUNC to redirect when possible.
25396         * nptl/pt-fork.c: Rewritten.  Put everything under
25397         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25398         Use IFUNC to redirect when possible.
25399         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25402         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25403         unconditionally nowadays.  This included the only reference to
25404         __vdso_clock_gettime that appears outside libc proper.
25405         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25406         Remove version set (containing only __vdso_clock_gettime).
25407         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25408         Add attribute_hidden.
25409         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25410         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25411         libc_hidden_data_def.
25412         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25413         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25415         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25416         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25417         setrpcent, and getrpcport to ...
25418         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25419         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25420         getrpcbynumber_r, and getrpcent_r to ...
25421         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25422         * inet/getrpcbyname.c: Moved ...
25423         * sunrpc/getrpcbyname.c: ... here.
25424         * inet/getrpcbyname_r.c: Moved ...
25425         * sunrpc/getrpcbyname_r.c: ... here.
25426         * inet/getrpcbynumber.c: Moved ...
25427         * sunrpc/getrpcbynumber.c: ... here.
25428         * inet/getrpcbynumber_r.c: Moved ...
25429         * sunrpc/getrpcbynumber_r.c: ... here.
25430         * inet/getrpcent.c: Moved ...
25431         * sunrpc/getrpcent.c: ... here.
25432         * inet/getrpcent_r.c: Moved ...
25433         * sunrpc/getrpcent_r.c: ... here.
25434         * inet/Makefile (routines): Move those to ...
25435         * sunrpc/Makefile (routines): ... here.
25436         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25437         the $(subdirs) list.
25438         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25439         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25440         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25441         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25443         * elf/Makefile (routines): Include $(all-dl-routines), not just
25444         $(dl-routines).
25445         (rtld-routines): Likewise.  Use = rather than :=.
25446         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25447         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25448         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25449         * sysdeps/arm/Makefile: Likewise.
25450         * sysdeps/i386/Makefile: Likewise.
25451         * sysdeps/x86_64/Makefile: Likewise.
25452         * sysdeps/hppa/Makefile [$(subdir) = elf]
25453         (sysdep_routines, sysdep-rtld-routines): Don't add
25454         $(sysdep-dl-routines) to these.
25455         * sysdeps/ia64/Makefile: Likewise.
25456         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25457         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25458         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25459         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25460         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25461         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25462         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25463         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25464         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25465         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25466         these; sysdep-dl-routines alone is enough.
25468 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25470         [BZ #17932]
25471         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25472         where multiplication results in zero and third argument is finite
25473         and nonzero.
25474         * math/auto-libm-test-in: Add more tests of fma.
25475         * math/auto-libm-test-out: Regenerated.
25477         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25478         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25479         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25480         (_FP_CMP_EQ): Likewise.
25481         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25483         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25484         extra argument CHECK_NAN.  Redefine as wrapper around
25485         _FP_EXTEND_CNAN.
25487 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25489         * version.h (RELEASE): Set to "stable".
25490         (VERSION): Set to "2.21"
25491         * include/features.h (__GLIBC_MINOR__): Set to 21.
25493         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25495 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25496             Paul Eggert  <eggert@cs.ucla.edu>
25498         [BZ #16618]
25499         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25500         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25501         size in bytes. Store needed elements in wpmax. Use needed size
25502         in bytes for extend_alloca.
25504 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25506         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25507         binutls 2.25, and texinfo 5.2.
25508         * INSTALL: Regenerate.
25509         * sysdeps/nios2/configure: Regenerate.
25510         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25511         * manual/contrib.texi: Update.
25512         * po/be.po: Update.
25513         * po/bg.po: Update.
25514         * po/ca.po: Update.
25515         * po/cs.po: Update.
25516         * po/da.po: Update.
25517         * po/de.po: Update.
25518         * po/el.po: Update.
25519         * po/eo.po: Update.
25520         * po/es.po: Update.
25521         * po/fi.po: Update.
25522         * po/fr.po: Update.
25523         * po/gl.po: Update.
25524         * po/hr.po: Update.
25525         * po/hu.po: Update.
25526         * po/ia.po: Update.
25527         * po/id.po: Update.
25528         * po/it.po: Update.
25529         * po/ja.po: Update.
25530         * po/ko.po: Update.
25531         * po/lt.po: Update.
25532         * po/nb.po: Update.
25533         * po/nl.po: Update.
25534         * po/pl.po: Update.
25535         * po/pt_BR.po: Update.
25536         * po/ru.po: Update.
25537         * po/rw.po: Update.
25538         * po/sk.po: Update.
25539         * po/sl.po: Update.
25540         * po/sv.po: Update.
25541         * po/tr.po: Update.
25542         * po/uk.po: Update.
25543         * po/vi.po: Update.
25544         * po/zh_CN.po: Update.
25545         * po/zh_TW.po: Update.
25547         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25548         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25549         * sysdeps/hppa/dl-irel.h: Remove #warning.
25550         * sysdeps/hppa/entry.h: Provide prototype for
25551         __canonicalize_funcptr_for_compare and cast argument.
25552         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25553         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25554         * sysdeps/hppa/sotruss-lib.c: New file.
25555         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25556         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25557         (atomic_compare_and_exchange_bool_acq): Likewise.
25558         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25559         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25561         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25562         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25563         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25565 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25567         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25568         called function in non-PIC case.
25570 2015-01-31  David S. Miller  <davem@davemloft.net>
25572         * sysdeps/sparc/sparc32/bits/atomic.h
25573         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25574         unlock not after it.
25575         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25576         volatile register usage warnings from the compiler.
25578         * sysdeps/sparc/nptl/sem_init.c: Delete.
25579         * sysdeps/sparc/nptl/sem_post.c: Delete.
25580         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25581         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25582         * sysdeps/sparc/sparc32/sem_init.c: New file.
25583         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25584         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25585         padding explicitly initialized.
25586         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25587         padding for in-semaphore spinlock.
25588         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25589         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25590         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25591         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25592         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25593         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25594         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25595         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25596         version.
25597         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25598         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25600 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25602         [BZ #17801]
25603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25604         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25605         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25606         New.
25607         (index_AVX_Fast_Unaligned_Load): Likewise.
25608         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25609         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25610         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25611         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25612         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25613         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25614         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25615         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25616         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25618 2015-01-29  Andreas Schwab  <schwab@suse.de>
25620         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25622 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25624         [BZ #17892]
25625         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25627 2015-01-28  Martin Sebor  <msebor@redhat.com>
25629         * math/README.libm-test: Clarify. Add "How to read the test output."
25631 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25633         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25634         Define to 0.
25636 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25638         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25639         (__HAVE_64B_ATOMICS): Define to 0.
25641 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25643         [BZ #17885]
25644         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25645         value to set as new flag.
25647         [BZ #16576]
25648         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25649         and use _ARCH_PPCSQ instead.
25650         (__ieee754_sqrt): Likewise.
25651         (__ieee754_sqrtf): Likewise.
25652         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25653         _ARCH_PPCSQ is defined.
25654         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25655         fsqrt instruction.
25656         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25657         _ARCH_PPCSQ is defined.
25658         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25659         fsqrts instruction.
25660         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25662 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25664         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25665         bug (GCC BZ #64739).
25667 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25670         Mark _retval as used.
25671         (lll_futex_wake_unlock): Likewise.
25672         (lll_futex_timed_wait_requeue_pi): Likewise.
25674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25675         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25676         register variables.
25678         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25679         libm_hidden_def.
25681         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25682         (__bswap_64): Mark as __always_inline.
25684 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25686         [BZ #15378]
25687         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25688         when none of the search directories exist.
25690 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25692         [BZ #17869]
25693         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25694         power8 in .machine directive.
25696         [BZ #17868]
25697         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25698         set dependency from opd value.
25700 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25703         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25704         architecture.
25706 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25708         [BZ #17870]
25709         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25710         with uint64_t.
25711         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25712         (uint64_t) 1.
25713         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25714         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25715         Replace 1UL with (uint64_t) 1.
25716         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25717         int with uint64_t.
25719 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25721         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25722         (if_freenameindex): Likewise.
25724         * resource/getrlimit64.c: Add missing libc_hidden_def.
25726 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25728         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25729         __label__.
25730         (_FP_FMA): Likewise.
25731         (_FP_TO_INT_ROUND): Likewise.
25732         (_FP_FROM_INT): Likewise.
25734 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25736         [BZ #16418]
25737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25738         Make code racy and cancel safe.
25740 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25742         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25743         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25744         attribution.
25746         * pwd/tst-getpw.c: Rewrite.
25748         [BZ #17702]
25749         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25750         (modules-names): Add moddummy1 and moddummy2.
25751         ($(objpfx)tst-rec-dlopen): Define.
25752         * dlfcn/moddummy1.c: New file.
25753         * dlfcn/moddummy2.c: New file.
25754         * dlfcn/tst-rec-dlopen.c: New file.
25755         * elf/dl-cache.c (_dl_load_cache_lookup):
25756         Return char*. Copy result with alloca/strcpy/strdup.
25757         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25758         returns char*. Free cached. If not saving realname
25759         free cached.
25760         * elf/dl-open.c (dl_open_worker): Do not assert that
25761         _r_debug->r_state is RT_CONSISTENT.
25762         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25763         returns char*.
25765 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25766             Carlos O'Donell  <carlos@redhat.com>
25768         [BZ #12674]
25769         * nptl/sem_waitcommon.c: New file.
25770         * nptl/sem_wait.c: Include sem_waitcommon.c.
25771         (__sem_wait_cleanup, do_futex_wait): Remove.
25772         (__new_sem_wait): Adapt.
25773         (__new_sem_trywait): New function.
25774         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25775         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25776         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25777         (sem_timedwait): Adapt.
25778         * nptl/sem_post.c (__new_sem_post): Adapt.
25779         (futex_wake): New function.
25780         (__old_sem_post): Add release MO fence.
25781         * nptl/sem_open.c (sem_open): Adapt.
25782         * nptl/sem_init.c (__new_sem_init): Adapt.
25783         (futex_private_if_supported): New function.
25784         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25785         (__old_sem_getvalue): Add using previous code.
25786         * sysdeps/nptl/internaltypes.h: Adapt.
25787         * nptl/tst-sem13.c (do_test): Adapt.
25788         * nptl/tst-sem11.c (main): Adapt.
25789         * nptl/sem_trywait.c: Remove.
25790         * nptl/DESIGN-sem.txt: Remove.
25791         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25792         (gen-as-const-headers): Remove structsem.sym.
25793         * nptl/structsem.sym: Remove.
25794         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25795         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25796         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25797         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25798         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25799         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25800         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25801         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25802         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25803         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25804         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25805         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25806         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25807         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25808         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25809         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25810         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25811         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25812         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25813         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25814         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25815         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25817 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25819         * INSTALL: Regenerated.
25821         * po/libc.pot: Regenerated.
25823 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25824             Sandra Loosemore  <sandra@codesourcery.com>
25825             Andrew Jenner  <andrew@codesourcery.com>
25826             Joseph Myers  <joseph@codesourcery.com>
25827             Nathan Sidwell  <nathan@codesourcery.com>
25829         * NEWS: Mention new Nios II port.
25830         * sysdeps/nios2/Implies: New file.
25831         * sysdeps/nios2/Makefile: New file.
25832         * sysdeps/nios2/Subdirs: New file.
25833         * sysdeps/nios2/Versions: New file.
25834         * sysdeps/nios2/__longjmp.S: New file.
25835         * sysdeps/nios2/abort-instr.h: New file.
25836         * sysdeps/nios2/backtrace.c: New file.
25837         * sysdeps/nios2/bits/endian.h: New file.
25838         * sysdeps/nios2/bits/fenv.h: New file.
25839         * sysdeps/nios2/bits/link.h: New file.
25840         * sysdeps/nios2/bits/setjmp.h: New file.
25841         * sysdeps/nios2/bsd-_setjmp.S: New file.
25842         * sysdeps/nios2/bsd-setjmp.S: New file.
25843         * sysdeps/nios2/configure: New generated file.
25844         * sysdeps/nios2/configure.ac: New file.
25845         * sysdeps/nios2/crti.S: New file.
25846         * sysdeps/nios2/crtn.S: New file.
25847         * sysdeps/nios2/dl-init.c: New file.
25848         * sysdeps/nios2/dl-machine.h: New file.
25849         * sysdeps/nios2/dl-sysdep.h: New file.
25850         * sysdeps/nios2/dl-tls.h: New file.
25851         * sysdeps/nios2/dl-trampoline.S: New file.
25852         * sysdeps/nios2/gccframe.h: New file.
25853         * sysdeps/nios2/gmp-mparam.h: New file.
25854         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25855         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25856         * sysdeps/nios2/ldsodefs.h: New file.
25857         * sysdeps/nios2/libc-tls.c: New file.
25858         * sysdeps/nios2/libm-test-ulps: New file.
25859         * sysdeps/nios2/machine-gmon.h: New file.
25860         * sysdeps/nios2/math-tests.h: New file.
25861         * sysdeps/nios2/math_private.h: New file.
25862         * sysdeps/nios2/memusage.h: New file.
25863         * sysdeps/nios2/nptl/Makefile: New file.
25864         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25865         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25866         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25867         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25868         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25869         * sysdeps/nios2/nptl/tls.h: New file.
25870         * sysdeps/nios2/preconfigure: New file.
25871         * sysdeps/nios2/s_fma.c: New file.
25872         * sysdeps/nios2/s_fmaf.c: New file.
25873         * sysdeps/nios2/setjmp.S: New file.
25874         * sysdeps/nios2/sfp-machine.h: New file.
25875         * sysdeps/nios2/sotruss-lib.c: New file.
25876         * sysdeps/nios2/stackguard-macros.h: New file.
25877         * sysdeps/nios2/stackinfo.h: New file.
25878         * sysdeps/nios2/start.S: New file.
25879         * sysdeps/nios2/sysdep.h: New file.
25880         * sysdeps/nios2/tls-macros.h: New file.
25881         * sysdeps/nios2/tst-audit.h: New file.
25882         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25883         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25884         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25885         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25886         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25887         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25888         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25889         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25890         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25891         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25892         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25893         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25894         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25895         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25896         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25897         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25898         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25899         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25900         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25901         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25902         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25903         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25904         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25905         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25906         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25907         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25908         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25909         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25910         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25911         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25912         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25913         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25914         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25915         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25916         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25917         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25918         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25919         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25920         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25921         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25922         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25923         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25924         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25925         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25927 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25929         [BZ #17844]
25930         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25931         (getutent): Use weak_alias in non SHARED case
25932         and default_symbol_version in SHARED case.
25933         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25934         (getutent_r, pututline): Likewise.
25935         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25936         (getutid): Likewise.
25937         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25938         (getutid_r): Likewise.
25939         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25940         (getutline): Likewise.
25941         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25942         (getutline_r): Likewise.
25943         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25944         (updwtmp): Likewise.
25946 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25948         [BZ #17848]
25949         * sysdeps/s390/s390-32/memcmp.S
25950         (memcmp_g5): Rename to __memcmp_g5.
25951         * sysdeps/s390/s390-32/memcpy.S
25952         (memcpy_g5): Rename to __memcpy_g5.
25953         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25954         (memcpy_mvcle) Rename to __memcpy_mvcle.
25955         * sysdeps/s390/s390-32/memset.S
25956         (memset_g5): Rename to __memset_g5.
25957         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25958         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25959         and use prefixed functions.
25960         * sysdeps/s390/s390-32/multiarch/memcmp.S
25961         (memcmp_z196): Rename to __memcmp_z196.
25962         (memcmp_z10): Rename to __memcmp_z10.
25963         (memcmp): Set alias to __memcmp_g5.
25964         (bcmp): Set alias to __memcmp_g5.
25965         * sysdeps/s390/s390-32/multiarch/memcpy.S
25966         (memcpy_z196): Rename to __memcpy_z196.
25967         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25968         (memcpy_z10): Rename to __memcpy_z10.
25969         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25970         (memcpy): Set alias to __memcpy_g5.
25971         * sysdeps/s390/s390-32/multiarch/memset.S
25972         (memset_z196): Rename to __memset_z196.
25973         Jump to __memset_mvcle instead of memset_mvcle.
25974         (memset_z10): Rename to __memset_z10.
25975         Jump to __memset_mvcle instead of memset_mvcle.
25976         (memset_mvcle) Rename to __memset_mvcle.
25977         (memset): Set alias to __memset_g5.
25978         * sysdeps/s390/s390-64/memcmp.S
25979         (memcmp_z900): Rename to __memcmp_z900.
25980         * sysdeps/s390/s390-64/memcpy.S
25981         (memcpy_z900): Rename to __memcpy_z900.
25982         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25983         (memcpy_mvcle) Rename to __memcpy_mvcle.
25984         * sysdeps/s390/s390-64/memset.S
25985         (memset_z900): Rename to __memset_z900.
25986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25987         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25988         and use prefixed functions.
25989         * sysdeps/s390/s390-64/multiarch/memcmp.S
25990         (memcmp_z196): Rename to __memcmp_z196.
25991         (memcmp_z10): Rename to __memcmp_z10.
25992         (memcmp): Set alias to __memcmp_z900.
25993         (bcmp): Set alias to __memcmp_z900.
25994         * sysdeps/s390/s390-64/multiarch/memcpy.S
25995         (memcpy_z196): Rename to __memcpy_z196.
25996         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25997         (memcpy_z10): Rename to __memcpy_z10.
25998         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25999         (memcpy): Set alias to __memcpy_z900.
26000         * sysdeps/s390/s390-64/multiarch/memset.S
26001         (memset_z196): Rename to __memset_z196.
26002         Jump to __memset_mvcle instead of memset_mvcle.
26003         (memset_z10): Rename to __memset_z10.
26004         Jump to __memset_mvcle instead of memset_mvcle.
26005         (memset_mvcle) Rename to __memset_mvcle.
26006         (memset): Set alias to __memset_z900.
26008 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26010         [BZ #17748]
26011         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26012         __fesetenv instead of fesetenv.
26014 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26016         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26017         macro.
26019 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26021         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26022         regression on LE.
26024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26025         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26027         strncmp-power8 object.
26028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26029         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26030         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26031         * NEWS: Update.
26033 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26036         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26037         trailing byte check.
26039 2015-01-13  David S. Miller  <davem@davemloft.net>
26041         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26043 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26045         * login/logout.c (logout): Use memset rather than bzero.
26046         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26047         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26048         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26049         (_gethtbyaddr): Likewise.
26050         * locale/programs/simple-hash.c (bcopy): Macro removed.
26052 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26055         Add strcmp-power8 object.
26056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26057         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26058         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26059         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26060         __strcmp_power8 implementation.
26061         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26062         * NEWS: Update.
26064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26065         Add strncpy-power8 and stpncpy-power8 objects.
26066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26067         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26068         implementations.
26069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26070         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26071         __stpncpy_power8 implementation.
26072         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26073         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26074         __strncpy_power8 implementation.
26075         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26076         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26077         * NEWS: Update.
26079         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26080         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26081         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26084         strncat-power8 object.
26085         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26086         __strcat_power8 implementation.
26087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26088         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26089         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26090         optimized strcat for power8.
26092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26093         strcpy-power8 and stpcpy-power8 objects.
26094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26095         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26096         implementations.
26097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26098         multiarch stpcpy implementation for POWER8.
26099         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26100         multiarch strcpy implementation for POWER8.
26101         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26102         __strcpy_power8 function.
26103         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26104         stpcpy for POWER8.
26105         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26106         strcpy for POWER8.
26107         * NEWS: Update.
26109 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26111         [BZ #16009]
26112         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26113         weights and rules. Use do_xfrm_cached if data fits in cache,
26114         do_xfrm otherwise.  Moved former main loop to...
26115         * (do_xfrm_cached): New function.
26116         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26117         find_idx, find_position and stack_push.
26118         * (find_idx): New function.
26119         * (find_position): Likewise.
26120         * localedata/sort-test.sh: Added test run for do_xfrm.
26121         * localedata/xfrm-test.c (main): Added command line option
26122         -nocache to run the test with strings that are too large for
26123         the STRXFRM cache.
26125 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26127         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26128         variable to lll_futex_wake call, not the value itself.
26130 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26132         [BZ #17803]
26133         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26134         twom64.  Adjust value to 0x1p-64L.
26135         (__scalblnl): Only return standard underflowing result for K <=
26136         -64 not K <= -63; adjust exponent for underflowing result by 64
26137         not 63.
26138         * math/libm-test.inc (scalbn_test_data): Add more tests.
26139         (scalbln_test_data): Likewise.
26141         [BZ #17834]
26142         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26143         0x1p63L.
26144         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26145         not HX.
26146         * math/libm-test.inc (scalbn_test_data): Add more tests.
26147         (scalbln_test_data): Likewise.
26149 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26150             Stefani Seibold  <stefani@seibold.net>
26152         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26153         (sysdep_routines): Add dl-vdso here, ...
26154         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26155         (sysdep_routines): ... not here.
26156         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26157         fallback when vDSO is not presented.
26158         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26159         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26160         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26161         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26162         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26163         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26164         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26165         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26166         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26168         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26169         fallback configurable symbol when vDSO is not available.
26170         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26171         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26172         be able to redefine fallback symbol when vDSO is not available.
26173         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26174         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26176 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26178         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26179         (TLS_INIT_TP): Add tm_capable initialization.
26180         (TLS_DEFINE_INIT_TP): Likewise.
26181         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26182         TCB.
26183         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26184         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26185         calculation.
26186         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26187         transactoion is lock elision is built and TCB tm_capable is set.
26188         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26190         (INTERNAL_SYSCALL_NCS): Likewise.
26191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26192         (INTERNAL_SYSCALL_NCS): Likewise.
26193         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26195         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26196         for powerpc.
26197         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26198         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26199         and remove it for 32 bits case.
26200         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26202         initialization.
26203         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26204         Disable lock elision with rdlocks if elision is not available.
26206         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26207         (sysdep_routines): Add lock elision objects.
26208         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26209         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26210         [pthread_mutex_t] (__elision): Add field.
26211         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26212         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26213         elision definitions for powerpc.
26214         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26215         implementation of lock elision for powerpc.
26216         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26217         implementation of timed lock elision for powerpc.
26218         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26219         implementation of trylock with lock elision for powerpc.
26220         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26221         implementaion of unlock for lock elision for powerpc.
26222         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26223         automatic enable lock elision for mutexes.
26224         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26225         transaction execution definitions for powerpc.
26226         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26227         definitions.
26228         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26229         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26230         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26231         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26232         * NEWS: Update.
26234 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26236         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26237         for #include of <shm-directory.h>.
26239 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26241         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26242         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26244 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26246         [BZ #17791]
26247         * NEWS: Mention bug fix.
26248         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26249         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26250         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26252 2015-01-09  Torvald Riegel <triegel@redhat.com>
26254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26256 2015-01-09  Torvald Riegel <triegel@redhat.com>
26258         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26260 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26262         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26263         pointer and cast to uintptr_t.
26265 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26267         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26268         removed.
26269         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26271 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26273         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26274         of 0.
26276 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26278         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26279         <nptl/pthreadP.h> instead.
26280         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26282         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26283         already defined.
26284         [__SIGRTMIN] (init): Function removed.
26285         [__SIGRTMIN] (initialized): Variable removed.
26286         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26287         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26288         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26289         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26290         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26291         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26292         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26293         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26294         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26295         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26296         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26297         * sysdeps/nptl/allocrtsig.c: New file.
26298         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26299         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26300         * sysdeps/generic/testrtsig.h: File removed.
26302         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26303         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26305         * nptl/nptl-init.c (pthread_functions): Conditionalize
26306         .ptr__nptl_setxid initialization on [SIGSETXID].
26308         * sysdeps/nptl/sys/procfs.h: New file.
26309         * nptl_db/Makefile (headers): Add it.
26310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26312         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26313         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26314         * nptl/pthread_attr_setaffinity.c: Include it.
26315         * nptl/pthread_setattr_default_np.c: Likewise.
26316         * nptl/check-cpuset.h: New file.
26318 2015-01-08  Richard Henderson  <rth@redhat.com>
26320         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26321         (CFLAGS-tst-execstack-prog.c): Likewise.
26322         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26324 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26325             Sandra Loosemore  <sandra@codesourcery.com>
26326             Andrew Jenner  <andrew@codesourcery.com>
26327             Joseph Myers  <joseph@codesourcery.com>
26328             Nathan Sidwell  <nathan@codesourcery.com>
26330         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26331         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26332         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26333         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26334         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26335         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26336         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26337         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26338         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26339         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26340         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26341         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26342         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26343         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26344         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26345         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26346         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26348 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26350         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26351         timespec struct member in syscall macro.
26352         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26353         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26354         first timeval struct member in syscall macro.
26355         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26357 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26359         [BZ #17748]
26360         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26361         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26362         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26363         __feupdateenv and define as weak alias of __feupdateenv.  Use
26364         libm_hidden_weak.
26365         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26366         libm_hidden_def.
26367         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26368         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26369         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26370         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26371         libm_hidden_def.
26372         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26373         __feupdateenv and define as weak alias of __feupdateenv.  Use
26374         libm_hidden_weak.
26375         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26376         libm_hidden_def.
26377         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26378         __feupdateenv and define as weak alias of __feupdateenv.  Use
26379         libm_hidden_weak.
26380         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26381         libm_hidden_def.
26382         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26383         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26384         (__feupdateenv): Likewise.
26385         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26386         __feupdateenv and define as weak alias of __feupdateenv.  Use
26387         libm_hidden_weak.
26388         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26389         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26390         libm_hidden_def.
26391         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26392         function.
26393         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26394         libm_hidden_def.
26395         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26396         __feupdateenv instead of feupdateenv.
26397         (default_libc_feupdateenv_test): Likewise.
26398         (libc_feresetround_ctx): Likewise.
26400 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26402         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26403         prototype.
26405 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26407         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26408         COLL_SYM in a couple of places to avoid uninitialized variable
26409         wanings on tilegx gcc 4.8.2.
26411 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26413         * sysdeps/aarch64/strcpy.S: New file.
26414         * sysdeps/aarch64/stpcpy.S: New file.
26415         * NEWS: Updated.
26417 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26419         * sysdeps/aarch64/strrchr.S: New file.
26420         * NEWS: Updated.
26422 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26424         [BZ #17658]
26425         * stdlib/setenv.c: Fix memory leak when setting large,
26426         duplicate string.
26428 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26430         [BZ #17273]
26431         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26432         and tabs from buffer before parsing fstab entry.
26433         * misc/tst-mntent.c (main): Add test for mount entry with
26434         trailing spaces and tabs.
26436 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26438         [BZ #17748]
26439         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26440         * math/fesetround.c (fesetround): Rename to __fesetround and
26441         define as weak alias of __fesetround.  Use libm_hidden_weak.
26442         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26443         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26444         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26445         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26446         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26447         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26448         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26449         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26450         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26451         __fesetround_inline.
26452         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26453         __fesetround_inline instead of __fesetround.
26454         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26455         __fesetround and define as weak alias of __fesetround.  Use
26456         libm_hidden_weak.  Call __fesetround_inline instead of
26457         __fesetround.
26458         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26459         __fesetround and define as weak alias of __fesetround.  Use
26460         libm_hidden_weak.
26461         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26462         Likewise.
26463         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26464         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26465         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26466         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26467         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26468         __fesetround and define as weak alias of __fesetround.  Use
26469         libm_hidden_weak.
26470         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26471         __fesetround instead of fesetround.
26472         (default_libc_feholdexcept_setround): Likewise.
26473         (libc_feholdsetround_ctx): Likewise.
26474         (libc_feholdsetround_noex_ctx): Likewise.
26476         [BZ #17748]
26477         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26478         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26479         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26480         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26481         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26482         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26483         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26484         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26485         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26486         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26487         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26488         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26489         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26490         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26491         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26492         libm_hidden_def.
26493         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26494         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26495         Likewise.
26496         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26497         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26498         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26499         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26500         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26501         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26502         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26503         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26504         __fesetenv instead of fesetenv.
26505         (libc_feresetround_noex_ctx): Likewise.
26506         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26507         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26508         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26509         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26510         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26511         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26512         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26513         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26514         (__feupdateenv): Likewise.
26515         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26516         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26517         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26518         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26520 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26522         [BZ #17806]
26523         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26524         addresses have been freed.
26526 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26528         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26529         and nservall.
26531 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26533         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26534         Clean up check_pf allocation pattern. addresses
26536 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26538         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26539         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26540         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26541         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26542         * nptl/pthread_join.c (pthread_join): Likewise.
26543         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26544         * sysdeps/posix/waitid.c (__waitid): Likewise.
26545         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26546         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26547         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26548         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26550         Likewise.
26551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26552         (__libc_pread64): Likewise.
26553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26554         (__libc_pwrite): Likewise.
26555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26556         (__libc_pwrite64): Likewsie.
26557         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26558         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26559         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26560         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26561         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26562         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26563         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26565         Likewise.
26566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26567         (__libc_pread64): Likewise.
26568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26569         Likewise.
26570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26571         (__libc_pwrite64): Likewise.
26572         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26573         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26574         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26575         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26576         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26577         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26578         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26579         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26580         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26581         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26582         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26583         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26584         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26585         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26586         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26587         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26588         Likewise.
26590 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26592         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26593         (CFLAGS-test-double.c): Likewise.
26594         (CFLAGS-test-ldouble.c): Likewise.
26595         (CPPFLAGS-test-ifloat.c): Likewise.
26596         (CPPFLAGS-test-idouble.c): Likewise.
26597         (CPPFLAGS-test-ildoubl.c): Likewise.
26598         (CFLAGS-test-test-fenv.c): Remove variable.
26599         (CFLAGS-test-misc.c): Likewise.
26601 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26603         [BZ #17797]
26604         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26605         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26606         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26607         CLOCKS_PER_SEC == 1000000.
26608         * time/clocktest.c (main): Replace %ld with %jd and cast to
26609         intmax_t.
26611 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26613         * sysdeps/generic/unwind-resume.h: New file.
26614         * sysdeps/gnu/unwind-resume.c: Include it.
26615         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26616         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26617         argument list.
26618         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26619         global rather than static.
26620         (_Unwind_Resume): Update user.
26621         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26622         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26623         rather than static.  Add __attribute__ ((cold)).
26624         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26625         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26626         * sysdeps/arm/arm-unwind-resume.S: New file.
26627         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26628         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26629         * sysdeps/arm/Makefile [$(subdir) = csu]
26630         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26631         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26632         Add rt-arm-unwind-resume.
26633         [$(subdir) = nptl]
26634         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26635         Add pt-arm-unwind-resume.
26636         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26637         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26639 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26641         [BZ #17748]
26642         * include/fenv.h (__feholdexcept): Declare.  Use
26643         libm_hidden_proto.
26644         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26645         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26646         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26647         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26648         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26649         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26650         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26651         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26652         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26653         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26654         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26655         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26657         (feholdexcept): Likewise.
26658         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26659         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26660         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26661         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26662         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26663         __feholdexcept instead of feholdexcept.
26664         (default_libc_feholdexcept_setround): Likewise.
26666 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26668         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26669         to avoid using stl/str to align destination.
26671 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26673         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26675 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26677         [BZ #17796]
26678         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26679         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26680         Define as weak alias not strong alias.
26682 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26684         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26685         bltzal with addiupc.
26686         (RTLD_START): Ditto.
26688 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26690         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26691         for __vdso_* functions in declarations.
26692         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26693         definitions.
26694         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26695         INTERNAL_VSYSCALL): Use struct return types to check for error.
26697         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26698         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26699         function with cast from llround().
26700         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26701         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26702         Define.
26704 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26706         [BZ #17793]
26707         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26708         Define as weak alias not strong alias.
26710         [BZ #17635]
26711         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26712         ...
26713         * ctype/ctype-extn.c: ... here.
26714         (__isblank_l): Move to ...
26715         * ctype/ctype-c99_l.c: ... here.  New file.
26716         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26717         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26718         Remove variable.
26719         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26720         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26721         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26722         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26723         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26725         [BZ #17777]
26726         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26727         (posix_fadvise64): Define as weak alias not strong alias.
26728         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26729         (posix_fallocate64): Likewise.
26730         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26731         Remove variable.
26732         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26733         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26734         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26735         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26736         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26738 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26740         [BZ #16191]
26741         * NEWS: Mention bug fix.
26742         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26743         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26744         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26745         (HOST_STACK_END_ADDR): Likewise.
26747 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26749         [BZ #17748]
26750         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26751         * math/fegetround.c (fegetround): Rename to __fegetround and
26752         define as weak alias of __fegetround.  Use libm_hidden_weak.
26753         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26754         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26755         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26756         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26757         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26758         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26759         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26760         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26761         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26762         Undefine after rather than before function definition; use
26763         parentheses around function name in definition.
26764         (__fegetround): Also undefine macro after function definition.
26765         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26766         __fegetround and define as weak alias of __fegetround.  Use
26767         libm_hidden_weak.  Do not undefine as macro.
26768         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26769         Likewise.
26770         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26771         __fegetround and define as weak alias of __fegetround.  Use
26772         libm_hidden_weak.
26773         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26774         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26775         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26776         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26777         __fegetround and define as weak alias of __fegetround.  Use
26778         libm_hidden_weak.
26779         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26780         __fegetround instead of fegetround.
26782         [BZ #17782]
26783         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26784         Condition macro definition on [__USE_MISC].
26786         [BZ #17781]
26787         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26788         (struct sigaction): Change type of sa_flags field to int.
26790         [BZ #17780]
26791         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26792         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26793         __glibc_reserved0.
26795         * nptl/version.c (banner): Use single year in copyright notice.
26797         * NEWS: Update copyright dates.
26798         * catgets/gencat.c (print_version): Likewise.
26799         * csu/version.c (banner): Likewise.
26800         * debug/catchsegv.sh: Likewise.
26801         * debug/pcprofiledump.c (print_version): Likewise.
26802         * debug/xtrace.sh (do_version): Likewise.
26803         * elf/ldconfig.c (print_version): Likewise.
26804         * elf/ldd.bash.in: Likewise.
26805         * elf/pldd.c (print_version): Likewise.
26806         * elf/sotruss.sh: Likewise.
26807         * elf/sprof.c (print_version): Likewise.
26808         * iconv/iconv_prog.c (print_version): Likewise.
26809         * iconv/iconvconfig.c (print_version): Likewise.
26810         * locale/programs/locale.c (print_version): Likewise.
26811         * locale/programs/localedef.c (print_version): Likewise.
26812         * login/programs/pt_chown.c (print_version): Likewise.
26813         * malloc/memusage.sh (do_version): Likewise.
26814         * malloc/memusagestat.c (print_version): Likewise.
26815         * malloc/mtrace.pl: Likewise.
26816         * manual/libc.texinfo: Likewise.
26817         * nptl/version.c (banner): Likewise.
26818         * nscd/nscd.c (print_version): Likewise.
26819         * nss/getent.c (print_version): Likewise.
26820         * nss/makedb.c (print_version): Likewise.
26821         * posix/getconf.c (main): Likewise.
26822         * scripts/test-installation.pl: Likewise.
26823         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26825 2015-01-02  Will Newton  <will.newton@linaro.org>
26827         * sysdeps/arm/armv7/configure: Removed.
26828         * sysdeps/arm/armv7/configure.ac: Likewise.
26830 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26832         * All files with FSF copyright notices: Update copyright dates
26833         using scripts/update-copyrights.
26834         * intl/plural.c: Regenerated.
26835         * locale/programs/charmap-kw.h: Likewise.
26836         * locale/programs/locfile-kw.h: Likewise.
26838 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26840         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26842 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26844         [BZ #17748]
26845         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26846         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26847         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26848         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26849         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26850         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26851         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26852         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26853         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26854         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26855         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26856         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26857         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26858         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26859         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26860         libm_hidden_def.
26861         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26863         Likewise.
26864         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26865         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26866         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26867         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26868         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26869         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26870         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26871         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26872         __fegetenv instead of fegetenv.
26873         (libc_feholdsetround_noex_ctx): Likewise.
26875 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26877         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26878         (Elf_MIPS_ABIFlags_v0): New structure.
26879         (EF_MIPS_FP64): Define.
26880         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26881         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26882         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26883         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26884         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26885         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26886         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26887         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26888         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26889         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26890         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26891         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26892         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26893         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26894         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26895         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26896         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26897         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26898         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26899         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26900         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26901         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26902         field.
26903         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26904         EF_MIPS_FP64.
26905         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26906         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26907         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26908         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26909         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26910         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26911         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26912         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26913         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26914         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26915         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26916         record the current FP ABI extension.
26917         (mips-mode-switch): Define to show if kernel headers support mode
26918         switching.
26919         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26920         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26921         supported SYSV ABI version to 3.
26922         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26923         feature.
26925 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26926             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26928         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26929         path.
26930         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26932 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26934         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26935         __fegetround and redefine to call __fegetround.  Remove condition
26936         on [!__NO_MATH_INLINES].
26937         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26938         function.
26939         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26940         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26941         Remove macro.
26942         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26943         instead of <fenv_libc.h>.
26944         (__llrintl): Call fegetround instead of __fegetround.
26945         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26946         instead of <fenv_libc.h>.
26947         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26948         (__lrintl): Call fegetround instead of __fegetround.
26949         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26950         instead of <fenv_libc.h>.
26951         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26952         (__rintl): Call fegetround instead of __fegetround.
26954 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26956         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26957         arrays.
26959 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26961         [BZ #17775]
26962         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26963         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26964         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26966 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26968         * sysdeps/i386/tls-macros.h: Include <features.h>.
26969         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26970         (TLS_IE): Likewise.
26971         (TLS_LD): Likewise.
26972         (TLS_GD): Likewise.
26973         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26974         define for GCC >= 5.0.
26976 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26978         * math/test-fenv.c (test_single_exception, set_single_exc,
26979         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26980         feexcp_mask_test, feenable_test, fe_single_test): Add
26981         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26982         case where they are not used.
26983         * math/libm-test.inc: Likewise.
26984         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26985         unused in the absence of FP rounding/exception support.
26986         * stdio-common/tst-printf-round.c: Likewise.
26987         * stdlib/tst-strtod-round.c: Likewise.
26988         * stdlib/tst-strtod-underflow.c: Likewise.
26990 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26992         [BZ #17723]
26993         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26994         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26995         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26996         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26997         libm_hidden_weak.
26998         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26999         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27000         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27001         libm_hidden_def.
27002         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27003         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27004         libm_hidden_weak.
27005         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27006         Likewise.
27007         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27008         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27009         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27010         libm_hidden_weak.
27011         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27012         libm_hidden_def.
27013         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27014         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27015         (__feraiseexcept): Likewise.
27016         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27017         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27018         libm_hidden_weak.
27019         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27020         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27021         libm_hidden_def.
27022         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27023         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27024         Use libm_hidden_def.
27025         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27026         libm_hidden_def.
27027         (feraiseexcept): Define as weak not strong alias.  Use
27028         libm_hidden_weak.
27029         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27030         New inline function.  Factored out of ...
27031         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27032         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27033         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27034         feraiseexcept.
27035         * math/w_acos.c (__acos): Likewise.
27036         * math/w_asin.c (__asin): Likewise.
27037         * math/w_ilogb.c (__ilogb): Likewise.
27038         * math/w_j0.c (y0): Likewise.
27039         * math/w_j1.c (y1): Likewise.
27040         * math/w_jn.c (yn): Likewise.
27041         * math/w_log.c (__log): Likewise.
27042         * math/w_log10.c (__log10): Likewise.
27043         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27044         * sysdeps/aarch64/fpu/math_private.h
27045         (libc_feupdateenv_test_aarch64): Likewise.
27046         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27047         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27048         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27049         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27050         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27051         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27052         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27053         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27054         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27055         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27057 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27059         [BZ #17732]
27060         * io/test-utime.c (main): Replace %ld with %jd and cast to
27061         intmax_t.
27062         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27063         * nptl/tst-mutex5.c: Include <stdint.h>.
27064         (do_test): Replace %ld with %jd and cast to intmax_t.
27065         * posix/tst-regex.c (run_test): Likewise.
27066         (run_test_backwards): Likewise.
27067         * rt/tst-clock.c: Include <stdint.h>.
27068         (clock_test): Replace %ld with %jd and cast to intmax_t.
27069         * rt/tst-cpuclock1.c: Include <stdint.h>.
27070         (do_test): Replace %lu with %ju and cast to uintmax_t.
27071         * rt/tst-cpuclock2.c: Include <stdint.h>.
27072         (do_test): Replace %lu with %ju and cast to uintmax_t.
27073         * rt/tst-mqueue1.c: Include <stdint.h>.
27074         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27075         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27076         intmax_t.
27077         * rt/tst-mqueue4.c (do_test): Likewise.
27078         * rt/tst-timer4.c: Include <stdint.h>.
27079         (check_ts): Replace %ld with %jd and cast to intmax_t.
27080         (do_test): Likewise.
27081         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27082         and cast to intmax_t.
27083         * sysdeps/pthread/tst-timer.c (main): Likewise.
27084         * time/clocktest.c (main): Likewise.
27085         * time/tst-posixtz.c (do_test): Likewise.
27086         * timezone/tst-timezone.c (main): Likewise.
27088 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27089             H.J. Lu  <hongjiu.lu@intel.com>
27091         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27092         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27093         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27094         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27095         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27096         version if bit_Fast_Unaligned_Load is set.
27097         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27098         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27100         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27101         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27102         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27104         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27105         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27106         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27107         to 4.
27108         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27109         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27110         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27111         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27113 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27115         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27116         instead of #if to avoid a Wundef warning.
27117         * stdlib/tst-limits.c (do_test): Likewise.
27119         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27120         parallel other exception macros.
27121         (fegetenv): Convert from macro to extern inline so that it applies
27122         retroactively to inline functions already seen by the compiler.
27123         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27125         * posix/Makefile (before-compile): Use $(objpfx) for
27126         posix-conf-vars-def.h.
27128 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27130         * posix/getconf.c (main): Use size_t for type of I.
27131         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27132         NSPEC.
27134         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27135         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27136         * posix/posix-envs.def: Likewise.
27137         * sysdeps/posix/sysconf.c: Likewise.
27138         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27139         (specs): Remove array.
27140         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27141         array.
27143         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27144         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27145         (__sysconf): Use CONF_IS_* macros.
27147         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27148         ($(objpfx)posix-conf-vars-def.h): New target.
27149         * posix/posix-conf-vars.list: New file.
27150         * posix/posix-conf-vars.h: New file.
27151         * posix/confstr.c: Include posix-conf-vars.h.
27152         (confstr): Use CONF_IS_* macros.
27153         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27154         CONF_IS_* macros.
27155         * scripts/gen-posix-conf-vars.awk: New file.
27157 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27159         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27160         fegetround): Add no-op macros to avoid linknamespace issues.
27162         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27163         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27165         * sysdeps/unix/sysv/linux/tile/sysdep.h
27166         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27167         assembly-specific section to avoid a redefinition warning.
27169         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27170         long before casting to pointer to avoid a cast warning.
27172 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27174         * sysdeps/tile/tilegx/Implies: New file.
27176 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27178         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27180 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27182         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27184 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27187         not define.
27188         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27189         <kernel-features.h>.
27190         (__utimes) [__NR_utimes]: Make code unconditional.
27191         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27192         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27193         (__ASSUME_UTIMES): Do not undefine.
27194         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27195         (__ASSUME_UTIMES): Likewise.
27196         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27197         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27198         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27199         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27201 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27203         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27205 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27207         [BZ #17747]
27208         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27209         alias to weak alias for j0l, y0l.
27210         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27211         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27213         [BZ #17746]
27214         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27215         conversion.
27217 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27219         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27220         to zero if not already defined.
27222 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27224         [BZ #17724]
27225         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27226         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27227         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27228         (char *) casts added.
27229         * sysdeps/ieee754/k_standardf.c: New file.
27230         * sysdeps/ieee754/k_standardl.c: Likewise.
27231         * math/Makefile (libm-support): Remove k_standard.
27232         (libm-calls): Add k_standard.
27234 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27236         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27237         Optimize to avoid an unnecessary FPCR read.
27239 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27242         Optimize to reduce FPCR/FPSR accesses.
27244 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27246         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27247         Call libc_fetestexcept_aarch64.
27249 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27251         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27252         Call libc_fesetround_aarch64.
27254 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27256         [BZ #17733]
27257         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27258         (__bind): Do not define as weak alias.
27259         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27260         define.
27261         (__getsockname): Do not define as weak alias.
27263 2014-12-22  Will Newton  <will.newton@linaro.org>
27265         * manual/install.texi: Document that we require bison 2.7
27266         or above.
27267         * INSTALL: Regenerate.
27268         * configure.ac: Use AC_CHECK_PROG_VER instead of
27269         AC_PATH_PROG when checking for bison and check for
27270         version 2.7 or above.
27271         * configure: Regenerate.
27273 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27275         [BZ #17745]
27276         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27277         * sysdeps/tile/ffsll.c (ffsll): To here.
27279         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27281 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27283         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27284         if not defined.
27285         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27286         definition.
27287         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27288         hidden ___tls_get_addr.
27289         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27290         hidden __tls_get_addr.
27291         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27292         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27293         Likewise.
27295 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27297         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27298         _dl_init call.
27300 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27302         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27303         from "call _dl_init@PLT".
27304         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27306 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27308         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27309         guarantees.
27311 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27313         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27315 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27317         [BZ #17744]
27318         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27319         strnlen.
27321 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27323         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27324         of multu on MIPSr6.
27325         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27326         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27327         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27328         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27329         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27331 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27333         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27334         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27335         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27336         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27337         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27338         mips32r6/mips64r6.
27339         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27341 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27343         * string/strncat.c (STRNCAT): Simplify implementation.
27345 2014-12-19  David S. Miller  <davem@davemloft.net>
27347         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27348         access the quad as both a long double and as a series of 4 words.
27350         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27351         link_map->l_info array access.
27353 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27355         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27357         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27358         * math/atest-exp2.c (TIMEOUT): Likewise.
27359         * math/atest-sincos.c (TIMEOUT): Likewise.
27361 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27363         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27364         -Wno-error with -fno-builtin-lround.
27366 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27368         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27369         Contains futex constants and functions moved over from ...
27370         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27371         <lowlevellock-futex.h>.
27372         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27373         (lll_timedwait_tid): Add comments and parentheses around macro
27374         arguments.
27376 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27379         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27380         (__lll_private_flag): Remove.
27381         (lll_futex_wait): Likewise.
27382         (lll_futex_timed_wait): Likewise.
27383         (lll_futex_wake): Likewise.
27384         (lll_futex_requeue): Likewise.
27385         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27386         (__lll_timedwait_tid): Spell out argument names.
27387         (lll_timedwait_tid): Add comments and parentheses around macro
27388         arguments.
27389         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27390         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27392 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27394         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27395         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27396         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27397         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27398         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27399         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27400         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27401         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27402         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27403         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27404         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27405         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27406         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27407         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27408         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27409         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27410         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27411         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27412         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27414 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27416         * sysdeps/x86_64/x32/Makefile: New file.
27418 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27420         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27421         1L with (mp_limb_t) 1.
27423 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27425         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27426         * nptl/libc_pthread_init.c: ... here.
27427         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27428         * nptl/register-atfork.c: ... here.
27430         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27431         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27432         Use assert_perror to check its return value.
27433         (__gai_create_helper_thread): Likewise.
27435         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27437         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27439 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27441         [BZ #17725]
27442         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27443         __profil_counter.
27444         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27445         Likewise.
27446         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27447         Likewise.
27448         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27449         Likewise.
27450         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27451         (profil_counter): Likewise.
27452         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27453         (profil_counter): Likewise.
27454         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27455         Likewise.
27456         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27457         Likewise.
27458         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27459         (profil_counter): Likewise.
27460         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27461         Likewise.
27462         [!__profil_counter] (profil_counter): Define as weak alias of
27463         __profil_counter.
27464         * sysdeps/unix/sysv/linux/sparc/sparc32/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/unix/sysv/linux/sparc/sparc64/profil-counter.h
27469         (profil_counter): Rename to __profil_counter.
27470         [!__profil_counter] (profil_counter): Define as weak alias of
27471         __profil_counter.
27472         * sysdeps/posix/profil.c: Update comment referring to
27473         profil_counter.
27474         (__profil): Use __profil_counter instead of profil_counter.
27475         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27476         __profil_counter.  Use __profil_counter_ushort and
27477         __profil_counter_uint in definitions.
27478         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27479         instead of profil_counter_uint and profil_counter_ushort.
27481         [BZ #17722]
27482         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27483         define as weak alias of __inet_makeaddr.
27484         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27485         as weak alias of __inet_addr.
27486         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27487         as weak alias of __inet_pton.  Use libc_hidden_weak.
27488         * include/arpa/inet.h (__inet_pton): Declare.  Use
27489         libc_hidden_proto.
27490         (inet_makeaddr): Don't use libc_hidden_proto.
27491         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27492         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27493         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27494         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27495         Remove variable.
27496         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27497         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27499 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27501         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27503 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27505         * stdio-common/bug-vfprintf-nargs.c (do_test):
27506         Cast value to intptr_t to avoid format warning
27507         for usage with PRIdPTR printing macro.
27509 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27511         * libio/tst-widetext.c (do_test):
27512         Use format type %td instead of %Zd for ptrdiff_t
27513         in order to avoid format warning.
27515 2014-12-17  Andreas Schwab  <schwab@suse.de>
27517         * nscd/mem.c (gc): Add size_t cast to match printf format.
27519 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27521         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27522         (init): Apply PTR_MANGLE to pointers before storing them.
27523         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27524         before using them.
27526 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27528         [BZ #17719]
27529         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27530         define as weak alias of __memrchr.
27531         (__memrchr): Do not define as strong alias of memrchr.
27532         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27533         Remove variable.
27534         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27535         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27536         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27538         [BZ #17717]
27539         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27540         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27541         (if_indextoname): Rename to __if_indextoname and define as weak
27542         alias of __if_indextoname.  Use libc_hidden_weak.
27543         (if_freenameindex): Rename to __if_freenameindex and define as
27544         weak alias of __if_freenameindex.
27545         (if_nameindex): Rename to __if_nameindex and define as weak alias
27546         of __if_nameindex.
27547         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27548         __if_nametoindex and define as weak alias of __if_nametoindex.
27549         Use libc_hidden_weak.
27550         (if_freenameindex): Rename to __if_freenameindex and define as
27551         weak alias of __if_freenameindex.
27552         (if_nameindex): Rename to __if_nameindex and define as weak alias
27553         of __if_nameindex.
27554         (if_indextoname): Rename to __if_indextoname and define as weak
27555         alias of __if_indextoname.  Use libc_hidden_weak.
27556         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27557         __if_nametoindex and define as weak alias of __if_nametoindex.
27558         Use libc_hidden_weak.
27559         (if_freenameindex): Rename to __if_freenameindex and define as
27560         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27561         (if_nameindex_netlink): Use __if_freenameindex instead of
27562         if_freenameindex.
27563         (if_nameindex): Rename to __if_nameindex and define as weak alias
27564         of __if_nameindex.  Use libc_hidden_weak.
27565         (if_indextoname): Rename to __if_indextoname and define as weak
27566         alias of __if_indextoname.  Use libc_hidden_weak.
27567         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27568         libc_hidden_proto.
27569         [!_ISOMAC] (__if_freenameindex): Likewise.
27570         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27571         if_nametoindex.
27572         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27573         variable.
27574         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27575         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27576         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27577         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27578         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27579         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27580         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27582         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27583         Remove variable.
27584         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27585         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27587 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27589         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27590         subscript above bounds'
27592         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27593         bounds.
27595 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27597         * libio/tst-fopenloc.c: Use test-skeleton.c.
27599         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27600         (entry): Rename to ITEM.
27601         (do_test, comp): Adjust.
27603         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27605 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27607         * string/tester.c: Include <libc-internal.h>.
27608         (test_memset): Ignore -Wmemset-transposed-args.
27610 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27612         * misc/tst-mntent2.c (do_test): Fix warning.
27614 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27616         * elf/tst-unique4lib.cc(a): Mark as used.
27618 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27620         [BZ #17630]
27621         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27622         names.
27624 2014-12-16  Allan McRae  <allan@archlinux.org>
27626         * stdio-common/Makefile (tests): Re-add bug26.
27628 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27630         [BZ #17657]
27631         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27632         static array.
27634 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27636         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27637         (__lll_lock_wait): Likewise.
27638         (__lll_timedlock_wait): Likewise.
27639         (__lll_timedwait_tid): Likewise.
27640         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27641         (__lll_robust_timedlock_wait): Likewise.
27642         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27643         (lll_cond_trylock): Likewise.
27644         (__lll_lock): Likewise.
27645         (__lll_robust_lock): Likewise.
27646         (__lll_cond_lock): Likewise.
27647         (lll_robust_cond_lock): Likewise.
27648         (__lll_timedlock): Likewise.
27649         (__lll_robust_timedlock): Likewise.
27650         (__lll_unlock): Likewise.
27651         (__lll_robust_unlock): Likewise.
27652         (lll_wait_tid): Likewise.
27653         (lll_timedwait_tid): Likewise.
27655 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27657         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27659 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27661         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27663 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27665         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27666         * stdio-common/tst-sprintf.c: Likewise.
27668 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27670         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27672 2014-12-15  Jeff Law  <law@redhat.com>
27674         [BZ #16617]
27675         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27676         on the heap.  (CVE-2012-3406)
27677         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27678         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27679         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27681 2014-12-15  Will Newton  <will.newton@linaro.org>
27683         * manual/install.texi: Bump required version of texinfo
27684         to 4.7 from 4.5.
27685         * INSTALL: Regenerated.
27686         * configure.ac: Check for makeinfo version 4.7 and above.
27687         * configure: Regenerated.
27689 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27691         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27692         PREFIX, string constant to insert between directory and name.
27693         * sysdeps/posix/shm_open.c: Update caller.
27694         * sysdeps/posix/shm_unlink.c: Likewise.
27695         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27696         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27697         (SEM_SHM_PREFIX): New macro.
27698         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27699         [$(have-thread-library) = no].
27700         * nptl/Makefile (libpthread-routines): Add shm-directory.
27701         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27702         * sysdeps/nptl/shm-directory.h: New file.
27703         * sysdeps/posix/shm-directory.c
27704         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27705         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27706         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27707         INTERNAL_SYSCALL.
27708         (__where_is_shmfs): Function removed.
27709         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27710         Variables removed.
27711         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27712         Use SHM_GET_NAME.
27713         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27715         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27716         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27717         unconditional for use inside libpthread.
27718         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27720 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27722         * nptl/pthread_getaffinity.c: New file.
27723         * nptl/pthread_setaffinity.c: New file.
27724         * nptl/pthread_getname.c: New file.
27725         * nptl/pthread_setname.c: New file.
27727         * nptl/pthread_create.c (START_THREAD_DEFN)
27728         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27730 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27733         * resolv/res_send.c (send_vc): Disable warning resplen may
27734         be used uninitialized.
27736 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27738         * nptl/tst-mutex6.c
27739         (ATTR_NULL): New define checks ATTR against NULL.
27740         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27741         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27743 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27745         [BZ #17581]
27746         * malloc/hooks.c
27747         (mem2mem_check): Revert my previous change.
27748         (malloc_check_get_size): Revert my previous change.
27749         (mem2chunk_check): Revert my previous change.
27751 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27753         * sysdeps/posix/shm-directory.c: New file.
27754         * sysdeps/posix/shm-directory.h: New file.
27755         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27756         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27757         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27758         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27759         Transmute EPERM to EACCES.
27760         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27761         from ...
27762         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27763         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27765 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27767         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27768         pointer and cast to uintptr_t.
27769         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27771         Add cast to avoid warning.
27772         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27774 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27776         * nptl/semaphore.h: Move to ...
27777         * sysdeps/pthread/semaphore.h: ... here.
27778         * Makefile (installed-headers): Change nptl/semaphore.h to
27779         sysdeps/pthread/semaphore.h.
27781 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27783         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27784         generated error format strings.
27786         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27787         -Wformat-extra-args warnings for scanf formats.
27788         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27789         test of zero-length format (duh).
27790         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27791         corner-case scanf format test.
27792         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27793         generated fprintf format string.
27794         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27795         corner-case sprintf format tests.
27796         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27797         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27798         -Wformat-extra-args warnings throughout.
27799         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27800         (CFLAGS-scanf4.c): Likewise.
27801         (CFLAGS-scanf7.c): Likewise.
27802         (CFLAGS-tst-sprintf.c): Likewise.
27803         (CFLAGS-tst-printf.c): Likewise.
27804         (CFLAGS-tst-printfsz.c): Likewise.
27806 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27808         * include/cpio.h: New file.
27809         * include/fmtmsg.h: Likewise.
27811         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27812         corresponding format argument to size_t.
27813         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27814         arguments.
27815         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27816         corresponding format argument to size_t.
27817         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27818         arguments.
27819         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27820         corresponding format argument to size_t.
27821         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27822         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27823         (CFLAGS-tst-mbswcs2.c): Likewise.
27824         (CFLAGS-tst-mbswcs3.c): Likewise.
27825         (CFLAGS-tst-mbswcs4.c): Likewise.
27826         (CFLAGS-tst-mbswcs5.c): Likewise.
27827         (CFLAGS-tst-trans.c): Likewise.
27829 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27831         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27832         rather than assuming they won't contain any '%'s.
27834 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27836         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27837         inhibit_loop_to_libcall to avoid recursive calls.
27838         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27839         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27841 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27843         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27844         prototype.
27846 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27848         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27849         integer value instead of boolean.
27851 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27853         * malloc/malloc.c: Fix powerof2 check.
27855 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27857         * locale/programs/locfile.h (maybe_swap_uint32):
27858         Remove inline and add unused attribute.
27860 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27862         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27863         Truncating assembler expression to a .long expression.
27865 2014-12-11  Andreas Schwab  <schwab@suse.de>
27867         * elf/rtld.c (struct map_args): Constify str member.
27868         (do_preload): Constify fname argument.
27870 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27873         constants definition.
27875 2014-12-11  Andreas Schwab  <schwab@suse.de>
27877         [BZ #16657]
27878         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27879         FORCE_ELISION instead of DO_ELISION.
27880         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27881         Remove.
27882         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27883         Likewise.
27885         * iconvdata/gconv-modules: Remove duplicate entry.
27887 2014-12-11  Will Newton  <will.newton@linaro.org>
27889         Merge gettext 0.19.3 into intl/.
27891         This involves a number of cosmetic changes to comments
27892         and ANSI function definitions and prototypes throughout
27893         all the files. The gettext copyright header is used but
27894         with the date ranges taken from the glibc copy.
27896         * NEWS: Add gettext merge to 2.21.
27897         * intl/bindtextdom.c: Switch to gettext copyright.
27898         Use ANSI definitions and prototypes.
27899         Use gl_* locking primitives rather than __libc_* ones.
27900         Use __builtin_expect rather than __glibc_likely/unlikely.
27901         * intl/dcgettext.c: Switch to gettext copyright.
27902         Use ANSI definitions and prototypes.
27903         * intl/dcigettext.c: Switch to gettext copyright.
27904         Use ANSI definitions and prototypes.
27905         (INTDIV0_RAISES_SIGFPE): New define.
27906         Use gl_* locking primitives rather than __libc_* ones.
27907         Include eval-plural.h instead of plural-eval.c.
27908         Use __builtin_expect rather than __glibc_likely/unlikely.
27909         * intl/dcngettext.c: Switch to gettext copyright.
27910         Use ANSI definitions and prototypes.
27911         * intl/dgettext.c: Likewise.
27912         * intl/dngettext.c: Likewise.
27913         * intl/plural-eval.c: Renamed to...
27914         * intl/eval-plural.h: ...this.
27915         * intl/explodename.c: Switch to gettext copyright.
27916         Use ANSI definitions and prototypes.
27917         (_nl_explode_name): Use strchr instead of __rawmemchr.
27918         * intl/finddomain.c: Switch to gettext copyright.
27919         Use ANSI definitions and prototypes.
27920         Use gl_* locking primitives rather than __libc_* ones.
27921         (_nl_find_domain): Use malloc rather than alloca for
27922         allocation of temporary locale name.
27923         * intl/gettext.c: Switch to gettext copyright.
27924         Use ANSI definitions and prototypes.
27925         * intl/gettextP.h: Switch to gettext copyright.
27926         Use ANSI definitions and prototypes.
27927         Use gl_* locking primitives rather than __libc_* ones.
27928         * intl/gmo.h: Switch to gettext copyright.
27929         (struct sysdep_string): Move struct segment_pair outside of
27930         struct definition.
27931         * intl/hash-string.c: Use ANSI definitions and prototypes.
27932         * intl/hash-string.h: Switch to gettext copyright.
27933         Use ANSI definitions and prototypes.
27934         * intl/l10nflist.c: Switch to gettext copyright.
27935         Use ANSI definitions and prototypes.
27936         (_nl_normalize_codeset): Avoid integer overflow.
27937         * intl/loadinfo.h: Switch to gettext copyright.
27938         Use ANSI definitions and prototypes.
27939         (LIBINTL_DLL_EXPORTED): New define.
27940         (PATH_SEPARATOR): New define.
27941         * intl/loadmsgcat.c: Switch to gettext copyright.
27942         * intl/localealias.c: Switch to gettext copyright.
27943         Use ANSI definitions and prototypes.
27944         (_nl_expand_alias): Use PATH_SEPARATOR.
27945         * intl/ngettext.c: Switch to gettext copyright.
27946         Use ANSI definitions and prototypes.
27947         * intl/plural-exp.c: Likewise.
27948         * intl/plural-exp.h: Switch to gettext copyright.
27949         Use ANSI definitions and prototypes.
27950         (struct expression): Move definition of enum operator outside
27951         of struct definition.
27952         * intl/plural.c: Regenerate.
27953         * intl/plural.y: Switch to gettext copyright.
27954         Use ANSI definitions and prototypes.
27955         Port to bison 3.0.
27956         * intl/textdomain.c: Switch to gettext copyright.
27957         Use ANSI definitions and prototypes.
27958         Use gl_* locking primitives rather than __libc_* ones.
27960 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27962         * debug/warning-nop.c: Add used atrribute.
27964 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27966         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27968         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27969         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27970         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27972 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27973             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27975         [BZ #17634]
27976         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27977         Undefine after defining function.  Define as weak alias of
27978         __wcschr.  Use libc_hidden_weak.
27979         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27980         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27981         (libc_hidden_def): Also define __GI___wcschr alias.
27982         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27983         __wcschr and define as weak alias of __wcschr.
27984         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27985         __wcschr.
27986         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27987         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27988         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27989         libc_hidden_weak.  Do not use libc_hidden_def.
27990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27991         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27992         __GI___wcschr alias.
27993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27994         [IS_IN (libc)] (wcschr): Define as macro expanding to
27995         __redirect_wcschr.
27996         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27997         [IS_IN (libc)] (__wcschr_power6): Likewise.
27998         [IS_IN (libc)] (__wcschr_power7): Likewise.
27999         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28000         instead of wcschr.
28001         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28002         __libc_wcschr.
28003         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28004         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28005         __wcschr and define as weak alias of __wcschr.  Use
28006         libc_hidden_builtin_def.
28007         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28008         as weak alias of __wcschr.  Use libc_hidden_weak.
28009         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28010         wcschr.
28011         * time/era.c (_nl_init_era_entries): Likewise.
28012         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28013         variable.
28014         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28015         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28017 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28019         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28020         format for long int variable.
28022 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28024         [BZ #10672]
28025         * manual/search.texi: (Array Sort Function): Remove claim how to make
28026         qsort stable.
28028 2014-12-10  Andreas Schwab  <schwab@suse.de>
28030         [BZ #12847]
28031         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28032         user-controlled locks.
28034 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28036         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28037         register.
28039 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28041         * configure.ac (--disable-werror): New configure option.
28042         (enable_werror): New AC_SUBST.
28043         * configure: Regenerated.
28044         * config.make.in (enable-werror): New variable.
28045         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28046         -Wno-error=undef.
28047         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28048         * manual/install.texi (Configuring and compiling): Document
28049         --disable-werror.
28050         * INSTALL: Regenerated.
28051         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28052         (CFLAGS-tst-chk2.c): Likewise.
28053         (CFLAGS-tst-chk3.c): Likewise.
28054         (CFLAGS-tst-chk4.cc): Likewise.
28055         (CFLAGS-tst-chk5.cc): Likewise.
28056         (CFLAGS-tst-chk6.cc): Likewise.
28057         (CFLAGS-tst-lfschk1.c): Likewise.
28058         (CFLAGS-tst-lfschk2.c): Likewise.
28059         (CFLAGS-tst-lfschk3.c): Likewise.
28060         (CFLAGS-tst-lfschk4.cc): Likewise.
28061         (CFLAGS-tst-lfschk5.cc): Likewise.
28062         (CFLAGS-tst-lfschk6.cc): Likewise.
28064         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28065         (main): Disable -Wdeprecated-declarations around calls to
28066         register_printf_function.
28068         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28069         (do_test): Disable -Wdiv-by-zero around some calls to
28070         fwrite_unlocked and fread_unlocked.
28072         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28073         (DIAG_POP_NEEDS_COMMENT): Likewise.
28074         (_DIAG_STR1): Likewise.
28075         (_DIAG_STR): Likewise.
28076         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28077         * stdio-common/bug21.c: Include <libc-internal.h>.
28078         (do_test): Disable -Wformat around call to sscanf.
28079         * stdio-common/scanf14.c: Include <libc-internal.h>.
28080         (main): Disable -Wformat around some calls to scanf functions.
28082 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28084         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28086 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28088         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28089         stack variable alignment.
28091 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28093         [BZ #17682]
28094         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28095         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28096         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28097         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28098         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28099         __getrlimit instead of getrlimit.
28100         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28101         __gettimeofday instead of gettimeofday.
28102         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28103         Likewise.
28104         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28105         Likewise.
28106         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28107         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28108         Remove variable.
28109         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28110         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28112 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28114         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28115         for wide-character tests.
28117 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28119         * io/openat64.c: #include <libc-internal.h>
28120         (__openat64): Prototypify.  Use ignore_value on MODE.
28121         * io/openat.c: Likewise.
28122         * misc/reboot.c: #include <libc-internal.h>
28123         (reboot): Prototypify.  Use ignore_value on HOWTO.
28124         * misc/ptrace.c: #include <libc-internal.h>
28125         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28127 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28129         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28130         XPG4, UNIX98 and XOPEN2K.
28131         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28132         Remove variable.
28133         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28135 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28137         * libio/fileops.c: Use ISO C style for function definitions.
28138         * libio/iofopen.c: Likewise.
28139         * libio/wfileops.c: Likewise.
28141         [BZ #17653]
28142         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28143         offset on EOF.
28144         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28145         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28146         (fgets_func): Function pointer to fgets and fgetws.
28147         (do_ftell_test): Add test to verify ftell value after read
28148         EOF.
28149         (do_test): Set fgets_func.
28151         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28152         O_TRUNC flag for w and w+ modes.
28153         (do_rewind_test): Likewise.
28154         (do_ftell_test): Likewise.
28155         (do_write_test): Likewise.
28157         [BZ #17647]
28158         * libio/fileops.c (do_ftell): Seek only when there are
28159         unflushed writes.
28160         * libio/wfileops.c (do_ftell_wide): Likewise.
28161         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28162         test case.
28163         (do_one_test): Call it.
28165 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28167         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28168         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28169         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28170         Remove variable.
28171         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28172         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28173         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28175 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28177         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28178         Remove variable.
28179         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28181         [BZ #17668]
28182         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28183         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/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28187         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28188         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28189         __freeifaddrs.  Use libc_hidden_weak.
28190         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28191         __getifaddrs and define as weak alias of __getifaddrs.  Use
28192         libc_hidden_weak.
28193         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28194         __freeifaddrs.  Use libc_hidden_weak.
28195         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28196         Remove variable.
28197         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28198         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28200 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28202         [BZ #17601]
28203         * sysdeps/mips/start.S (__start): Use indirect jump to call
28204         __libc_start_main.
28206 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28208         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28210         * nptl/tst-mutex1.c: Include <stdbool.h>.
28211         [!ATTR] (ATTR_NULL): New macro.
28212         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28213         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28214         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28216         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28217         to char *.
28219         [BZ #17665]
28220         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28221         Change conditional to [__USE_MISC].
28223         [BZ #17664]
28224         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28225         fgets_unlocked.
28226         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28227         __fgets_unlocked.
28228         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28229         fgets_unlocked.
28230         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28231         Remove variable.
28232         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28233         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28234         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28235         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28236         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28237         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28238         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28239         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28240         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28242         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28244 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28247         Remove strpbrk objects.
28248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28249         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28250         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28251         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28252         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28253         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28255         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28256         Remove strcspn objects.
28257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28258         (__libc_ifunc_impl_list): Remove strcspn implementation.
28259         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28260         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28261         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28262         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28265         Remove strspn objetcs.
28266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28267         (__libc_ifunc_impl_list): Remove strspn implementation.
28268         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28269         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28270         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28271         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28273 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28275         [BZ #17581]
28276         * malloc/hooks.c
28277         (mem2mem_check): Add a terminator to the chain of checking blocks.
28278         (malloc_check_get_size): Use it here.
28279         (mem2chunk_check): Ditto.
28281 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28283         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28284         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28286 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28288         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28290         * nptl/nptl-init.c: Include libc-internal.h.
28291         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28293         * elf/ldconfig.c (search_dir): Expand comment.
28295 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28297         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28298         variable.
28299         (linknamespace-symlist-stdlibs-tests): Likewise.
28300         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28301         instead of $(objpfx)symlist-stdlibs.
28302         (linknamespace-libs-isoc): New variable.
28303         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28304         (linknamespace-libs-ISO): New variable.
28305         (linknamespace-libs-ISO99): Likewise.
28306         (linknamespace-libs-ISO11): Likewise.
28307         (linknamespace-libs-XPG3): Likewise.
28308         (linknamespace-libs-XPG4): Likewise.
28309         (linknamespace-libs-POSIX): Likewise.
28310         (linknamespace-libs-UNIX98): Likewise.
28311         (linknamespace-libs-XOPEN2K): Likewise.
28312         (linknamespace-libs-POSIX2008): Likewise.
28313         (linknamespace-libs-XOPEN2K8): Likewise.
28314         ($(objpfx)symlist-stdlibs): Replace by
28315         $(linknamespace-symlist-stdlibs-tests).  Use
28316         $(linknamespace-libs-$*) as set of libraries.
28317         ($(linknamespace-header-tests)): Update dependencies.  Use
28318         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28319         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28320         * conform/linknamespace.pl: Remove comment about considering
28321         definitions of symbols from irrelevant libraries.
28323 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28325         [BZ #13862]
28326         * elf/dl-tls.c: Include <atomic.h>.
28327         (oom): Remove #ifdef SHARED/#endif.
28328         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28329         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28330         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28331         big enough.
28332         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28333         * nptl/Makefile (tests): Add tst-stack4.
28334         (modules-names): Add tst-stack4mod.
28335         ($(objpfx)tst-stack4): New.
28336         (tst-stack4mod.sos): Likewise.
28337         ($(objpfx)tst-stack4.out): Likewise.
28338         ($(tst-stack4mod.sos)): Likewise.
28339         (clean): Likewise.
28340         * nptl/tst-stack4.c: New file.
28341         * nptl/tst-stack4mod.c: Likewise.
28343 2014-11-27  J. Brown  <jb999@gmx.de>
28345         * sysdeps/x86/bits/string.h: Add recent CPUs.
28347 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28349         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28350         sigblock.
28352         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28353         feof.
28355         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28356         variable.
28358 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28360         * nscd/connections.c: Include libc-internal.h because of macro
28361         usage ignore_value.
28363 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28365         * string/bits/string3.h (__warn_memset_zero_len): Don't
28366         declare for gcc newer than 5.0.
28367         (memset): Don't test for zero-length __LEN for gcc newer than
28368         5.0.
28370 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28372         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28373         size_t for %zu format.
28375         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28376         difference, not %ju.
28378 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28380         * include/libc-internal.h (ignore_value): New macro.
28381         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28382         with ignore_value.
28384         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28385         definition.
28387         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28388         pthread_cleanup_push to void *.
28390         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28391         Undefine.
28393         [BZ #16619]
28394         [BZ #16740]
28395         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28396         instead of 1L << 52.
28398         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28399         * libio/bug-rewind2.c (do_test): Likewise.
28401         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28402         * debug/test-strcpy_chk-ifunc.c: Likewise.
28403         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28404         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28405         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28406         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28407         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28408         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28409         * Rules [$(multi-arch) = no] (tests): Do not filter out
28410         $(tests-ifunc).
28411         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28412         * debug/Makefile (tests-ifunc): Remove variable.
28413         (tests): Do not add $(tests-ifunc).
28414         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28415         (tests): Do not add $(tests-ifunc).
28416         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28417         [TEST_IFUNC]: Remove conditionals.
28418         * string/test-string.h (TEST_IFUNC): Remove macro.
28419         [TEST_IFUNC]: Remove conditionals.
28421         * string/test-strchr.c [!WIDE] (L): New macro.
28422         [WIDE] (L): Likewise.
28423         (check1): Use CHAR instead of char.  Use L on string and character
28424         constants.
28426 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28428         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28429         tests.
28430         * sysdeps/powerpc/bits/atomic.h
28431         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28432         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28433         (atomic_exchange_and_add_acq): Likewise.
28434         (atomic_exchange_and_add_rel): Likewise.
28435         * sysdeps/powerpc/powerpc32/bits/atomic.h
28436         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28437         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28438         * sysdeps/powerpc/powerpc64/bits/atomic.h
28439         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28440         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28442 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28444         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28445         Change synchronization of __sched_fifo_min_prio and
28446         __sched_fifo_max_prio.
28447         * nptl/pthread_mutexattr_getprioceiling.c
28448         (pthread_mutexattr_getprioceiling): Likewise.
28449         * nptl/pthread_mutexattr_setprioceiling.c
28450         (pthread_mutexattr_setprioceiling): Likewise.
28451         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28452         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28453         Likewise.
28455 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28457         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28458         void.
28460 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28462         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28463         third argument const.
28465 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28467         fnmatch: work around GCC compiler warning bug with uninit var
28468         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28469         This works around a bug with x86-64 GCC 4.9.2 and earlier
28470         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28471         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28472         used uninitialized in this function [-Wmaybe-uninitialized]".
28474 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28476         * posix/bug-regex31.c (main): Return RES not 0.
28478 2014-11-25  Anton Blanchard <anton@samba.org>
28480         * sysdeps/powerpc/bits/atomic.h
28481         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28483 2014-11-24  Sterling Augustine  <saugustine@google.com>
28485         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28487 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28489         [BZ #17608]
28490         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28492 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28494         [BZ #17633]
28495         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28496         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28497         variable.
28498         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28499         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28501 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28503         * string/strncpy.c (strncpy): Improve performance by using memset.
28505 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28507         * string/strcpy.c (strcpy):
28508         Improve performance by using strlen and memcpy.
28510 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28512         * string/strcoll_l.c (get_next_seq): __always_inline.
28513         * string/strcoll_l.c (do_compare): __always_inline.
28515 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28517         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28518         defined.
28519         * include/mqueue.h: Likewise.
28520         * include/stdlib.h: Likewise.
28522         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28523         (get_null_defines): Adjust.
28524         * sunrpc/Makefile: Adjust comment.
28525         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28526         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28527         (CFLAGS-interp.c): Likewise.
28528         (CFLAGS-ldconfig.c): Likewise.
28529         (CPPFLAGS-.os): Likewise.
28530         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28531         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28532         * extra-modules.mk (extra-modules.mk): Likewise.
28533         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28534         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28535         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28536         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28537         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28538         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28539         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28540         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28541         * iconvdata/Makefile (CPPFLAGS): Likewise.
28542         (cpp-srcs-left): Add libof for all iconvdata routines.
28543         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28544         * include/assert.h: Likewise.
28545         * include/ctype.h: Likewise.
28546         * include/errno.h: Likewise.
28547         * include/libc-symbols.h: Likewise.
28548         * include/math.h: Likewise.
28549         * include/netdb.h: Likewise.
28550         * include/resolv.h: Likewise.
28551         * include/stdio.h: Likewise.
28552         * include/stdlib.h: Likewise.
28553         * include/string.h: Likewise.
28554         * include/sys/stat.h: Likewise.
28555         * include/wctype.h: Likewise.
28556         * intl/l10nflist.c: Likewise.
28557         * libidn/idn-stub.c: Likewise.
28558         * libio/libioP.h: Likewise.
28559         * nptl/libc_multiple_threads.c: Likewise.
28560         * nptl/pthreadP.h: Likewise.
28561         * posix/regex_internal.h: Likewise.
28562         * resolv/res_hconf.c: Likewise.
28563         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28564         * sysdeps/arm/memmove.S: Likewise.
28565         * sysdeps/arm/sysdep.h: Likewise.
28566         * sysdeps/generic/_itoa.h: Likewise.
28567         * sysdeps/generic/symbol-hacks.h: Likewise.
28568         * sysdeps/gnu/errlist.awk: Likewise.
28569         * sysdeps/gnu/errlist.c: Likewise.
28570         * sysdeps/i386/i586/memcpy.S: Likewise.
28571         * sysdeps/i386/i586/memset.S: Likewise.
28572         * sysdeps/i386/i686/memcpy.S: Likewise.
28573         * sysdeps/i386/i686/memmove.S: Likewise.
28574         * sysdeps/i386/i686/mempcpy.S: Likewise.
28575         * sysdeps/i386/i686/memset.S: Likewise.
28576         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28577         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28578         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28579         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28580         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28581         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28582         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28584         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28592         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28593         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28594         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28595         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28596         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28597         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28598         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28599         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28600         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28601         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28602         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28603         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28604         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28605         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28606         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28607         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28609         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28610         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28612         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28613         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28614         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28615         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28616         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28617         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28618         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28619         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28620         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28621         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28622         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28623         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28624         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28625         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28626         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28627         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28628         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28629         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28630         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28631         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28632         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28633         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28634         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28635         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28636         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28637         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28638         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28639         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28640         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28641         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28642         * sysdeps/posix/closedir.c: Likewise.
28643         * sysdeps/posix/opendir.c: Likewise.
28644         * sysdeps/posix/readdir.c: Likewise.
28645         * sysdeps/posix/rewinddir.c: Likewise.
28646         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28647         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28648         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28649         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28650         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28651         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28658         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28660         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28661         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28662         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28663         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28665         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28666         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28667         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28668         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28669         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28674         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28682         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28683         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28684         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28685         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28686         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28687         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28688         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28691         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28692         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28694         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28695         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28696         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28697         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28704         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28706         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28707         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28708         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28709         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28711         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28712         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28713         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28714         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28715         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28716         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28717         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28718         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28719         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28720         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28722         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28723         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28724         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28725         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28726         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28727         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28728         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28729         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28730         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28732         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28733         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28734         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28735         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28736         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28737         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28738         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28739         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28742         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28744         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28745         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28746         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28747         * sysdeps/unix/alpha/sysdep.S: Likewise.
28748         * sysdeps/unix/alpha/sysdep.h: Likewise.
28749         * sysdeps/unix/make-syscalls.sh: Likewise.
28750         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28751         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28752         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28753         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28754         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28755         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28756         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28757         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28758         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28759         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28760         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28761         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28763         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28764         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28765         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28766         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28767         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28768         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28769         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28770         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28771         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28772         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28773         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28774         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28775         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28776         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28779         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28780         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28784         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28788         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28789         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28790         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28791         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28793         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28794         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28796         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28800         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28801         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28802         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28803         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28804         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28805         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28806         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28808         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28809         * sysdeps/x86_64/memcpy.S: Likewise.
28810         * sysdeps/x86_64/memmove.c: Likewise.
28811         * sysdeps/x86_64/memset.S: Likewise.
28812         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28813         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28814         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28815         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28816         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28819         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28820         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28821         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28822         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28823         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28824         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28827         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28829         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28830         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28831         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28832         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28833         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28834         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28835         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28836         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28837         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28838         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28839         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28840         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28841         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28842         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28843         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28844         * sysdeps/x86_64/strcmp.S: Likewise.
28846         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28848         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28849         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28850         * elf/rtld-Rules: Likewise.
28851         * elf/setup-vdso.h: Likewise.
28852         * include/assert.h: Likewise.
28853         * include/bits/stdlib-float.h: Likewise.
28854         * include/errno.h: Likewise.
28855         * include/sys/stat.h: Likewise.
28856         * include/unistd.h: Likewise.
28857         * sysdeps/aarch64/setjmp.S: Likewise.
28858         * sysdeps/alpha/setjmp.S: Likewise.
28859         * sysdeps/arm/__longjmp.S: Likewise.
28860         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28861         * sysdeps/arm/setjmp.S: Likewise.
28862         * sysdeps/arm/sysdep.h: Likewise.
28863         * sysdeps/generic/_itoa.h: Likewise.
28864         * sysdeps/generic/dl-sysdep.h: Likewise.
28865         * sysdeps/generic/ldsodefs.h: Likewise.
28866         * sysdeps/i386/dl-tls.h: Likewise.
28867         * sysdeps/i386/setjmp.S: Likewise.
28868         * sysdeps/m68k/setjmp.c: Likewise.
28869         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28870         * sysdeps/mach/hurd/opendir.c: Likewise.
28871         * sysdeps/posix/getcwd.c: Likewise.
28872         * sysdeps/posix/opendir.c: Likewise.
28873         * sysdeps/posix/profil.c: Likewise.
28874         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28875         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28877         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28879         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28880         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28881         * sysdeps/s390/dl-tls.h: Likewise.
28882         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28883         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28884         * sysdeps/sh/sh3/setjmp.S: Likewise.
28885         * sysdeps/sh/sh4/setjmp.S: Likewise.
28886         * sysdeps/unix/alpha/sysdep.h: Likewise.
28887         * sysdeps/unix/arm/sysdep.S: Likewise.
28888         * sysdeps/unix/i386/sysdep.S: Likewise.
28889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28890         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28891         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28894         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28895         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28896         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28897         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28898         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28899         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28900         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28904         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28907         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28908         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28912         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28913         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28916         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28917         * sysdeps/x86_64/setjmp.S: Likewise.
28919         * include/math.h: Use IS_IN instead of IS_IN_libm.
28920         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28932         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28938         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28939         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28940         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28941         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28942         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28943         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28944         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28945         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28947         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28948         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28949         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28950         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28951         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28952         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28954         Likewise.
28955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28956         Likewise.
28957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28958         Likewise.
28959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28960         Likewise.
28961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28962         Likewise.
28963         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28964         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28965         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28966         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28967         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28968         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28974         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28975         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28976         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28977         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28978         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28979         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28980         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28982         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28983         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28984         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28987         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28989         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28991         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28992         * nptl/pthreadP.h: Likewise.
28993         * nptl_db/structs.def: Likewise.
28994         * sysdeps/arm/sysdep.h: Likewise.
28995         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28996         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28997         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28998         * sysdeps/unix/alpha/sysdep.h: Likewise.
28999         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29001         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29002         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29003         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29004         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29006         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29007         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29008         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29009         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29010         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29011         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29012         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29017         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29020         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29021         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29022         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29023         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29026         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29027         * nptl/pthreadP.h: Likewise.
29028         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29029         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29030         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29031         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29032         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29034         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29035         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29036         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29037         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29038         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29039         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29041         Likewise.
29042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29043         Likewise.
29044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29046         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29049         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29050         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29051         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29053         * dlfcn/dladdr.c: Use IS_IN.
29054         * dlfcn/dladdr1.c: Likewise.
29055         * dlfcn/dlclose.c: Likewise.
29056         * dlfcn/dlerror.c: Likewise.
29057         * dlfcn/dlinfo.c: Likewise.
29058         * dlfcn/dlmopen.c: Likewise.
29059         * dlfcn/dlopen.c: Likewise.
29060         * dlfcn/dlsym.c: Likewise.
29061         * dlfcn/dlvsym.c: Likewise.
29063         * include/ifaddrs.h: Use IS_IN.
29064         * inet/check_pf.c: Likewise.
29065         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29066         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29068         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29069         IS_IN_ldconfig.
29070         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29071         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29073         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29074         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29075         IS_IN (libc).
29077         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29079         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29080         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29081         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29082         * include/libc-symbols.h (IS_IN_LIB): New macro.
29083         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29084         * include/netdb.h: Likewise.
29085         * include/stap-probe.h: Remove all uses of IN_LIB.
29087         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29088         instead of IN_MODULE.
29089         * include/libc-symbols.h (IN_MODULE): Define using
29090         MODULE_NAME.
29091         (PASTE_NAME, PASTE_NAME1): New macros.
29092         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29093         of IN_LIB.
29094         (STAP_PROBE_ASM): Likewise.
29096 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29098         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29099         __mach_init in dlopened libc.
29101 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29103         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29104         * sysdeps/arm/preconfigure: Regenerate.
29106 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29108         * nptl/pthread_create.c (__pthread_create_2_1): Set
29109         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29110         when copying values from IATTR into PD.
29112 2014-11-21  Will Newton  <will.newton@linaro.org>
29113             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29115         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29116         Refactor inline-asm.  Also add comment.
29118         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29119         ElfW macro instead of hardcoded Elf64 types.
29120         (la_aarch64_gnu_pltenter): Likewise.
29121         * sysdeps/aarch64/dl-machine.h
29122         (elf_machine_runtime_setup): Use ElfW(Addr).
29124         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29125         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29126         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29127         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29128         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29129         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29130         (R_AARCH64_TLS_DTPMOD): This.
29131         (R_AARCH64_TLS_DTPREL64): Rename to ...
29132         (R_AARCH64_TLS_DTPREL): This.
29133         (R_AARCH64_TLS_TPREL64): Rename to ...
29134         (R_AARCH64_TLS_TPREL): This.
29135         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29136         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29137         R_AARCH64_TLS_TPREL64.
29138         (elf_machine_rela): Likewise.
29140 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29142         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29143         by setting it to 0.  64b atomics are not supported currently.
29145 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29147         [BZ #16469]
29148         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29149         search domain names.
29151 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29153         [BZ #16469]
29154         * NEWS: Update.
29155         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29156         trailing dot.
29157         * posix/tst-getaddrinfo5.c: New.
29158         * posix/Makefile (tests): Add it.
29160 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29162         [BZ #14498]
29163         * NEWS: Fixed.
29164         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29165         after parsing line but before break_if_match.
29166         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29167         if there is a protocol mismatch.
29169 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29171         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29172         because the potential race is on the user-supplied stream.
29174 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29176         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29177         string literal if not passed a buffer.
29178         * manual/job.texi (ctermid): Update reasoning, note deviation
29179         from posix, suggest mtasurace when not passed a buffer, for
29180         future non-preliminary safety notes.
29182 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29184         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29185         of not passing it a buffer.
29186         Reported by Peng Haitao.
29188 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29190         * manual/Makefile ($(objpfx)stamp-summary): Require
29191         check-safety.sh to pass.
29192         * manual/check-safety.sh: Wish for verification that every
29193         @deftypefn and @deftypefun is followed by a @safety remark.
29195 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29197         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29199         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29200         PTHREAD_CANCEL_ASYNCHRONOUS.
29201         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29202         send SIGCANCEL.
29204         * nptl/default-sched.h: New file.
29205         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29206         * nptl/pthread_create.c: Include it.
29207         (__pthread_create_2_1): Use collect_default_sched instead of making
29208         Linux syscalls here directly.
29210 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29212         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29213         __pthread_once): Use C11 atomics.
29215 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29217         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29219 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29221         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29222         atomic_thread_fence_acquire, atomic_thread_fence_release,
29223         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29224         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29225         atomic_compare_exchange_weak_relaxed,
29226         atomic_compare_exchange_weak_acquire,
29227         atomic_compare_exchange_weak_release,
29228         atomic_exchange_acquire, atomic_exchange_release,
29229         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29230         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29231         atomic_fetch_and_acquire,
29232         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29234 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29236         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29237         USE_ATOMIC_COMPILER_BUILTINS): Define.
29238         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29240         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29242         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29244         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29246         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29248         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29250         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29252         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29254         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29256         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29258         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29260         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29261         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29262         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29264         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29266         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29267         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29268         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29269         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29270         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29271         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29272         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29273         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29275         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29276         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29277         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29279 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29281         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29282         the sched_priority value here.  It was already checked when the user
29283         called pthread_attr_setschedparam.
29285         * nptl/tst-bad-schedattr.c: New file.
29286         * nptl/Makefile (tests): Add it.
29288 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29289             Florian Weimer  <fweimer@redhat.com>
29290             Joseph Myers  <joseph@codesourcery.com>
29291             Adam Conrad  <adconrad@0c3.net>
29292             Andreas Schwab  <schwab@suse.de>
29293             Brooks  <bmoses@google.com>
29295         [BZ #17625]
29296         * wordexp-test.c (__dso_handle): Add prototype.
29297         (__register_atfork): Likewise.
29298         (__app_register_atfork): New function.
29299         (registered_forks): New global.
29300         (register_fork): New function.
29301         (test_case): Add 3 new tests for WRDE_CMDSUB.
29302         (main): Call __app_register_atfork.
29303         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29304         fork count is non-zero fail the test.
29305         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29306         is set.
29307         (parse_dollars): Remove check for WRDE_NOCMD.
29308         (parse_dquote): Likewise.
29310 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29312         * Makeconfig (built-modules): List non-library modules to be
29313         built.
29314         (module-cppflags): Include libc-modules.h for
29315         everything except shlib-versions.v.i.
29316         (CPPFLAGS): Use it.
29317         (before-compile): Add libc-modules.h.
29318         ($(common-objpfx)libc-modules.h,
29319         $(common-objpfx)libc-modules.stmp): New targets.
29320         (common-generated): Add libc-modules.h and libc-modules.stmp.
29321         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29322         * include/libc-symbols.h: Don't include libc-modules.h.
29323         * include/libc-modules.h: Remove file.
29324         * scripts/gen-libc-modules.awk: New script to generate
29325         libc-modules.h.
29326         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29327         Depend on libc-modules.stmp.
29329         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29331         * Makeconfig (in-module): Get value of libof set for the
29332         translation unit.
29333         (CPPFLAGS): Use $(in-module).
29334         * Makerules: Don't suffix routine names for nonlib.
29335         * include/libc-modules.h: New file.
29336         * include/libc-symbols.h: Include libc-modules.h
29337         (IS_IN): New macro to replace IS_IN_* macros.
29338         * elf/Makefile: Set libof-* for each routine.
29339         * elf/rtld-Rules: Likewise.
29340         * extra-modules.mk: Likewise.
29341         * iconv/Makefile: Likewise.
29342         * iconvdata/Makefile: Likewise.
29343         * locale/Makefile: Likewise.
29344         * malloc/Makefile: Likewise.
29345         * nss/Makefile: Likewise.
29346         * sysdeps/gnu/Makefile: Likewise.
29347         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29348         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29349         * sysdeps/s390/s390-64/Makefile: Likewise.
29350         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29351         CPPFLAGS for nscd instead of nonlib.
29353 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29355         * nptl/createthread.c: New file.
29357         * nptl/createthread.c: Moved ...
29358         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29360         * nptl/createthread.c: Add proper top-line comment.
29361         (do_clone): Folded into ...
29362         (create_thread): ... here.  Take new arguments STOPPED_START and
29363         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29364         increment __nptl_threads, do event-reporting logic, do
29365         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29366         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29367         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29368         just send SIGCANCEL.
29369         * nptl/pthread_create.c: Forward-declare create_thread before
29370         including createthread.c.
29371         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29372         declaration, and new macro START_THREAD_SELF to replace argument.
29373         Remove return statement.
29374         (report_thread_creation): New function.
29375         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29376         synchronization logic, and __nptl_nthreads increment here, around
29377         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29378         PD->parent_cancelhandling here, before create_thread.  When
29379         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29380         __deallocate_stack, and ENOMEM translation here.
29382 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29384         [BZ #17616]
29385         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29386         (mptwo): Rename to __mptwo.
29387         (__inv): Use __mptwo instead of mptwo.
29388         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29389         (mptwo): Rename to __mptwo.
29390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29391         of mpone and __mptwo instead of mptwo.
29392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29393         instead of mpone.
29394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29395         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29396         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29397         of mpone and __mptwo instead of mptwo.
29398         (__mpranred): Use __mpone instead of mpone.
29399         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29400         variable.
29401         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29402         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29403         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29404         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29405         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29406         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29407         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29408         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29409         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29410         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29411         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29412         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29413         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29414         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29415         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29416         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29417         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29418         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29419         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29421 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29423         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29424         replace BSD Handler xref with BSD Signal Handling.
29426 2014-11-17  Richard Henderson  <rth@redhat.com>
29428         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29429         (_FP_PACK_RAW_2): Remove.
29430         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29431         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29432         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29433         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29434         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29435         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29436         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29437         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29438         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29439         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29440         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29441         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29442         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29443         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29444         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29445         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29447 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29449         * signal/signal.h [__USE_MISC]
29450         (struct sigvec): Remove type.
29451         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29452         (sigvec): Remove declaration.
29453         * sysdeps/posix/sigvec.c: Moved ...
29454         * signal/sigvec.c: ... here, replacing old file.
29455         (struct sigvec): New type, copied from old signal.h definition.
29456         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29457         (__sigvec): Convert definition to prototype.
29458         (sigvec): Replace weak_alias with compat_symbol.
29459         * signal/Versions (libc: GLIBC_2.21): New version set.
29460         * include/signal.h: Remove __sigvec declaration.
29461         * sysdeps/unix/bsd/sigvec.c: Remove file.
29462         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29463         * manual/signal.texi (BSD Handler): Remove subsection.
29464         Move siginterrupt up to ...
29465         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29466         (Blocking in BSD): Fold subsection into its parent.
29467         * NEWS: Mention sigvec removal.
29469 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29471         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29472         (DLA_FMS): Make definition conditional only on [__FMA4__].
29473         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29474         definition.
29476         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29477         Make definition conditional only on [PROF].
29478         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29479         definition.
29480         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29481         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29483         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29484         !__GNUC__].
29485         * include/signal.h (__sigpause): Move declaration above call to
29486         libc_hidden_proto.
29487         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29488         variable.
29489         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29490         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29492 2014-11-14  David S. Miller  <davem@davemloft.net>
29494         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29495         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29497 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29499         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29500         * configure: Regenerated.
29501         * manual/install.texi (Tools for Compilation): Document a
29502         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29503         compiler verified to work.
29504         * INSTALL: Regenerated.
29506         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29507         redeclare with asm name.
29508         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29509         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29510         including <string.h>.
29511         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29512         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29513         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29514         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29515         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29517         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29519 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29521         * stdlib/strtol.c (__strtol): Use prototype definition.
29523         [BZ #17594]
29524         * stdlib/strtol.c (SYM__): New macro.
29525         (SYM__1): Likewise.
29526         (__strtol): Likewise.
29527         (strtol): Rename to __strtol and define as weak alias of
29528         __strtol.  Use libc_hidden_weak.
29530 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29532         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29533         Use numbered labels in inline assembly.
29535 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29537         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29538         Add setjmp LIBC_PROBE.
29539         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29540         Likewise.
29541         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29542         Add longjmp, longjmp_target LIBC_PROBE.
29543         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29544         Likewise.
29546 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29549         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29550         to get rid of unused variable warning.
29552 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29554         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29555         Check for unwind_backtrace ==  NULL only in SHARED case.
29556         (__backchain_backtrace): Compile only in SHARED case.
29557         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29558         Likewise.
29559         (__backchain_backtrace): Declare as static.
29561 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29563         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29564         (__libc_multiple_threads_ptr): Variable moved ...
29565         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29567 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29569         * conform/GlibcConform.pm: New file.
29570         * conform/conformtest.pl: Use GlibcConform module.
29571         * conform/linknamespace.pl: New file.
29572         * conform/list-header-symbols.pl: Likewise.
29573         * conform/Makefile (linknamespace-symlists-base): New variable.
29574         (linknamespace-symlists-tests): Likewise.
29575         (linknamespace-header-base): Likewise.
29576         (linknamespace-header-tests): Likewise.
29577         (tests-special): Add new tests.
29578         ($(linknamespace-symlists-tests)): New rule.
29579         (linknamespace-libs): New variable.
29580         ($(objpfx)symlist-stdlibs): New rule.
29581         ($(linknamespace-header-tests)): Likewise.
29582         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29583         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29584         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29585         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29586         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29587         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29588         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29589         (test-xfail-ISO/math.h/linknamespace): Likewise.
29590         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29591         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29592         (test-xfail-ISO/time.h/linknamespace): Likewise.
29593         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29594         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29595         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29596         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29597         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29598         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29599         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29600         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29601         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29602         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29603         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29604         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29605         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29606         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29607         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29608         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29609         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29610         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29611         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29612         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29613         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29614         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29615         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29616         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29617         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29618         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29619         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29620         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29621         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29622         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29623         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29624         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29625         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29626         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29627         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29628         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29629         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29630         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29631         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29632         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29633         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29634         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29635         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29636         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29637         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29638         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29639         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29640         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29641         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29642         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29643         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29644         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29645         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29646         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29647         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29648         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29649         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29650         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29651         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29652         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29653         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29654         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29655         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29656         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29657         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29658         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29659         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29660         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29661         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29662         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29663         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29664         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29665         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29666         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29667         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29668         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29669         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29670         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29671         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29672         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29673         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29674         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29675         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29676         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29677         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29678         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29679         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29680         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29681         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29682         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29683         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29684         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29685         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29686         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29687         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29688         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29689         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29690         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29691         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29692         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29693         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29694         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29695         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29696         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29697         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29698         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29699         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29700         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29701         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29702         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29703         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29704         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29705         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29706         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29707         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29708         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29709         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29710         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29711         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29712         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29713         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29714         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29715         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29716         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29717         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29718         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29719         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29720         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29721         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29722         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29723         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29724         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29725         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29726         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29727         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29728         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29729         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29730         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29731         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29732         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29733         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29734         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29735         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29736         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29737         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29738         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29739         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29740         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29741         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29742         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29744         [BZ #17589]
29745         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29746         of fgets_unlocked.
29748         [BZ #17585]
29749         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29750         (memmem): Rename to __memmem and define as weak alias of
29751         __memmem.  Use libc_hidden_weak.
29752         (__memmem): Use libc_hidden_def.
29753         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29754         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29755         memmem.
29757         [BZ #17582]
29758         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29759         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29760         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29761         and define as weak alias of __fgets_unlocked.  Use
29762         libc_hidden_weak.
29763         (__fgets_unlocked): Use libc_hidden_def.
29764         * include/stdio.h (__fgets_unlocked): Declare.  Use
29765         libc_hidden_proto.
29766         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29767         __fgets_unlocked instead of fgets_unlocked.
29768         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29769         (GET_NPROCS_CONF_PARSER): Likewise.
29770         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29771         (GET_NPROCS_CONF_PARSER): Likewise.
29773         [BZ #17574]
29774         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29775         weak alias of __wmemset.  Use libc_hidden_weak.
29776         (__wmemset): Use libc_hidden_def.
29777         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29778         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29779         of wmemset.
29781         [BZ #17573]
29782         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29783         with asm name __mempcpy.
29784         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29786         [BZ #17572]
29787         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29788         and define as weak alias of __rawmemchr.
29789         (__rawmemchr): Do not define as strong alias of rawmemchr.
29791         [BZ #17571]
29792         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29793         alias of __qsort_r.
29794         (qsort): Call __qsort_r instead of qsort_r.
29795         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29796         (__qsort_r): Declare.  Call libc_hidden_proto.
29797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29798         instead of qsort_r.
29799         * nscd/gai.c (__qsort_r): Define to qsort_r.
29800         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29801         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29802         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29804         [BZ #17570]
29805         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29806         define as weak alias of __malloc_info.
29808         [BZ #17584]
29809         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29810         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29811         (__rewinddir): Use libc_hidden_def.
29812         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29813         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29814         (__rewinddir): Use libc_hidden_def.
29815         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29816         weak alias of __rewinddir.  Don't use libc_hidden_def.
29817         (__rewinddir): Use libc_hidden_def.
29818         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29819         (__rewinddir): Use libc_hidden_proto.
29820         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29821         rewinddir.
29822         (__getcwd): Use __rewinddir instead of rewinddir.
29824         [BZ #17583]
29825         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29826         alias of __fileno.  Use libc_hidden_weak.
29827         (__fileno): Use libc_hidden_def.
29828         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29829         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29830         alias of __ftello.
29831         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29832         __ftello.
29833         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29834         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29835         libc_hidden_def.
29836         (fread_unlocked): Don't use libc_hidden_ver.
29837         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29838         and define as weak alias of __fread_unlocked.  Don't use
29839         libc_hidden_def.
29840         (__fread_unlocked): Use libc_hidden_def.
29841         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29842         (ftello): Don't use libc_hidden_proto.
29843         (__ftello): Declare.  Use libc_hidden_proto.
29844         (fread_unlocked): Don't use libc_hidden_proto.
29845         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29846         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29847         and __ftello instead of fileno, fread_unlocked and ftello.
29849 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29851         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29852         GOT12.
29853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29854         Likewise.
29855         (_dl_start_user): Likewise.
29856         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29858 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29859             Siddhesh Poyarekar  <siddhesh@redhat.com>
29861         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29862         Move argv and envp down instead of moving argc up.
29863         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29865 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29867         [BZ #17506]
29868         * test-skeleton.c (main): Return successful if one of
29869         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29870         * string/tst-strcoll-overflow.c: Define expected status.
29872 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29874         [BZ #17475]
29875         * locale/iso-639.def: Define Bhili and Tulu language codes.
29877 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29879         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29881 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29883         [BZ #17555]
29884         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29886 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29888         * configure.ac: Updated check of minimal required version to
29889         2.22.
29890         * manual/install.texi (Tools for Compilation): Updated version
29891         number.
29892         * configure: Regenerated.
29893         * INSTALL: Likewise.
29895 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29897         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29898         __tls_get_addr.
29900 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29902         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29903         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29904         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29905         libc_hidden_weak.
29906         (waitpid): Define as alias of __waitpid.
29907         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29908         __waitpid.
29909         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29910         libc_hidden_weak.
29911         (waitpid): Define as alias of __waitpid.
29912         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29913         __libc_waitpid alias.
29914         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29915         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29916         Likewise.
29917         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29918         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29919         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29920         alias.
29921         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29922         __waitpid.
29923         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29924         libc_hidden_weak.
29925         (waitpid): Define as alias of __waitpid.
29927 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29929         * manual/llio.texi: Add comment that write safety has been
29930         fixed in Linux.
29932         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29933         (localplt-build-dso): Add elf/ld.so.
29934         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29935         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29936         and free for ld.so.
29937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29938         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29940         Likewise.
29941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29942         Likewise.
29943         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29944         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29945         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29946         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29947         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29948         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29949         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29950         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29951         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29952         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29953         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29955 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29957         [BZ #14132]
29958         * include/libc-symbols.h (INTUSE): Remove macro.
29959         (INTDEF): Likewise.
29960         (INTVARDEF): Likewise.
29961         (_INTVARDEF): Likewise.
29962         (INTDEF2): Likewise.
29963         (INTVARDEF2): Likewise.
29964         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29965         rtld_hidden_def instead of INTVARDEF.
29966         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29967         (_dl_starting_up_internal): Remove declaration.
29968         (_dl_starting_up): Use rtld_hidden_proto.
29969         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29970         declaration.
29971         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29972         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29973         _dl_starting_up.
29974         * elf/dl-writev.h (_dl_writev): Likewise.
29975         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29976         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29977         _dl_starting_up_internal.
29979 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29981         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29982         test-skeleton.c.
29984 2014-11-05  Will Newton  <will.newton@linaro.org>
29986         * benchtests/Makefile: (bench-malloc): Add malloc thread
29987         scalability benchmark.
29988         * benchtests/bench-malloc-threads.c: New file.
29990 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29992         * sysdeps/aarch64/strchrnul.S: New file.
29994 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29996         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29997         definition.
29998         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29999         Likwise.
30000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30001         Likewise.
30002         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30003         Likewise.
30004         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30005         Likewise.
30006         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30007         Likewise.
30009 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30011         * catgets/test-gencat.c: Use test-skeleton.c.
30012         * catgets/tst-catgets.c: Likewise.
30013         * csu/tst-empty.c: Likewise.
30014         * elf/tst-audit2.c: Likewise.
30015         * elf/tst-global1.c: Likewise.
30016         * elf/tst-pathopt.c: Likewise.
30017         * elf/tst-piemod1.c: Likewise.
30018         * elf/tst-tls10.c: Likewise.
30019         * elf/tst-tls11.c: Likewise.
30020         * elf/tst-tls12.c: Likewise.
30021         * gnulib/tst-gcc.c: Likewise.
30022         * iconvdata/tst-e2big.c: Likewise.
30023         * iconvdata/tst-loading.c: Likewise.
30024         * iconv/tst-iconv1.c: Likewise.
30025         * iconv/tst-iconv2.c: Likewise.
30026         * inet/test-inet6_opt.c: Likewise.
30027         * inet/tst-gethnm.c: Likewise.
30028         * inet/tst-network.c: Likewise.
30029         * inet/tst-ntoa.c: Likewise.
30030         * intl/tst-codeset.c: Likewise.
30031         * intl/tst-gettext2.c: Likewise.
30032         * intl/tst-gettext3.c: Likewise.
30033         * intl/tst-ngettext.c: Likewise.
30034         * intl/tst-translit.c: Likewise.
30035         * io/test-stat.c: Likewise.
30036         * libio/test-fmemopen.c: Likewise.
30037         * libio/tst-freopen.c: Likewise.
30038         * libio/tst-sscanf.c: Likewise.
30039         * libio/tst-ungetwc1.c: Likewise.
30040         * libio/tst-ungetwc2.c: Likewise.
30041         * libio/tst-widetext.c: Likewise.
30042         * localedata/tst-ctype.c: Likewise.
30043         * localedata/tst-digits.c: Likewise.
30044         * localedata/tst-leaks.c: Likewise.
30045         * localedata/tst-mbswcs1.c: Likewise.
30046         * localedata/tst-mbswcs2.c: Likewise.
30047         * localedata/tst-mbswcs3.c: Likewise.
30048         * localedata/tst-mbswcs4.c: Likewise.
30049         * localedata/tst-mbswcs5.c: Likewise.
30050         * localedata/tst-setlocale.c: Likewise.
30051         * localedata/tst-trans.c: Likewise.
30052         * localedata/tst-wctype.c: Likewise.
30053         * localedata/tst-xlocale1.c: Likewise.
30054         * login/tst-grantpt.c: Likewise.
30055         * malloc/tst-calloc.c: Likewise.
30056         * malloc/tst-malloc.c: Likewise.
30057         * malloc/tst-mallocstate.c: Likewise.
30058         * malloc/tst-mcheck.c: Likewise.
30059         * malloc/tst-mtrace.c: Likewise.
30060         * malloc/tst-obstack.c: Likewise.
30061         * math/atest-exp2.c: Likewise.
30062         * math/atest-exp.c: Likewise.
30063         * math/atest-sincos.c: Likewise.
30064         * math/test-matherr.c: Likewise.
30065         * math/test-misc.c: Likewise.
30066         * math/test-powl.c: Likewise.
30067         * math/tst-definitions.c: Likewise.
30068         * misc/tst-dirname.c: Likewise.
30069         * misc/tst-efgcvt.c: Likewise.
30070         * misc/tst-fdset.c: Likewise.
30071         * misc/tst-hsearch.c: Likewise.
30072         * misc/tst-mntent2.c: Likewise.
30073         * nptl/tst-sem7.c: Likewise.
30074         * nptl/tst-sem8.c: Likewise.
30075         * nptl/tst-sem9.c: Likewise.
30076         * nss/test-netdb.c: Likewise.
30077         * posix/tst-fnmatch.c: Likewise.
30078         * posix/tst-getlogin.c: Likewise.
30079         * posix/tst-gnuglob.c: Likewise.
30080         * posix/tst-mmap.c: Likewise.
30081         * pwd/tst-getpw.c: Likewise.
30082         * resolv/tst-inet_ntop.c: Likewise.
30083         * rt/tst-timer.c: Likewise.
30084         * stdio-common/test-fseek.c: Likewise.
30085         * stdio-common/test-popen.c: Likewise.
30086         * stdio-common/test-vfprintf.c: Likewise.
30087         * stdio-common/tst-cookie.c: Likewise.
30088         * stdio-common/tst-fileno.c: Likewise.
30089         * stdio-common/tst-gets.c: Likewise.
30090         * stdio-common/tst-obprintf.c: Likewise.
30091         * stdio-common/tst-perror.c: Likewise.
30092         * stdio-common/tst-sprintf2.c: Likewise.
30093         * stdio-common/tst-sprintf3.c: Likewise.
30094         * stdio-common/tst-sprintf.c: Likewise.
30095         * stdio-common/tst-swprintf.c: Likewise.
30096         * stdio-common/tst-tmpnam.c: Likewise.
30097         * stdio-common/tst-unbputc.c: Likewise.
30098         * stdio-common/tst-wc-printf.c: Likewise.
30099         * stdlib/tst-environ.c: Likewise.
30100         * stdlib/tst-fmtmsg.c: Likewise.
30101         * stdlib/tst-limits.c: Likewise.
30102         * stdlib/tst-rand48-2.c: Likewise.
30103         * stdlib/tst-rand48.c: Likewise.
30104         * stdlib/tst-random2.c: Likewise.
30105         * stdlib/tst-random.c: Likewise.
30106         * stdlib/tst-strtol.c: Likewise.
30107         * stdlib/tst-strtoll.c: Likewise.
30108         * stdlib/tst-tls-atexit.c: Likewise.
30109         * stdlib/tst-xpg-basename.c: Likewise.
30110         * string/test-ffs.c: Likewise.
30111         * string/tst-bswap.c: Likewise.
30112         * string/tst-inlcall.c: Likewise.
30113         * string/tst-strtok.c: Likewise.
30114         * string/tst-strxfrm.c: Likewise.
30115         * sysdeps/x86_64/tst-audit10.c: Likewise.
30116         * sysdeps/x86_64/tst-audit3.c: Likewise.
30117         * sysdeps/x86_64/tst-audit4.c: Likewise.
30118         * sysdeps/x86_64/tst-audit5.c: Likewise.
30119         * time/tst-ftime_l.c: Likewise.
30120         * time/tst-getdate.c: Likewise.
30121         * time/tst-mktime3.c: Likewise.
30122         * time/tst-mktime.c: Likewise.
30123         * time/tst-posixtz.c: Likewise.
30124         * time/tst-strptime2.c: Likewise.
30125         * time/tst-strptime3.c: Likewise.
30126         * wcsmbs/tst-btowc.c: Likewise.
30127         * wcsmbs/tst-mbrtowc.c: Likewise.
30128         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30129         * wcsmbs/tst-wchar-h.c: Likewise.
30130         * wcsmbs/tst-wcpncpy.c: Likewise.
30131         * wcsmbs/tst-wcrtomb.c: Likewise.
30132         * wcsmbs/tst-wcsnlen.c: Likewise.
30133         * wcsmbs/tst-wcstof.c: Likewise.
30135 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30137         [BZ #14132]
30138         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30139         INTDEF.
30140         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30141         declaration.
30142         (_dl_mcount): Use rtld_hidden_proto.
30143         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30144         _dl_mcount.
30145         * elf/rtld.c (_rtld_global_ro): Likewise.
30147         [BZ #14132]
30148         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30149         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30150         of _dl_init_internal.
30151         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30152         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30153         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30154         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30155         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30156         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30157         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30158         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30159         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30160         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30161         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30162         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30163         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30164         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30165         * sysdeps/tile/dl-start.S (_start): Likewise.
30166         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30167         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30169         [BZ #14132]
30170         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30171         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30172         (rtld_progname): Make macro definition unconditional.
30173         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30174         INTDEF.
30175         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30176         (dl_main): Likewise.
30177         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30178         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30179         instead of _dl_argv_internal.
30180         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30181         __GI__dl_argv instead of INTUSE(_dl_argv).
30182         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30183         __GI__dl_argv instead of _dl_argv_internal.
30185         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30186         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30187         macro.
30188         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30189         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30190         New macro.
30191         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30192         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30193         macro.
30194         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30195         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30197 2014-11-04  Andreas Schwab  <schwab@suse.de>
30199         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30201 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30203         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30204         mtvsrd instruction in binary form.
30206 2014-11-03  Andreas Schwab  <schwab@suse.de>
30208         [BZ #17522]
30209         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30210         for less than MB_LEN_MAX use a local buffer of that size.
30211         * libio/tst-fputws.c: New file.
30212         * libio/Makefile (tests): Add tst-fputws.
30214 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30216         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30217         the size of the fpu_fr.fpu_dregs[] array.
30219 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30221         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30222         (__nanosleep): Do not define as alias.
30223         (nanosleep): Define as alias of __nanosleep.
30224         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30225         __libc_nanosleep name.
30227 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30229         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30230         install.texi in comment.
30232 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30234         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30235         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30236         ... add here and use lwsync or sync ...
30237         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30238         ... and add here using lwsync.
30240 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30242         * elf/dl-machine-reject-phdr.h: New file.
30243         * elf/dl-load.c: #include that.
30244         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30245         if that returned true.
30247 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30249         [BZ #17496]
30250         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30251         gen-as-const-headers chunk.  Add a big scare comment after the last
30252         safe place to touch before-compile.
30254 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30256         * manual/install.texi (Tools for Compilation): Update autoconf
30257         version requirements.
30258         * INSTALL: Regenerated.
30260         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30261         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30262         (__libc_pselect): Likewise.
30264         [BZ #14138]
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30270 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30272         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30273         correct barrier instruction.
30274         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30275         Likewise.
30276         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30277         Likewise.
30279 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30281         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30282         after defining inlines.  Instead, just use parens to defeat macro
30283         expansion of __isctype in its declaration.
30285 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30287         * include/sys/uio.h (__libc_readv): Remove declaration.
30288         (__libc_writev): Likewise.
30289         * misc/readv.c (__libc_readv): Rename to __readv.
30290         (__readv): Do not define as alias.
30291         (readv): Define as alias of __readv.
30292         * misc/writev.c (__libc_writev): Rename to __writev.
30293         (__writev): Do not define as alias.
30294         (writev): Define as alias of __writev.
30295         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30296         (__readv): Do not define as alias.
30297         (readv): Define unconditionally as alias of __readv.
30298         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30299         (__writev): Do not define as alias.
30300         (writev): Define unconditionally as alias of __writev.
30301         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30302         name.
30303         (writev): Do not define __libc_writev name.
30305 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30307         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30308         (convert_charseq): New function, broken out of ...
30309         (use_from_charmap): ... here.  Call it.
30310         (use_to_charmap): Use convert_charseq and free instead of duplicating
30311         its code with a variable-length stack struct.
30313 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30315         * include/fcntl.h (__libc_creat): Remove declaration.
30316         * io/creat.c (__libc_creat): Rename to creat.
30317         (creat): Do not define as alias.
30318         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30319         of creat instead of __libc_creat.
30320         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30321         to creat.
30322         (creat): Do not define as alias.
30323         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30324         __libc_creat.
30325         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30326         __libc_creat name.
30327         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30328         Likewise.
30330 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30332         * manual/llio.texi: Add comments discussing why write() may be
30333         considered MT-unsafe on Linux.
30335 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30337         * dl-load.c (local_strdup): Remove.
30338         (expand_dynamic_string_token): Use __strdup.
30339         (decompose_rpath): Likewise.
30340         (_dl_map_object): Likewise.
30342 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30344         [BZ #14132]
30345         * sysdeps/generic/unwind-dw2-fde.c
30346         (__register_frame_info_bases_internal): Do not declare.
30347         (__register_frame_info_table_bases_internal): Likewise.
30348         (__deregister_frame_info_bases_internal): Likewise.
30349         (__register_frame_info_bases): Declare and use hidden_proto before
30350         definition.  Use hidden_def instead of INTDEF.
30351         (__register_frame_info_table_bases): Likewise.
30352         (__deregister_frame_info_bases): Likewise.
30353         (__register_frame_info): Do not use INTUSE.
30354         (__register_frame): Likewise.
30355         (__register_frame_info_table): Likewise.
30356         (__register_frame_table): Likewise.
30357         (__deregister_frame_info): Likewise.
30358         (__deregister_frame): Likewise.
30360 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30363         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30364         not undefine.
30365         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30366         Likewise.
30367         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30368         Likewise.
30370 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30372         [BZ #14138]
30373         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30374         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30375         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30376         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30377         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30378         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30379         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30380         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30381         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30382         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30383         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30384         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30385         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30386         syscall.
30387         (setfsuid): Likewise.
30388         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30389         (setfsuid): Likewise.
30390         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30391         (setfsuid): Likewise.
30392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30393         Likewise.
30394         (setfsuid): Likewise.
30395         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30396         (setfsuid): Likewise.
30397         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30398         Likewise.
30399         (setfsuid): Likewise.
30401 2014-10-27  Andreas Schwab  <schwab@suse.de>
30403         [BZ #17501]
30404         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30405         check for Slow_SSE4_2 feature bit.
30406         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30407         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30408         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30409         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30411 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30413         * configure.ac: Validate compiler version with a empirical test of
30414         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30415         $CC -v output.
30416         * configure: Regenerated.
30418         * inet/htons.c (htons): Prototypify.
30419         * inet/htonl.c (htonl): Likewise.
30421 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30423         * string/strncat.c (strncat): Improve performance by using strlen.
30425 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30427         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30429 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30431         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30432         Call libc_fetestexcept_aarch64.
30434 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30436         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30437         Call libc_feholdexcept_aarch64.
30439 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30441         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30442         Call get_rounding_mode.
30444 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30446         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30447         Simplify logic.
30449 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30451         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30452         Simplify logic.
30454 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30456         [BZ #14138]
30457         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30458         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30459         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30460         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30461         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30462         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30463         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30464         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30465         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30466         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30467         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30468         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30469         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30470         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30471         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30472         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30473         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30474         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30475         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30476         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30477         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30478         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30479         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30480         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30481         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30482         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30483         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30484         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30485         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30486         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30487         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30488         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30489         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30490         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30491         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30492         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30493         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30494         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30495         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30496         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30497         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30498         syscall.
30499         (geteuid): Likewise.
30500         (getgid): Likewise.
30501         (getuid): Likewise.
30502         (getresgid): Likewise.
30503         (getresuid): Likewise.
30504         (getgroups): Likewise.
30505         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30506         (geteuid): Likewise.
30507         (getgid): Likewise.
30508         (getuid): Likewise.
30509         (getresgid): Likewise.
30510         (getresuid): Likewise.
30511         (getgroups): Likewise.
30512         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30513         (geteuid): Likewise.
30514         (getgid): Likewise.
30515         (getuid): Likewise.
30516         (getresgid): Likewise.
30517         (getresuid): Likewise.
30518         (getgroups): Likewise.
30519         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30520         Likewise.
30521         (geteuid): Likewise.
30522         (getgid): Likewise.
30523         (getuid): Likewise.
30524         (getresgid): Likewise.
30525         (getresuid): Likewise.
30526         (getgroups): Likewise.
30527         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30528         (geteuid): Likewise.
30529         (getgid): Likewise.
30530         (getuid): Likewise.
30531         (getresgid): Likewise.
30532         (getresuid): Likewise.
30533         (getgroups): Likewise.
30534         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30535         Likewise.
30536         (geteuid): Likewise.
30537         (getgid): Likewise.
30538         (getuid): Likewise.
30539         (getgroups): Likewise.
30541         [BZ #14138]
30542         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30543         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30544         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30545         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30546         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30547         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30548         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30549         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30550         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30551         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30552         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30553         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30554         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30555         __chown.
30556         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30557         (lchown): Likewise.
30558         (fchown): Likewise.
30559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30560         Likewise.
30561         (lchown): Likewise.
30562         (fchown): Likewise.
30563         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30564         (lchown): Likewise.
30565         (fchown): Likewise.
30566         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30567         Likewise.
30568         (lchown): Likewise.
30569         (fchown): Likewise.
30571 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30573         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30574         Simplify logic.
30576 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30578         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30579         Cleanup logic.
30581 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30583         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30584         Remove unused include.
30586 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30588         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30590         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30591         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30593 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30594             Helge Deller <deller@gmx.de>
30596         [BZ #17508]
30597         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30598         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30599         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30601 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30603         [BZ #14132]
30604         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30605         Remove macro definition.
30606         (__ashrdi3_v_glibc20): Likewise.
30607         (__lshrdi3_v_glibc20): Likewise.
30608         (__cmpdi2_v_glibc20): Likewise.
30609         (__ucmpdi2_v_glibc20): Likewise.
30610         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30611         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30612         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30613         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30614         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30615         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30617 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30619         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30620         old GNU extension [0] syntax.
30621         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30622         alloca rather than an array member with variable length.
30623         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30624         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30625         (parse_opt): ... here.  Likewise use alloca there.
30626         Validate the -i argument before checking for rootness.
30627         (send_shutdown): New function, broken out of ...
30628         (parse_opt): ... here.
30630 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30632         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30633         macro to get at the _rt_local_ro field.
30634         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30635         ([PIC] case) or _dl_hwcap ([!PIC] case).
30636         * sysdeps/arm/setjmp.S: Likewise.
30638         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30639         * sysdeps/arm/configure.ac: New check to define it.
30640         * sysdeps/arm/configure: Regenerated.
30641         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30642         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30643         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30644         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30645         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30646         Use move/movt pair instead of a load.
30647         (LDST_GLOBAL): Macro removed.
30648         (LDR_GLOBAL): New macro replaces it.
30649         (LDR_HIDDEN): New macro.
30650         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30651         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30653         * setjmp/tst-setjmp-static.c: New file.
30654         * setjmp/Makefile (tests): Add it.
30655         (tests-static): New variable.
30657 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30659         [BZ #17485]
30660         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30662 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30664         [BZ #14132]
30665         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30667 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30669         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30671 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30673         * io/fts.c (dirent_not_directory): New function.
30674         (fts_build): Call it.
30676 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30678         * nptl/version.c (__nptl_main): Use normal __write rather than
30679         INTERNAL_SYSCALL.
30680         (banner): Update copyright years.
30682         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30683         gettimeofday.
30684         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30685         * nptl/pthread_cond_timedwait.c: Likewise.
30686         * nptl/pthread_mutex_timedlock.c: Likewise.
30687         * nptl/sem_timedwait.c: Likewise.
30689         * sysdeps/nptl/bits/libc-lock.h
30690         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30691         (__libc_lock_init_recursive): Return void, not 0.
30692         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30693         (__libc_rwlock_init): Likewise.
30694         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30696 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30698         [BZ #15215]
30699         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30700         (__pthread_once_slow): ... here.
30701         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30702         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30704 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30706         [BZ #15215]
30707         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30708         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30709         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30710         * nptl/pthread_once.c (__pthread_once): Likewise.
30711         Update comments.
30713 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30715         [BZ #14138]
30716         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30717         name.
30718         (writev): Use __libc_writev as strong name.
30719         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30720         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30722 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30724         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30726         * sysdeps/i386/nptl/tls.h
30727         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30728         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30729         New macros.
30730         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30731         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30732         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30733         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30734         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30735         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30737         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30738         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30739         on [__NR_futex].
30740         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30741         broken out of ...
30742         (__pthread_mutex_init): ... here.  Call it.
30743         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30744         Conditionalize PI cases on [__NR_futex].
30745         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30746         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30747         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30749         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30750         conditional on [SIGSETXID].
30751         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30752         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30753         is defined.  Likewise for SIGSETXID.
30754         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30755         Conditionalize definitions on [SIGSETXID].
30756         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30757         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30758         unblocking on [SIGCANCEL].
30760         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30761         [__NR_set_robust_list].
30763 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30765         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30766         (do_compare): Likewise.
30768 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30770         [BZ #15884]
30771         * string/strcoll_l.c: Don't include stdio.h.
30772         (coll_seq): Remove members idxarr and rulearr.
30773         (get_next_seq_cached): Remove function.
30774         (get_next_seq): Likewise.
30775         (get_next_seq_nocache): Rename to get_next_seq.
30776         (do_compare): Remove function.
30777         (do_compare_nocache): Rename to do_compare.
30778         (STRCOLL): Remove weight and rules cache.
30780 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30782         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30783         * sysdeps/arm/sfp-machine.h: ... to here.
30784         * sysdeps/arm/Implies: Remove arm/soft-fp.
30786 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30788         * conform/data/sys/utsname.h-data (*_t): Allow.
30789         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30790         [POSIX] (WEXITED): Do not expect constant.
30791         [POSIX] (WSTOPPED): Likewise.
30792         [POSIX] (WNOHANG): Likewise.
30793         [POSIX] (WNOWAIT): Likewise.
30794         [POSIX] (siginfo_t): Do not expect type or elements.
30795         [POSIX] (pid_t): Do not expect type.
30796         [POSIX] (signal.h): Do not allow header.
30797         [POSIX] (sys/resource.h): Likewise.
30798         [POSIX] (si_*): Do not allow pattern.
30799         [POSIX] (W*): Likewise.
30800         [POSIX] (P_*): Likewise.
30801         [POSIX] (BUS_*): Likewise.
30802         [POSIX] (CLD_*): Likewise.
30803         [POSIX] (FPE_*): Likewise.
30804         [POSIX] (ILL_*): Likewise.
30805         [POSIX] (POLL_*): Likewise.
30806         [POSIX] (SEGV_*): Likewise.
30807         [POSIX] (SI_*): Likewise.
30808         [POSIX] (TRAP_*): Likewise.
30809         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30810         variable.
30812 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30814         [BZ #12926]
30815         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30816         infinite loop when __recvmsg returns 0.
30818 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30820         * CANCEL-FCT-WAIVE: Remove file.
30821         * CANCEL-FILE-WAIVE: Likewise.
30823         [BZ #14132]
30824         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30825         instead of INTVARDEF.
30826         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30827         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30828         rtld_hidden_data_def instead of INTVARDEF.
30829         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30830         * elf/dl-deps.c (expand_dst): Likewise.
30831         * elf/dl-load.c (_dl_dst_count): Likewise.
30832         (_dl_dst_substitute): Likewise.
30833         (decompose_rpath): Likewise.
30834         (_dl_init_paths): Likewise.
30835         (open_path): Likewise.
30836         (_dl_map_object): Likewise.
30837         * elf/rtld.c (dl_main): Likewise.
30838         (process_dl_audit): Likewise.
30839         (process_envvars): Likewise.
30840         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30841         Remove declaration.
30842         (__libc_enable_secure): Use rtld_hidden_proto.
30844 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30846         * elf/dl-load.c
30847         (add_path): New function broken out of _dl_rtld_di_serinfo.
30848         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30850 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30852         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30853         parentheses around macro arguments.
30854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30855         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30865         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30866         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30869         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30870         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30883         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30884         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30886         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30887         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30888         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30889         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30890         Likewise.
30891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30898         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30900         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30901         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30902         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30903         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30908         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30912         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30913         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30914         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30917         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30918         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30919         (_FP_FRAC_SRS_1): Likewise.
30920         (_FP_FRAC_CLZ_1): Likewise.
30921         (_FP_MUL_MEAT_1_imm): Likewise.
30922         (_FP_MUL_MEAT_1_wide): Likewise.
30923         (_FP_MUL_MEAT_1_hard): Likewise.
30924         (_FP_SQRT_MEAT_1): Likewise.
30925         (_FP_FRAC_ASSEMBLE_1): Likewise.
30926         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30927         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30928         (__FP_CLZ_2): Likewise.
30929         (_FP_MUL_MEAT_2_wide): Likewise.
30930         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30931         (_FP_MUL_MEAT_2_gmp): Likewise.
30932         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30933         (_FP_SQRT_MEAT_2): Likewise.
30934         (_FP_FRAC_ASSEMBLE_2): Likewise.
30935         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30936         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30937         (_FP_FRAC_CLZ_4): Likewise.
30938         (_FP_MUL_MEAT_4_wide): Likewise.
30939         (_FP_MUL_MEAT_4_gmp): Likewise.
30940         (_FP_SQRT_MEAT_4): Likewise.
30941         (_FP_FRAC_ASSEMBLE_4): Likewise.
30942         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30943         * soft-fp/op-common.h (_FP_CMP): Likewise.
30944         (_FP_CMP_EQ): Likewise.
30945         (_FP_CMP_UNORD): Likewise.
30946         (_FP_TO_INT): Likewise.
30947         (_FP_FROM_INT): Likewise.
30948         [!__FP_CLZ] (__FP_CLZ): Likewise.
30949         (_FP_DIV_HELP_imm): Likewise.
30950         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30951         Likewise.
30952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30953         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30963         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30967         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30968         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30981         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30984         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30985         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30986         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30987         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30988         (FP_UNPACK_RAW_SP): Likewise.
30989         (FP_PACK_RAW_S): Likewise.
30990         (FP_PACK_RAW_SP): Likewise.
30991         (FP_UNPACK_S): Likewise.
30992         (FP_UNPACK_SP): Likewise.
30993         (FP_UNPACK_SEMIRAW_S): Likewise.
30994         (FP_UNPACK_SEMIRAW_SP): Likewise.
30995         (FP_PACK_S): Likewise.
30996         (FP_PACK_SP): Likewise.
30997         (FP_PACK_SEMIRAW_S): Likewise.
30998         (FP_PACK_SEMIRAW_SP): Likewise.
30999         (_FP_SQRT_MEAT_S): Likewise.
31000         (FP_CMP_S): Likewise.
31001         (FP_CMP_EQ_S): Likewise.
31002         (FP_CMP_UNORD_S): Likewise.
31003         (FP_TO_INT_S): Likewise.
31004         (FP_FROM_INT_S): Likewise.
31006         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31008         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31009         (FP_EX_INVALID_IMZ): Likewise.
31010         (FP_EX_INVALID_IMZ_FMA): Likewise.
31011         (FP_EX_INVALID_ISI): Likewise.
31012         (FP_EX_INVALID_ZDZ): Likewise.
31013         (FP_EX_INVALID_IDI): Likewise.
31014         (FP_EX_INVALID_SQRT): Likewise.
31015         (FP_EX_INVALID_CVI): Likewise.
31016         (FP_EX_INVALID_VC): Likewise.
31017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31018         "invalid" exceptions.
31019         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31020         (_FP_ADD_INTERNAL): Likewise.
31021         (_FP_MUL): Likewise.
31022         (_FP_FMA): Likewise.
31023         (_FP_DIV): Likewise.
31024         (_FP_CMP_CHECK_NAN): Likewise.
31025         (_FP_SQRT): Likewise.
31026         (_FP_TO_INT): Likewise.
31027         (FP_EXTEND): Likewise.
31029 2014-10-09  Allan McRae  <allan@archlinux.org>
31031         * po/fr.po: Update French translation from translation project.
31033 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31035         [BZ #14132]
31036         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31037         of INTDEF.
31038         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31039         (__cxa_atexit): Use libc_hidden_proto.
31040         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31042         [BZ #14132]
31043         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31044         declaration.
31045         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31046         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31047         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31048         [!_ISOMAC] (__iswctype_internal): Likewise.
31049         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31050         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31051         alias.
31052         (fcntl): Remove __fcntl_internal alias.
31053         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31054         __connect_internal alias.
31055         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31056         Likewise.
31058         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31059         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31060         FP_DENORM_ZERO.
31061         (_FP_CHECK_FLUSH_ZERO): New macro.
31062         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31063         (_FP_CMP): Likewise.
31064         (_FP_CMP_EQ): Likewise.
31065         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31066         FP_DENORM_ZERO.
31067         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31068         (FP_TRUNC): Likewise.
31070         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31071         treated as invalid conversion, not as normal exponent.
31073         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31074         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31075         (_FP_CMP_EQ): Likewise.
31076         (_FP_CMP_UNORD): Likewise.
31077         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31078         (FP_CMP_EQ_D): Likewise.
31079         (FP_CMP_UNORD_D): Likewise.
31080         * soft-fp/extended.h (FP_CMP_E): Likewise.
31081         (FP_CMP_EQ_E): Likewise.
31082         (FP_CMP_UNORD_E): Likewise.
31083         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31084         (FP_CMP_EQ_Q): Likewise.
31085         (FP_CMP_UNORD_Q): Likewise.
31086         * soft-fp/single.h (FP_CMP_S): Likewise.
31087         (FP_CMP_EQ_S): Likewise.
31088         (FP_CMP_UNORD_S): Likewise.
31089         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31090         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31091         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31092         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31093         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31094         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31095         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31096         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31097         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31098         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31099         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31100         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31101         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31102         to FP_CMP_Q.
31103         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31104         FP_CMP_Q.
31105         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31106         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31107         FP_CMP_EQ_Q.
31108         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31109         FP_CMP_Q.
31110         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31111         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31112         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31113         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31114         FP_CMP_EQ_Q.
31115         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31116         FP_CMP_Q.
31117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31119         FP_CMP_EQ_Q.
31120         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31121         FP_CMP_Q.
31122         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31123         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31124         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31125         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31126         FP_CMP_EQ_Q.
31128         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31129         a subnormal result, set the underflow exception if trapping on
31130         underflow is enabled.
31131         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31132         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31133         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31134         redefine to 0.
31135         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31136         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31137         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31138         * soft-fp/extendxftf2.c (__extendxftf2): Use
31139         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31141         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31142         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31143         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31144         FP_HANDLE_EXCEPTIONS.
31145         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31146         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31147         FP_HANDLE_EXCEPTIONS.
31148         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31149         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31150         FP_HANDLE_EXCEPTIONS.
31151         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31152         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31153         FP_HANDLE_EXCEPTIONS.
31155 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31157         [BZ #14132]
31158         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31159         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31160         use INTUSE.
31161         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31162         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31163         Remove alias.
31164         (__adjtimex): Define using libc_hidden_ver.
31165         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31166         Remove declaration.
31167         (ntp_gettime): Call __adjtimex directly.
31168         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31169         Remove declaration.
31170         (ntp_gettimex): Call __adjtimex directly.
31171         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31172         __adjtimex_internal alias.
31174 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31176         [BZ #17460]
31177         * nscd/nscd.c (more_help): Rewrite list of tables collection
31178         using xstrdup and asprintf.
31180         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31182 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31183             Roland McGrath  <roland@hack.frob.com>
31185         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31186         (do_lookup_unique): ... local function 'enter' here; update callers.
31188 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31190         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31191         compat_symbol calls on [SHARED].
31192         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31193         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31194         Remove.
31195         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31196         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31197         (oldsetrlimit): Remove.
31198         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31200         (lchown): New syscall entry.
31201         (oldsetrlimit): Remove.
31202         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31203         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31204         (oldsetrlimit): Remove.
31205         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31207         [BZ #14138]
31208         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31209         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31210         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31211         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31212         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31213         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31214         (fchown): Likewise.
31215         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31216         (fchown): Likewise.
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31218         Likewise.
31220 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31223         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31224         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31225         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31226         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31227         Likewise.
31228         (__old_sem_post): Likewise.
31230 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31232         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31233         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31234         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31235         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31236         Use INLINE_VSYSCALL macro.
31237         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31238         __vdso_clock_gettime.
31239         * sysdeps/unix/sysv/linux/tile/init-first.c
31240         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31241         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31242         __vdso_clock_gettime.
31244         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31245         to set up frame more cleanly.
31247         * sysdeps/tile/memcmp.c: New file.
31249         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31251         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31252         * sysdeps/tile/tilegx/strcasestr.c: New file.
31253         * sysdeps/tile/tilegx/strnlen.c: New file.
31254         * sysdeps/tile/tilegx/strstr.c: New file.
31256         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31258 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31260         * nptl/tst-setuid3.c: Write errors to stdout.
31262 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31264         * elf/dl-deps.c
31265         (preload): New functions broken out of _dl_map_object_deps.
31266         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31268 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31270         [BZ #14138]
31271         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31272         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31274 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31276         * sysdeps/mips/strcmp.S: New.
31278 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31280         [BZ #14138]
31281         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31282         (linkat): Likewise.
31283         (mkdirat): Likewise.
31284         (readlinkat): Likewise.
31285         (renameat): Likewise.
31286         (symlinkat): Likewise.
31287         (unlinkat): Likewise.
31288         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31289         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31290         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31291         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31292         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31293         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31294         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31296 2014-09-30  Will Newton  <will.newton@linaro.org>
31298         * math/math.h: Define long double math functions if
31299         _LIBC_TEST is defined.
31300         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31302         * localedata/Makefile: Move assignment to tests-special
31303         into an ifdef testing run-built-tests.
31304         * timezone/Makefile: Likewise.
31306 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31308         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31309         with $(BASH) not $(SHELL).
31311 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31312             Matthew LeGendre  <legendre1@llnl.gov>
31314         [BZ #17411]
31315         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31316         l_reloc_result.
31318 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31320         * stdio-common/printf_fp.c
31321         (hack_digit): New function, broken out of ...
31322         (__printf_fp): ... local function here.  Update call sites.
31323         hack_digit now takes an additional parameter that is a pointer
31324         to a struct of the referenced locals.  Those locals moved inside
31325         the struct and references updated.
31327 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31329         * aclocal.m4: Require autoconf 2.69.
31330         * configure: Regenerated.
31331         * sysdeps/aarch64/configure: Likewise.
31332         * sysdeps/alpha/configure: Likewise.
31333         * sysdeps/arm/armv7/configure: Likewise.
31334         * sysdeps/arm/configure: Likewise.
31335         * sysdeps/ia64/configure: Likewise.
31336         * sysdeps/mach/configure: Likewise.
31337         * sysdeps/mips/configure: Likewise.
31338         * sysdeps/s390/configure: Likewise.
31339         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31342         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31343         file.
31344         * sysdeps/ia64/configure.ac: Likewise.
31346 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31349         specify symbol version for ld.so.  Do not include entry for
31350         libpthread.
31351         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31352         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31353         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31355         [BZ #14171]
31356         * Makeconfig [$(build-shared) = yes]
31357         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31358         makefiles.
31359         [$(build-shared) = yes && $(soversions.mk-done) = t]
31360         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31361         [$(build-shared) = yes && $(soversions.mk-done) = t]
31362         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31363         to Makerules.
31364         [$(build-shared) = yes && $(soversions.mk-done) = t]
31365         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31366         here.
31367         [$(build-shared) = yes && $(soversions.mk-done) = t]
31368         (common-generated): Don't append gnu/lib-names.h and
31369         gnu/lib-names.stmp here.
31370         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31371         (lib-names-h-abi): New variable.
31372         [$(build-shared) = yes && $(soversions.mk-done) = t]
31373         (lib-names-stmp-abi): Likewise.
31374         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31375         abi-variants] (before-compile): Append
31376         $(common-objpfx)$(lib-names-h-abi).
31377         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31378         abi-variants] (common-generated): Append gnu/lib-names.h.
31379         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31380         abi-variants] (install-others-nosubdir): Depend on
31381         $(inst_includedir)/$(lib-names-h-abi).
31382         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31383         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31384         [$(build-shared) = yes && $(soversions.mk-done) = t]
31385         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31386         [$(build-shared) = yes && $(soversions.mk-done) = t]
31387         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31388         [$(build-shared) = yes && $(soversions.mk-done) = t]
31389         (common-generated): Append $(lib-names-h-abi) and
31390         $(lib-names-stmp-abi).
31391         * scripts/lib-names.awk: Do not handle multi being set.
31392         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31393         Remove variable.
31394         (abi-lp64_be-ld-soname): Likewise.
31395         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31396         Likewise.
31397         (abi-hard-ld-soname): Likewise.
31398         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31399         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31400         Remove variable.
31401         (abi-o32_hard-ld-soname): Likewise.
31402         (abi-o32_soft_2008-ld-soname): Likewise.
31403         (abi-o32_hard_2008-ld-soname): Likewise.
31404         (abi-n32_soft-ld-soname): Likewise.
31405         (abi-n32_hard-ld-soname): Likewise.
31406         (abi-n32_soft_2008-ld-soname): Likewise.
31407         (abi-n32_hard_2008-ld-soname): Likewise.
31408         (abi-n64_soft-ld-soname): Likewise.
31409         (abi-n64_hard-ld-soname): Likewise.
31410         (abi-n64_soft_2008-ld-soname): Likewise.
31411         (abi-n64_hard_2008-ld-soname): Likewise.
31412         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31413         Likewise.
31414         (abi-64-v2-ld-soname): Likewise.
31415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31416         ld.so entries.
31417         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31418         variable.
31419         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31420         entry.
31421         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31422         variable.
31423         (abi-64-ld-soname): Likewise.
31424         (abi-x32-ld-soname): Likewise.
31425         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31426         entry.
31427         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31429 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31431         [BZ #14138]
31432         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31433         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31434         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31435         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31436         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31437         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31438         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31439         syscall entry for GLIBC_2.2 symbol version.
31440         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31441         Likewise.
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31443         (setrlimit): Likewise.
31444         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31445         Likewise.
31447 2014-09-23  Will Newton  <will.newton@linaro.org>
31449         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31450         _LINUX_ARM_SYSDEP_H include guard too.
31451         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31452         define.
31454 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31456         * sysdeps/unix/sysv/linux/eventfd.c:
31457         Make first argument unsigned.
31458         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31459         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31461 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31463         [BZ #16852]
31464         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31465         * socket/sys/socket.h: Likewise.
31466         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31468 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31470         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31472 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31474         * time/tst-ftime.c: New test.
31475         * time/Makefile (tests): Add tst-ftime.
31477 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31479         * soft-fp/extended.h: Fix comment formatting.
31480         * soft-fp/op-1.h: Likewise.
31481         * soft-fp/op-2.h: Likewise.
31482         * soft-fp/op-4.h: Likewise.
31483         * soft-fp/op-8.h: Likewise.
31484         * soft-fp/op-common.h: Likewise.
31485         * soft-fp/soft-fp.h: Likewise.
31487         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31489 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31491         [BZ #6652]
31492         * Makeconfig (soversions-default-setname): Remove variable.
31493         ($(common-objpfx)soversions.i): Don't pass default_setname to
31494         soversions.awk.
31495         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31496         oldest_abi to abi-versions.awk.
31497         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31498         * config.make.in (oldest-abi): Remove variable.
31499         * configure.ac (--enable-oldest-abi): Remove configure option.
31500         * configure: Regenerated.
31501         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31502         text.
31503         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31504         * scripts/soversions.awk: Do not handle default_setname variable.
31505         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31506         variable.
31507         * sysdeps/mach/hurd/configure: Regenerated.
31508         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31509         variable.
31510         * sysdeps/unix/sysv/linux/configure: Regenerated.
31512 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31514         * elf/Makefile (CFLAGS-interp.c): Remove.
31515         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31516         path string.
31517         * elf/interp.c: Include generated runtime-linker.h
31519         * Makerules (lib%.so): Don't include $(+interp) in
31520         prerequisites.
31521         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31522         * dlfcn/eval.c: Remove file.
31524         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31525         macros.
31527         [BZ #17266]
31528         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31529         4.2 and newer.
31531         [BZ #17370]
31532         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31534 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535             Jakub Jelinek  <jakub@redhat.com>
31537         [BZ #17266]
31538         * libio/stdio.h: Check definition of __fortify_function
31539         instead of __extern_always_inline to include bits/stdio2.h.
31540         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31541         check if __extern_always_inline is defined.
31542         [__USE_MISC || __USE_XOPEN]: Likewise.
31543         [__USE_ISOC99] Likewise.
31544         * misc/sys/cdefs.h (__fortify_function): Define only if
31545         __extern_always_inline is defined.
31546         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31547         __extern_always_inline and __extern_inline only for g++-4.3
31548         and newer or a compatible gcc.
31550 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31552         [BZ #17371]
31553         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31554         last change to handle zero prefix length.
31556 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31558         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31559         _SC_REGEX_VERSION.
31561         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31562         _POSIX_RAW_SOCKETS.
31564 2014-09-13  Allan McRae  <allan@archlinux.org>
31566         * po/ru.po: Update Russian translation from translation project.
31568 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31570         * locale/programs/locale.c (show_locale_vars): Inline local function
31571         into its sole call site.  Clean up some style nits.
31572         (print_item): New function, broken out of ...
31573         (show_info): ... local function here.  Clean up style nits.
31575         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31576         out of ...
31577         (set_class_defaults): ... local function set_default here.
31578         Define set_default as a macro locally to pass constant parameters.
31579         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31580         rather than a shared local.
31582         * stdlib/rpmatch.c (try): New function, broken out of ...
31583         (rpmatch): ... local function here.  Also, prototypify definition.
31585 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31587         * scripts/soversions.awk: Do not handle configuration names.
31588         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31589         vendor and os variables to soversions.awk.
31590         * configure.ac: Do not modify gnu-* host_os.
31591         * configure: Regenerated
31592         * shlib-versions: Remove first column with configuration names.
31593         * nptl/shlib-versions: Likewise.
31594         * nptl_db/shlib-versions: Likewise.
31595         * sysdeps/hppa/shlib-versions: Likewise.
31596         * sysdeps/m68k/shlib-versions: Likewise.
31597         * sysdeps/mach/hurd/shlib-versions: Likewise.
31598         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31599         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31600         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31601         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31602         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31603         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31604         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31605         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31607         Likewise.
31608         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31609         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31610         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31611         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31612         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31613         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31614         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31615         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31618         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31620         Regenerated.
31621         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31623         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31625         * shlib-versions: Remove OS-specific entries.  Moved to files in
31626         sysdeps.
31627         * sysdeps/mach/hurd/shlib-versions: New file.
31628         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31630         * nptl/shlib-versions: Remove architecture-specific entries.
31631         Moved to files in sysdeps.
31632         * shlib-versions: Likewise.
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31634         file.
31635         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31636         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31637         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31638         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31640         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31641         (UDP_NO_CHECK6_RX): Likewise.
31643 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31645         * sysdeps/posix/sysconf.c (__sysconf): Spell
31646         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31648 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31650         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31651         loading.
31652         * iconv/Versions (__gconv_transliterate): Export for use from
31653         gconv modules.
31654         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31655         (struct __gconv_trans_data, __gconv_trans_fct,
31656         __gconv_trans_context_fct, __gconv_trans_query_fct,
31657         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31658         definitions.
31659         (struct __gconv_step_data): Remove __trans member.
31660         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31661         longer hidden.  Remove unused trans_data argument.
31662         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31663         (__gconv_translit_find): Remove declaration.
31664         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31665         prototype.
31666         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31667         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31668         trans_data argument.  Add hidden definition.
31669         (__gconv_translit_find): Remove.
31670         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31671         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31672         * iconv/skeleton.c: Remove transliteration initialization.
31673         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31674         __gconv_step_data initialization.
31675         * libio/iofwide.c (__libio_translit_): Remove.
31676         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31677         * wcsmbs/btowc.c (__btowc): Likewise.
31678         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31679         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31680         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31681         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31682         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31683         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31684         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31685         * wcsmbs/wctob.c (wctob): Likewise.
31687 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31689         [BZ #16194]
31690         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31691         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31692         register usage.
31693         * sysdeps/x86/Makefile: Adjust.
31695 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31696             Roland McGrath  <roland@hack.frob.com>
31698         * locale/weight.h: Add include guard.
31699         (findidx): Make static rather than auto; take new parameters
31700         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31701         * locale/weightwc.h: Likewise.
31702         * posix/fnmatch_loop.c
31703         (FCT): Change type of EXTRA from int32_t to wint_t.
31704         Don't include either header inside the function.
31705         Call FINDIDX rather than findidx, and pass new arguments.
31706         #undef FINDIDX at the end of the file.
31707         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31708         FINDIDX before including fnmatch_loop.c for the non-wide version.
31709         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31710         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31711         for the wide version.
31712         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31713         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31714         Pass new arguments to findidx.
31715         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31716         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31717         Don't #include it inside the function.  Pass new arguments to findidx.
31718         * posix/regex_internal.h
31719         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31720         (re_string_elem_size_at): Don't #include it inside the function.
31721         Pass new arguments to findidx.
31722         * string/strcoll_l.c: #include WEIGHT_H at top level.
31723         (get_next_seq): Don't #include it inside the function.
31724         Pass new arguments to findidx.
31725         (get_next_seq_nocache): Likewise.
31726         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31727         (STRXFRM): Don't #include it inside the function.
31728         Pass new arguments to findidx.
31730 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31732         [BZ #17344]
31733         * malloc/malloc.c (unlink): Turn asserts into a call to
31734         malloc_printerr.
31736 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31738         [BZ #17370]
31739         * libio/wfileops (do_ftell_wide): Free OUT.
31741 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31743         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31745 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31747         [BZ #17363]
31748         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31749         group if the current group is empty.
31751 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31753         * benchtests/bench-memset.c (test_main): Add more test from size
31754         from 32 to 512 bytes.
31755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31756         Add POWER8 memset object.
31757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31758         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31759         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31760         implementation.
31761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31762         Likewise.
31763         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31764         multiarch POWER8 memset optimization.
31765         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31766         POWER8 memset optimization.
31768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31769         Remove bzero multiarch objects.
31770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31772         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31774         Remove define.
31775         [__bzero]: Redefine to specific name.
31776         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31777         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31778         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31779         define.
31780         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31781         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31783 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31785         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31786         warnings into errors.
31788         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31789         __cxa_thread_atexit_impl prototype.
31791 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31793         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31794         Fix capitalization of error message.
31796 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31798         * sysdeps/mips/preconfigure: Modify ABI tests.
31800 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31802         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31804 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31805             Carlos O'Donell  <carlos@systemhalted.org>
31807         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31808         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31809         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31810         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31811         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31813         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31814         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31815         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31816         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31818         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31820         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31822         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31823         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31824         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31825         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31826         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31827         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31828         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31829         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31830         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31831         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31832         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31833         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31834         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31835         Deconditionalize the code that was previously under [RESET_PID].
31836         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31837         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31838         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31839         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31840         include sysdep.h.
31842 2014-09-08  Allan McRae  <allan@archlinux.org>
31844         * version.h (RELEASE): Set to "development".
31845         (VERSION): Set to "2.20.90"
31847 2014-09-07  Allan McRae  <allan@archlinux.org
31849         * version.h (RELEASE): Set to "stable".
31850         (VERSION): Set to "2.20"
31851         * include/features.h (__GLIBC_MINOR__): Set to 20.
31853         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31854         Liebler.
31856         * po/ko.po: Update Korean translation from translation project.
31858 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31860         [BZ #17354]
31861         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31862         macro for handling signed relocations.
31864 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31866         [BZ #17325]
31867         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31868         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31869         assert.
31870         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31871         * iconvdata/ibm935.c (BODY): Likewise.
31872         * iconvdata/ibm937.c (BODY): Likewise.
31873         * iconvdata/ibm939.c (BODY): Likewise.
31874         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31875         assert.
31876         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31877         script.
31878         * iconvdata/run-iconv-test.sh: New test loop for checking for
31879         decoder crashers.
31881 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31884         libm_hidden_ver.
31886 2014-09-01  Allan McRae  <allan@archlinux.org>
31888         * po/eo.po: Update Esperanto translation from translation project.
31890         * po/ca.po: Update Catalan translation from translation project.
31892 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31894         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31895         __proc_dostop call.
31897 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31899         [BZ #17319]
31900         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31901         to call set_thread_area instead of hand written asm.
31902         (__NR_set_thread_area): Removed define.
31903         (TLS_FLAG_WRITABLE): Likewise.
31904         (__ASSUME_SET_THREAD_AREA): Remove check.
31905         (TLS_EBX_ARG): Remove define.
31906         (TLS_LOAD_EBX): Likewise.
31908 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31910         Simplify atomicity of socket creation in bind.
31912         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31913         looking up the name after linking the file.
31915 2014-08-27  Allan McRae  <allan@archlinux.org>
31917         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31919 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31921         [BZ #17187]
31922         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31923         trans_compare, open_translit, __gconv_translit_find):
31924         Remove module loading code.
31926 2014-08-26  Allan McRae  <allan@archlinux.org>
31928         * po/vi.po: Update Vietnamese translation from translation project.
31930         * po/uk.po: Update Ukrainian translation from translation project.
31932         * po/fr.po: Update French translation from translation project.
31934         * po/ru.po: Update Russian translation from translation project.
31936         * po/pl.po: Update Polish translation from translation project.
31938         * po/cs.po: Update Czech translation from translation project.
31940         * po/de.po: Update German translation from translation project.
31942         * po/bg.po: Update Bulgarian translation from translation project.
31944         * po/sv.po: Update Sweedish translation from translation project.
31946         * po/nl.po: Update Dutch translation from translation project.
31948         * po/es.po: Update Spanish translation from translation project.
31950 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31952         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31954         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31955         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31956         (CPPFLAGS-iconvconfig): Likewise.
31957         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31959         * include/libc-symbols.h: Remove unnecessary check for
31960         NOT_IN_libc.
31961         * nptl/pthreadP.h: Likewise.
31962         * sysdeps/aarch64/setjmp.S: Likewise.
31963         * sysdeps/alpha/setjmp.S: Likewise.
31964         * sysdeps/arm/sysdep.h: Likewise.
31965         * sysdeps/i386/setjmp.S: Likewise.
31966         * sysdeps/m68k/setjmp.c: Likewise.
31967         * sysdeps/posix/getcwd.c: Likewise.
31968         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31969         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31970         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31971         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31972         * sysdeps/sh/sh3/setjmp.S: Likewise.
31973         * sysdeps/sh/sh4/setjmp.S: Likewise.
31974         * sysdeps/unix/alpha/sysdep.h: Likewise.
31975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31977         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31978         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31986         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31988         * sysdeps/x86_64/setjmp.S: Likewise.
31990 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31992         [BZ #17263]
31993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31994         <stdint.h>.
31995         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31996         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31998 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32000         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32002         [BZ #17262]
32003         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32004         and __x86_64__ when disabling x87 inline functions.
32006 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32008         [BZ #17259]
32009         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32010         asm statement with __cpuid_count.
32012 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32014         * configure.ac: Change __ehdr_start code to dereference the struct.
32015         Run readelf on the output to look for relocations.
32016         * configure: Regenerated.
32018 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32020         [BZ #17261]
32021         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32022         value to 0.
32023         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32025 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32027         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32029 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32031         [BZ #16892]
32032         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32033         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32035 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32037         * malloc/malloc.c: Fix typo in comment.
32039 2014-08-09  Allan McRae  <allan@archlinux.org>
32041         * Regenerate libc.po.
32043 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32045         * intl/tst-gettext2.sh: Check every lang file for creation.
32047 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32049         * sysdeps/aarch64/fpu/math_private.h
32050         (libc_feholdsetround_noex_aarch64_ctx): New function.
32052 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32054         * sysdeps/arm/armv6/strcpy.S (strcpy):
32055         Fix performance issue in misaligned cases.
32057 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32059         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32060         Move definition from termios.h.
32061         (struct termio): Likewise.
32062         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32063         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32064         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32065         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32066         Likewise.
32067         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32068         Move definition to ioctl-types.h
32069         (struct termio): Likewise.
32070         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32071         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32072         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32073         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32074         Likewise.
32076 2014-08-05  Richard Henderson  <rth@redhat.com>
32078         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32079         exceptions.
32080         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32081         Add fraiseexcpt.
32082         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32083         Use __feraiseexcept.
32084         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32085         Protect libm symbols with IS_IN_libm.
32087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32089 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32091         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32093 2014-08-04  Will Newton  <will.newton@linaro.org>
32095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32096         file.
32098 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32100         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32101         variants for each function.
32103 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32105         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32106         appended ...
32107         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32108         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32109         appended ...
32110         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32111         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32112         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32113         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32114         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32115         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32116         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32117         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32118         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32119         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32120         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32121         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32122         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32123         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32124         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32125         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32126         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32127         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32128         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32129         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32130         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32134         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32135         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32136         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32137         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32138         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32140         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32141         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32142         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32143         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32144         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32145         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32146         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32147         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32148         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32149         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32150         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32152         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32154         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32155         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32156         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32158         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32160         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32161         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32162         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32163         Update #include.
32164         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32165         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32167 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32169         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32170         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32171         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32172         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32173         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32174         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32176 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32178         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32179         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32180         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32181         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32183 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32185         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32186         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32187         (__libc_vfork): Define function under this name.
32188         (__vfork): Define as an alias.
32189         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32190         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32192 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32194         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32195         that was previously under [RESET_PID].
32196         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32198 2014-08-04  Andreas Schwab  <schwab@suse.de>
32200         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32202 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32204         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32205         (main): Likewise.
32207 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32209         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32211 2014-08-01  Richard Henderon  <rth@redhat.com>
32213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32214         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32215         typo in exact zero test.
32216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32217         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32220 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32222         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32223         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32224         * sysdeps/arm/sysdep.h: ... here.
32225         [!__ASSEMBLER__]: Include <stdint.h>.
32227 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32229         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32230         (HAVE_WCTYPE_H): Likewise.
32231         (HAVE_ISWCTYPE): Likewise.
32232         (ENABLE_NLS): Likewise.
32233         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32234         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32236         * posix/regex_internal.c: Check if DEBUG is defined and is
32237         set.
32239         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32240         (HAVE_MBSRTOWCS): Likewise.
32241         * posix/fnmatch.c: Include string.h unconditionally.
32243 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32245         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32246         reversal.
32248 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32250         * sysdeps/generic/safe-fatal.h: New file.
32251         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32252         * nptl/forward.c: Include it.
32253         (__pthread_unwind): Use __safe_fatal as default action, rather
32254         than a bogus use of INTERNAL_SYSCALL that could never work.
32256         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32257         * configure.ac (libc_cv_builtin_trap): New test.
32258         * configure: Regenerated.
32259         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32260         (ABORT_INSTRUCTION): Define using __builtin_trap.
32262         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32263         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32264         * sysdeps/nptl/nptl-signals.h: New file.
32265         * nptl/pthreadP.h: Include <nptl-signals.h>.
32267 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32269         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32270         (ONE_DIRECTION): Define.
32271         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32272         (ONE_DIRECTION): Define.
32273         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32274         (ONE_DIRECTION): Define.
32276 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32278         * sysdeps/s390/Makefile: Delete file.
32279         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32280         * sysdeps/s390/__longjmp.c: Delete file.
32281         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32282         Remove fields __flags and __reserved.
32283         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32284         and add versioning.
32285         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32286         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32287         * sysdeps/s390/rtld-setjmp.S: Likewise.
32288         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32289         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32290         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32291         * sysdeps/s390/s390-32/setjmp.S: ... here.
32292         Add versioning.
32293         (__sigsetjmp): Remove setting __flags field.
32294         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32295         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32296         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32297         * sysdeps/s390/s390-64/setjmp.S: ... here.
32298         Add versioning.
32299         (__sigsetjmp): Remove setting __flags field.
32300         * sysdeps/s390/setjmp.S: Delete file.
32301         * sysdeps/s390/sigjmp.c: Likewise.
32302         * sysdeps/s390/v1-longjmp.c: Likewise.
32303         * sysdeps/s390/v1-setjmp.h: Likewise.
32304         * sysdeps/s390/v1-sigjmp.c: Likewise.
32305         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32306         Remove v1-longjmp_chk.
32307         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32308         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32309         Include debug/longjmp_chk.c and add versioning.
32310         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32311         Include nptl/pt-longjmp.c and add versioning.
32312         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32313         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32314         Include __longjmp.c.
32315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32316         Move to ...
32317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32318         (__getcontext): Remove setting __flags field.
32319         Add versioning.
32320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32321         Don't restore upper high grps.
32322         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32323         Likewise.
32324         (__swapcontext): Remove setting uc_flags field.
32325         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32326         Delete file.
32327         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32328         Include __longjmp.c.
32329         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32330         Move to ...
32331         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32332         (__getcontext): Remove setting __flags field.
32333         Add versioning.
32334         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32335         (__swapcontext): Remove setting uc_flags field.
32336         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32337         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32338         Remove fields uc_high_gprs and __reserved.
32339         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32340         New file with reverted content.
32341         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32342         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32343         Regenerated.
32344         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32345         Regenerated.
32347 2014-07-31  Andreas Schwab  <schwab@suse.de>
32349         * config.h.in (HAVE_IFUNC): Define to 0.
32350         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32351         definedness.
32353 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32356         memmove-avx-unaligned, memcpy-avx-unaligned and
32357         mempcpy-avx-unaligned.
32358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32359         Add tests for AVX memcpy functions.
32360         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32361         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32362         memcpy_chk.
32363         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32364         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32365         memmove_chk.
32366         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32367         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32368         mempcpy_chk.
32369         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32370         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32371         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32373 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32375         [BZ #17213]
32376         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32377         powerpc64le.
32379 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32381         [BZ #16839]
32382         * manual/llio.texi: Add section about open file description locks.
32383         * manual/examples/ofdlocks.c: Example of open file description
32384         lock usage.
32385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32386         F_OFD_SETLK, and F_OFD_SETLKW.
32388 2014-07-23  Allan McRae  <allan@archlinux.org>
32390         * po/es.po: Update Spanish translation from translation project.
32392 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32394         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32396 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32398         [BZ #17078]
32399         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32400         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32401         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32403 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32405         [BZ #17088]
32406         * math/fesetenv.c (__fesetenv)
32407         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32408         * math/feupdateenv.c (__feupdateenv)
32409         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32411         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32413         (__ASSUME_SOCKETCALL): Do not define.
32415         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32416         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32417         (__ASSUME_SOCKETCALL): Do not define.
32418         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32419         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32420         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32421         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32423         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32425         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32427         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32428         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32429         (__ASSUME_SOCKETCALL): Do not define.
32430         (__ASSUME_IPC64): Define unconditionally.
32431         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32432         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32433         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32435         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32437         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32438         Likewise.
32440         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32441         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32442         (__ASSUME_SOCKETCALL): Do not define.
32443         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32444         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32445         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32446         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32447         (__ASSUME_REQUEUE_PI): Define unconditionally.
32448         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32449         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32450         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32451         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32453         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32455         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32456         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32457         (__ASSUME_SOCKETCALL): Do not define.
32458         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32460         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32461         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32463         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32465         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32466         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32467         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32468         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32470         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32472         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32473         (__ASSUME_GETCPU_SYSCALL): Likewise.
32475         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32476         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32477         cases for individual architectures.
32478         * sysdeps/gnu/configure: Regenerated.
32479         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32480         LIBC_SLIBDIR_RTLDDIR.
32481         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32482         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32483         LIBC_SLIBDIR_RTLDDIR.
32484         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32486         LIBC_SLIBDIR_RTLDDIR.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32488         Regenerated.
32489         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32490         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32491         file.
32492         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32493         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32494         file.
32495         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32496         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32497         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32498         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32500         * sysdeps/aarch64/shlib-versions: Move to ...
32501         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32502         * sysdeps/alpha/shlib-versions: Move to ...
32503         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32504         * sysdeps/arm/shlib-versions: Move to ...
32505         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32506         * sysdeps/hppa/shlib-versions: Move all contents except for
32507         libgcc_s entry to ...
32508         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32509         entry from ...
32510         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32511         * sysdeps/ia64/shlib-versions: Move to ...
32512         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32513         entry from ...
32514         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32515         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32516         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32517         * sysdeps/microblaze/shlib-versions: Move to ...
32518         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32519         * sysdeps/mips/shlib-versions: Move to ...
32520         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32521         entry from ...
32522         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32523         * sysdeps/tile/shlib-versions: Move to ...
32524         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32525         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32526         from ...
32527         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32528         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32529         entry from ...
32530         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32532 2014-07-17  Will Newton  <will.newton@linaro.org>
32534         * sysdeps/arm/bits/atomic.h
32535         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32536         (__arch_compare_and_exchange_bool_16_int): Likewise.
32537         (__arch_compare_and_exchange_bool_64_int): Likewise.
32539         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32540         into an #else block.
32542 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32544         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32545         just Linux configurations.  Test empirically that the compiler sets
32546         __ARM_EABI__, rather than using the tuple to decide.
32547         * sysdeps/arm/preconfigure: Regenerated.
32548         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32549         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32550         contents appended ...
32551         * sysdeps/arm/configure.ac: ... here.
32552         * sysdeps/arm/configure: Regenerated.
32554 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32556         * nptl/pthread_kill.c: New file.
32557         * nptl/pthread_sigmask.c: New file.
32558         * nptl/pthread_sigqueue.c: New file.
32560         * sysdeps/nptl/lowlevellock.h: New file.
32561         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32562         * sysdeps/nptl/lowlevellock-futex.h: New file.
32564         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32565         Remove dead declarations.
32567 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32569         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32570         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32571         config-cflags-avx2.
32572         * sysdeps/x86_64/configure.ac: Likewise.
32573         * sysdeps/i386/configure: Regenerated.
32574         * sysdeps/x86_64/configure: Likewise.
32575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32576         memset-avx2 only if config-cflags-avx2 is yes.
32577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32578         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32579         defined.
32580         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32581         only if HAVE_AVX2_SUPPORT is defined.
32582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32584 2014-07-14  Alan Modra  <amodra@gmail.com>
32586         [BZ #17153]
32587         * elf/elf.h (DT_PPC64_NUM): Correct value.
32588         * NEWS: Add to fixed bug list.
32590 2014-07-13  Jim Meyering  <meyering@fb.com>
32592         [BZ 17150]
32593         regex: don't deref NULL upon heap allocation failure
32594         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32595         failure in one more place.
32596         To trigger the segfault, configure grep -with-included-regex,
32597         build it, and run these commands:
32598         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32600 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32602         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32604 2014-07-11  Richard Henderson  <rth@redhat.com>
32606         * sysdeps/aarch64/libm-test-ulps: Update.
32608 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32610         [BZ #17135]
32611         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32612         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32613         (__nptl_setxid): Initialize error member.  Call
32614         __nptl_setxid_error.
32615         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32616         * nptl/descr.h (struct xid_command): Add error member.
32617         * nptl/tst-setuid3.c: New file.
32618         * nptl/Makefile (tests): Add it.
32620 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32623         New define.
32624         (__lll_trylock): Use __lll_base_trylock.
32625         (__lll_cond_trylock): Likewise.
32627 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32629         * nptl/pthread_create.c (start_thread): Use atomic_or and
32630         lll_futex_wake directly rather than lll_robust_dead.
32631         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32632         (lll_robust_dead): Macro removed.
32633         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32635         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32638         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32639         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32641         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32642         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32643         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32644         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32646         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32649         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32650         Use atomic_compare_and_exchange_val_acq directly rather than
32651         lll_robust_trylock.
32652         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32653         (__lll_robust_trylock, lll_robust_trylock): Removed.
32654         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32655         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32656         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32658         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32659         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32660         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32661         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32662         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32663         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32664         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32665         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32666         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32669 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32671         * manual/locale.texi (Locale Names): New section documenting
32672         locale name syntax.  Adjust menu and node chaining accordingly.
32673         (Choosing Locale): Reference Locale Names, Locale Categories.
32674         Mention setting LC_ALL=C.  Reflect that name syntax is now
32675         documented.
32676         (Locale Categories): New section title.  Reference Locale Names.
32677         LC_ALL is an environment variable, but not a category.
32678         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32679         description, now in Locale Name.  Reference that section.  Locale
32680         name syntax is now documented.
32682 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32684         [BZ #17137]
32685         * locale/findlocale.c (name_present, valid_locale_name): New
32686         functions.
32687         (_nl_find_locale): Use the loc_name variable to store name
32688         candidates.  Call name_present and valid_locale_name to check and
32689         validate locale names.  Return an error if the locale is invalid.
32691 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32693         * locale/setlocale.c (setlocale): Use strdup for allocating
32694         composite name copy.
32696 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32698         Sync up with gnulib.
32699         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32700         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32701         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32702         and _GL_ARG_NONNULL.
32703         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32704         [!_LIBC]: Include code for Windows and Cygwin.
32705         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32706         Include prototype for int strerror_r.
32707         [!_LIBC] (is_open): New function.
32708         (flush_stdout): New function.
32709         (print_errno_message): Use it.
32710         (error): Likewise.
32711         (error_at_line): Likewise.
32712         (error_tail) Add function attribute macros.  Use
32713         __builtin_expect.
32715         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32717         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32719         * io/ftw.c: Include sys/param.h unconditionally.
32721         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32723         [BZ #17125]
32724         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32725         libc_freeres_ptr.
32726         (freecache): New function to free CACHE on exit.
32728         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32729         initialization.
32731 2014-07-09  David S. Miller  <davem@davemloft.net>
32733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32735         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32736         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32737         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32738         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32739         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32740         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32741         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32742         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32743         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32744         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32745         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32746         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32747         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32749 2014-07-09  Andreas Schwab  <schwab@suse.de>
32751         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32752         output.
32753         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32754         (do_test): Likewise.
32756         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32758 2014-07-09  Will Newton  <will.newton@linaro.org>
32760         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32761         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32762         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32763         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32764         * sysdeps/hppa/start.S (_start): Likewise.
32766 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32768         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32770         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32771         defined.
32773 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32775         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32776         after checking that it is non-NULL.
32778         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32780 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32782         * sysdeps/powerpc/memmove.c: Remove file.
32783         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32784         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32785         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32786         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32787         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32788         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32789         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32790         string memmove instead of removed powerpc one.
32792         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32793         [weak_alias]: Fix compiler warning due trailing data.
32794         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32795         [weak_alias]: Likewise.
32796         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32797         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32800         (__libc_ifunc_impl_list): Add memmove functions.
32802 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32804         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32805         Remove code.
32806         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32807         Likewise.
32808         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32809         Likewise.
32810         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32811         Likewise.
32812         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32813         Likewise.
32814         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32815         Likewise.
32816         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32817         Likewise.
32818         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32819         Likewise.
32820         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32821         Likewise.
32822         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32823         Likewise.
32824         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32825         Likewise.
32826         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32827         Likewise.
32828         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32829         Likewise.
32830         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32831         Likewise.
32832         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32833         Likewise.
32834         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32835         Likewise.
32836         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32837         Likewise.
32839 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32842         to avoid alignment traps in non-cacheable memory.
32843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32846         multiarch objects.
32847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32848         file: multiarch power7 memmove.
32849         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32850         multiarch default memmove.
32851         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32852         multiarch memove for powerpc32/power4.
32854         * string/bcopy.c: Use full path to include memmove.c.
32855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32856         multiarch objects.
32857         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32858         bcopy for powerpc64.
32859         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32860         bcopy for powerpc64.
32861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32862         and memmove implementations.
32863         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32864         optimized multiarch memmove for POWER7/powerpc64.
32865         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32866         default multiarch memmove for powerpc64.
32867         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32868         multiarch for powerpc64.
32869         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32870         for POWER7/powerpc64.
32871         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32872         memmove for POWER7/powerpc64.
32874         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32875         glibc default one.
32877         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32878         __ELF_NATIVE_CLASS equal to 64.
32880 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32882         * sysdeps/nptl/lowlevellock.h: File removed.
32884         * NEWS: NPTL is no longer an add-on!
32885         * nptl/internaltypes.h: Moved ...
32886         * sysdeps/nptl/internaltypes.h: ... here.
32887         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32888         * sysdeps/nptl/fork.c: Likewise.
32889         * sysdeps/nptl/gai_misc.h: Likewise.
32890         * sysdeps/nptl/librt-cancellation.c: Likewise.
32891         * sysdeps/nptl/jmp-unwind.c: Likewise.
32892         * sysdeps/nptl/setxid.h: Likewise.
32893         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32894         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32895         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32896         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32897         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32898         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32899         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32900         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32901         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32902         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32903         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32904         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32905         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32906         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32907         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32908         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32909         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32910         * nptl/Makeconfig: Moved ...
32911         * sysdeps/nptl/Makeconfig: ... here.
32912         * nptl/configure: File removed.
32913         * nptl/ANNOUNCE: File removed.
32914         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32915         * sysdeps/unix/sysv/linux/configure: Regenerated.
32917         * nptl/Makefile (routines): Add libc_pthread_init,
32918         libc_multiple_threads, register-atfork and unregister-atfork.
32919         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32920         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32921         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32922         pthread-pi-defines.sym, structsem.sym.
32923         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32924         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32925         [$(subdir) = nptl] (tests): Add tst-setgetname.
32926         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32927         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32928         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32929         [!LIBC_SIGACTION]: Remove aliases.
32930         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32931         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32932         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32933         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32934         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32935         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32938         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32939         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32940         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32941         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32942         __libc_allocate_rtsig_private.
32943         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32944         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32945         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32946         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32947         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32948         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32949         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32950         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32951         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32952         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32953         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32954         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32955         * nptl/internaltypes.h: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32957         * sysdeps/nptl/jmp-unwind.c: ... here.
32958         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32959         * nptl/libc-lowlevellock.c: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32961         * nptl/libc_multiple_threads.c: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32963         * nptl/libc_pthread_init.c: ... here.
32964         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32965         * nptl/lowlevelbarrier.sym: ... here.
32966         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32967         * nptl/lowlevelcond.sym: ... here.
32968         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32969         * nptl/lowlevellock.c: ... here.
32970         * nptl/lowlevellock.h: Moved ...
32971         * sysdeps/nptl/lowlevellock.h: ... here.
32972         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32973         * nptl/lowlevelrobustlock.c: ... here.
32974         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32975         * nptl/lowlevelrobustlock.sym: ... here.
32976         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32977         * nptl/lowlevelrwlock.sym: ... here.
32978         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32979         * nptl/pt-fork.c: ... here.
32980         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32981         * nptl/pthread-pi-defines.sym: ... here.
32982         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32983         * nptl/pthread_attr_getaffinity.c: ... here.
32984         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32985         * nptl/pthread_attr_setaffinity.c: ... here.
32986         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32987         * nptl/pthread_mutex_cond_lock.c: ... here.
32988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32989         Update #include.
32990         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32991         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32992         * nptl/pthread_once.c: ... here, replacing old file.
32993         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32994         * nptl/pthread_yield.c: ... here.
32995         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32996         * nptl/register-atfork.c: ... here.
32997         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32998         * nptl/sem_post.c: ... here.
32999         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33000         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33001         * nptl/sem_timedwait.c: ... here.
33002         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33003         * nptl/sem_trywait.c: ... here.
33004         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33005         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33006         * nptl/sem_wait.c: ... here.
33007         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33008         * nptl/structsem.sym: ... here.
33009         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33010         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33011         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33012         * nptl/unregister-atfork.c: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33014         * nptl/unwindbuf.sym: ... here.
33015         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33016         * sysdeps/nptl/fork.c: ... here.
33017         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33018         * sysdeps/nptl/fork.h: ... here.
33019         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33020         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33021         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33022         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33023         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33024         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33025         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33026         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33027         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33029         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33030         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33031         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33032         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33033         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33034         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33035         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33037         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33038         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33039         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33040         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33041         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33043         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33044         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33045         * sysdeps/unix/sysv/linux/raise.c: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33047         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33049         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33051         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33053         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33055         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33056         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33057         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33058         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33059         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33060         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33062 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33064         * sysdeps/generic/memcopy.h: Add comment for
33065         MEMCPY_OK_FOR_FWD_MEMMOVE.
33067 2014-07-04  Will Newton  <will.newton@linaro.org>
33069         * string/memchr.c: Merge from gnulib.
33070         [_LIBC]: Remove conditionals.
33071         (__ptr_t): Remove define.
33072         (LONG_MAX_32_BITS): Likewise.
33073         (LONG_MAX): Likewise.
33074         (MEMCHR): Use ANSI prototype and optimize algorithm.
33076         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33078 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33081         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33083         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33084         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33085         in a bare environment with no <stdlib.h> installed.
33086         * sysdeps/nptl/configure: Regenerated.
33088         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33090         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33091         AC_EGREP_CPP for kernel header checks, so they only succeed if
33092         including <linux/version.h> actually works right.
33093         * sysdeps/unix/sysv/linux/configure: Regenerated.
33095         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33096         value so it's not diagnosed as unused.
33098         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33099         thing) with "ifeq ($(subdir),rt)".
33101 2014-07-03  Richard Henderson  <rth@redhat.com>
33103         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33104         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33105         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33107         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33108         (math_force_eval): New.
33110         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33111         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33113         * sysdeps/alpha/fpu/s_round.c: Remove file.
33114         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33116         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33117         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33118         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33119         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33120         (_dl_start, print_statistics): Likewise.
33121         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33122         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33124         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33125         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33126         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33127         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33129         (HP_SMALL_TIMING_AVAIL): Define.
33130         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33132         (HP_SMALL_TIMING_AVAIL): Define.
33133         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33134         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33136         * sysdeps/aarch64/hp-timing.h: New file.
33138         * sysdeps/generic/hp-timing.h: Remove dead comment.
33139         * sysdeps/generic/hp-timing-common.h: New file.
33140         * sysdeps/alpha/hp-timing.h: Include it.
33141         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33142         * sysdeps/i386/i686/hp-timing.h: Likewise.
33143         * sysdeps/ia64/hp-timing.h: Likewise.
33144         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33145         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33146         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33147         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33148         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33149         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33150         (hp_timing_t): New.
33152         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33153         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33154         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33155         * elf/rtld.c (_dl_start_final): Likewise.
33156         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33157         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33158         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33159         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33160         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33162         (HP_TIMING_DIFF_INIT): Remove.
33163         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33164         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33165         (HP_TIMING_DIFF_INIT): Remove.
33166         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33167         * sysdeps/i386/i686/hp-timing.c: Remove file.
33168         * sysdeps/x86_64/hp-timing.c: Remove file.
33169         * sysdeps/ia64/hp-timing.c: Remove file.
33170         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33171         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33173         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33175         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33176         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33177         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33178         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33179         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33180         (HP_TIMING_ACCUM): Remove.
33181         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33183         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33185         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33186         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33187         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33188         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33190         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33192         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33194         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33196 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33198         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33200 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33202         Sync up with gettext.
33203         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33204         [_MSC_VER]: Include malloc.h
33205         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33206         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33207         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33208         TEMP_FAILURE_RETRY.  Cast return of alloca.
33209         [!_LIBC] Call gl_rwlock_init.
33210         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33212 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33214         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33215         before checking its value.
33217 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33219         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33221         * debug/memcpy_chk.c: Don't include pagecopy.h.
33222         * debug/mempcpy_chk.c: Likewise.
33223         * string/memcpy.c: Likewise.
33224         * string/memmove.c: Likewise.
33225         * sysdeps/powerpc/memmove.c: Likewise.
33226         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33227         definition of PAGE_COPY_FWD_MAYBE here...
33228         * sysdeps/generic/pagecopy.h: ... from here.
33229         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33231 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33232             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33234         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33236         optimizations.
33237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33238         (__libc_ifunc_impl_list): Likewise.
33239         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33240         multiarch strcat for PPC64.
33241         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33242         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33244 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33246         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33248 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33250         * intl/loadmsgcat.c: Remove declaration of
33251         get_sysdep_segment_value.
33252         (get_sysdep_segment_value): Use ISO C style.
33253         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33254         semicolon.  Fix typo and formatting in comment.
33255         (_nl_unload_domain): Use ISO C style.
33257         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33259 2014-07-02  Will Newton  <will.newton@linaro.org>
33261         * malloc/obstack.c: Merge from gnulib master.
33262         [HAVE_CONFIG_H]: Remove conditional code.
33263         [!_LIBC]: Include config.h.
33264         [!ELIDE_CODE]: Don't include inttypes.h, include
33265         stdint.h unconditionally.
33266         (print_and_abort): Mark as _Noreturn.
33267         (_obstack_allocated_p): Mark as __attribute_pure__.
33268         (obstack_free): Rename to __obstack_free.
33269         [!__attribute__]: Remove conditional code.
33270         * malloc/obstack.h: Merge from gnulib master.
33271         [__cplusplus]: Move conditional down.
33272         [!__attribute_pure__]: Define __attribute_pure__ here
33273         if it is not already defined.
33274         (_obstack_memory_used): Mark as __attribute_pure__.
33275         [!__obstack_free]: Define as obstack_free.
33276         [__GNUC__]: Remove check for ancient NeXT gcc.
33278 2014-07-02  Will Newton  <will.newton@linaro.org>
33279             Paul Eggert  <eggert@cs.ucla.edu>
33281         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33283 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33285         * resolv/gethnamaddr.c: Add comment warning that the file is
33286         not maintained.
33288 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33290         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33291         entries.
33293         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33294         entry for aio_cancel and aio_cancel64.
33295         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33296         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33297         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33298         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33299         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33300         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33301         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33302         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33303         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33304         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33305         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33306         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33307         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33309 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33311         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33312         * nptl/pthread_mutex_lock.c: Likewise.
33313         * nptl/pthread_mutex_timedlock.c: Likewise.
33314         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33316 2014-07-01  Richard henderson  <rth@redhat.com>
33318         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33319         (__isnan, __isnanl): Remove.
33320         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33322         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33324 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33326         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33328 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33330         * resolv/nss_dns/dns-host.c (getanswer_r)
33331         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33333 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33336         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33337         undefine.
33338         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33339         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33341 2014-07-01  Roland McGrath <roland@hack.frob.com>
33343         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33344         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33346         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33347         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33349         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33350         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33351         ... here.
33352         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33353         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33355         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33356         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33357         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33358         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33360         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33361         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33362         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33363         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33364         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33365         Moved ...
33366         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33367         ... here.
33368         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33369         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33373         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33374         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33375         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33376         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33385         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33386         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33387         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33388         ... here.
33389         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33390         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33391         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33392         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33393         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33394         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33395         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33396         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33398 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33400         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33401         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33402         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33403         Add sysdep.
33405 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33409 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33411         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33412         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33414         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33416         * sysdeps/arm/libm-test-ulps: Regenerated.
33418 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33419             Roland McGrath <roland@hack.frob.com>
33421         * test-skeleton.c (signal_handler): Kill the whole process group
33422         before killing the child individually.
33423         (main): Report any failure on `setpgid'.
33425 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33427         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33428         from _TLS_H to _ARM_NPTL_TLS_H.
33429         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33430         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33432 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33434         [BZ #16539]
33435         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33436         (__expm1l): Return argument unchanged when small but not
33437         subnormal.
33439         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33440         include macro name.
33441         (_FP_UNPACK_RAW_1_P): Likewise.
33442         (_FP_PACK_RAW_1): Likewise.
33443         (_FP_PACK_RAW_1_P): Likewise.
33444         (_FP_MUL_MEAT_1_wide): Likewise.
33445         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33446         (_FP_MUL_MEAT_1_hard): Likewise.
33447         (_FP_DIV_MEAT_1_imm): Likewise.
33448         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33449         (_FP_DIV_MEAT_1_udiv): Likewise.
33450         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33451         (_FP_UNPACK_RAW_2): Likewise.
33452         (_FP_UNPACK_RAW_2_P): Likewise.
33453         (_FP_PACK_RAW_2): Likewise.
33454         (_FP_PACK_RAW_2_P): Likewise.
33455         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33456         (_FP_MUL_MEAT_2_wide): Likewise.
33457         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33458         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33459         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33460         (_FP_MUL_MEAT_2_gmp): Likewise.
33461         (_FP_DIV_MEAT_2_udiv): Likewise.
33462         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33463         (_FP_FRAC_SRL_4): Likewise.
33464         (_FP_FRAC_SRST_4): Likewise.
33465         (_FP_FRAC_SRS_4): Likewise.
33466         (_FP_UNPACK_RAW_4): Likewise.
33467         (_FP_UNPACK_RAW_4_P): Likewise.
33468         (_FP_PACK_RAW_4): Likewise.
33469         (_FP_PACK_RAW_4_P): Likewise.
33470         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33471         (_FP_MUL_MEAT_4_wide): Likewise.
33472         (_FP_MUL_MEAT_4_gmp): Likewise.
33473         (umul_ppppmnnn): Likewise.
33474         (_FP_DIV_MEAT_4_udiv): Likewise.
33475         (__FP_FRAC_ADD_4): Likewise.
33476         (__FP_FRAC_SUB_3): Likewise.
33477         (__FP_FRAC_SUB_4): Likewise.
33478         (__FP_FRAC_DEC_3): Likewise.
33479         (__FP_FRAC_DEC_4): Likewise.
33480         (__FP_FRAC_ADDI_4): Likewise.
33481         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33482         (_FP_FRAC_SRL_8): Likewise.
33483         (_FP_FRAC_SRS_8): Likewise.
33485         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33486         include macro name.
33487         (FP_UNPACK_RAW_EP): Likewise.
33488         (FP_PACK_RAW_E): Likewise.
33489         (FP_PACK_RAW_EP): Likewise.
33490         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33491         (_FP_ISSIGNAN): Likewise.
33492         (_FP_ADD_INTERNAL): Likewise.
33493         (_FP_FMA): Likewise.
33494         (_FP_CMP): Likewise.
33495         (_FP_SQRT): Likewise.
33496         (_FP_TO_INT): Likewise.
33497         (_FP_FROM_INT): Likewise.
33498         (FP_EXTEND): Likewise.
33499         (_FP_DIV_MEAT_N_loop): Likewise.
33501 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33503         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33504         throughout.
33506 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33508         [BZ #17097]
33509         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33510         result with correct sign in case of exponents that produce
33511         overflow except for X very close to 1.
33513 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33515         mktime: merge #if/#ifdef usage from glibc
33516         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33517         as that works with both Glibc's and Gnulib's style.
33518         See thread starting at Siddhesh Poyarekar's bug report at:
33519         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33521 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33523         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33524         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33525         * sysdeps/tile/tilegx/memmove.c: Remove file.
33527 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33529         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33530         abi-name definition.
33531         * scripts/soversions.awk: Do not handle or generate ABI lines.
33532         * shlib-versions: Remove ABI entries.
33533         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33534         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33536 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33539         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33540         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33541         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33543         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33545         Moved ...
33546         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33547         ... here.
33548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33549         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33551         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33553         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33555         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33557         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33559         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33561         Moved ...
33562         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33564         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33565         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33566         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33568         Moved ...
33569         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33571         Moved ...
33572         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33574         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33576         Moved ...
33577         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33579         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33581         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33583         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33585         Moved ...
33586         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33588         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33589         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33590         Moved ...
33591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33593         Moved ...
33594         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33596         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33598         Moved ...
33599         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33600         ... here.
33601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33602         Identical file removed.
33603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33604         Moved ...
33605         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33607         Identical file removed.
33608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33609         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33611         Moved ...
33612         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33614         Identical file removed.
33615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33616         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33618         Identical file removed.
33619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33622         Identical file removed.
33623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33624         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33626         Identical file removed.
33627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33628         Moved ...
33629         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33630         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33631         Identical file removed.
33632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33633         Moved ...
33634         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33636         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33638         Identical file removed.
33639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33640         Moved ...
33641         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33642         ... here.
33643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33644         Identical file removed.
33645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33646         Moved ...
33647         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33649         Identical file removed.
33650         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33651         Moved ...
33652         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33654         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33655         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33656         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33658         Moved ...
33659         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33661         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33663         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33664         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33665         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33666         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33667         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33669 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33671         [BZ #17092]
33672         * nscd/nscd.c (monitor_child): Return exit status of child
33673         instead of return value from wait syscall.
33675 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33677         * configure.ac (libc_commonpagesize): Remove variable.
33678         (libc_relro_required): Likewise.
33679         (libc_cv_z_relro): Remove configure test.
33680         * configure: Regenerated.
33681         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33682         variable.
33683         (libc_relro_required): Likewise.
33684         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33685         (libc_relro_required): Likewise.
33686         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33687         (libc_relro_required): Likewise.
33688         * sysdeps/arm/preconfigure: Regenerated.
33689         * sysdeps/ia64/preconfigure: Remove file.
33690         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33691         variable.
33692         (libc_relro_required): Likewise.
33694         [BZ #16561]
33695         [BZ #16562]
33696         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33697         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33698         recompute overflowing results in original rounding mode.
33699         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33700         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33701         recompute overflowing results in original rounding mode.
33702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33703         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33704         recompute overflowing results in original rounding mode.
33705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33706         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33707         recompute overflowing results in original rounding mode.
33708         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33709         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33710         recompute overflowing results in original rounding mode.
33711         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33712         (libc_feholdsetround_ctx): New macro.
33713         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33714         * sysdeps/i386/fpu/libm-test-ulps: Update.
33715         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33717 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33719         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33720         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33721         corresponding .cpsetup call.
33723 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33725         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33726         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33727         * sysdeps/arm/Makefile [$(subdir) = csu]
33728         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33729         (static-only-routines): Add aeabi_read_tp here.
33730         (shared-only-routines): Add libc-aeabi_read_tp here.
33731         (CFLAGS-libc-start.c): Add -fexceptions here.
33732         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33733         (sysdep_routines, static-only-routines, shared-only-routines):
33734         Don't add to these here.
33735         (CFLAGS-libc-start.c): Likewise.
33737         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33738         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33739         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33740         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33741         * sysdeps/arm/Makefile [$(subdir) = rt]
33742         (librt-sysdep_routines, librt-shared-only-routines):
33743         Append rt-aeabi_unwind_cpp_pr1 here.
33744         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33745         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33746         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33747         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33748         Append nptl-aeabi_unwind_cpp_pr1 here.
33749         (tests): Filter out tst-cleanupx4 here.
33750         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33751         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33752         Don't do those here.
33754 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33756         * scripts/list-sources.sh: Do not handle ports specially.
33758 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33760         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33761         * sysdeps/arm/feupdateenv.c: Likewise.
33763         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33765 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33767         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33768         trailing whitespace removed.
33769         * scripts/config.guess: Update to version 2014-03-23.
33770         * scripts/config.sub: Update to version 2014-05-01
33771         * scripts/install-sh: Update to version 2013-12-25.23.
33772         * scripts/move-if-change: Update from gnulib.
33774 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33776         * debug/memmove_chk.c: Remove pagecopy.h include.
33778 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33780         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33781         identical to gnulib mktime.
33783 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33785         * configure.ac: Do not test for machine being rs6000.  Do not test
33786         for powerpc*-*soft.
33787         * configure: Regenerated.
33789         [BZ #11505]
33790         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33791         test.
33792         * configure: Regenerated.
33793         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33794         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33795         Remove configure test.
33796         * sysdeps/arm/configure: Regenerated.
33797         * sysdeps/nptl/configure.ac: Do not check
33798         libc_cv_asm_cfi_directives.
33799         * sysdeps/nptl/configure: Regenerated.
33800         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33801         * sysdeps/x86_64/nptl/configure: Remove generated file.
33802         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33803         unconditional.
33804         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33806 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33808         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33809         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33810         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33811         it is defined.
33813         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33814         instead of whether it is defined.
33815         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33816         * sysdeps/hppa/dl-machine.h: Likewise.
33817         * sysdeps/ia64/dl-machine.h: Likewise.
33818         * sysdeps/m68k/dl-machine.h: Likewise.
33819         * sysdeps/microblaze/dl-machine.h: Likewise.
33820         * sysdeps/mips/dl-machine.: Likewise.
33821         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33822         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33823         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33824         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33825         * sysdeps/sh/dl-machine.h: Likewise.
33826         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33827         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33828         * sysdeps/tile/dl-machine.h: Likewise.
33829         * sysdeps/x86_64/dl-machine.h: Likewise.
33831         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33832         code.
33833         (verify_persistent_db): Likewise.
33835 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33838         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33840         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33842         Moved ...
33843         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33844         ... here.
33845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33846         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33848         Identical file removed.
33849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33850         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33852         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33854         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33856         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33858         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33860         Moved ...
33861         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33863         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33865         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33867         Moved ...
33868         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33870         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33872         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33874         Identical file removed.
33875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33876         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33878         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33880         Moved ...
33881         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33882         ... here.
33883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33884         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33886         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33888         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33890         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33892         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33894         Moved ...
33895         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33900         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33902         Moved ...
33903         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33905         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33907         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33908         folded into ...
33909         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33910         * sysdeps/unix/sysv/linux/s390/Versions
33911         (libpthread: GLIBC_2.19): New version set.
33912         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33913         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33914         (librt: GLIBC_2.3.3): New version set.
33915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33916         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33917         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33918         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33919         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33920         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33921         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33922         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33923         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33924         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33925         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33926         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33927         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33928         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33929         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33930         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33931         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33932         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33933         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33934         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33935         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33936         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33937         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33939         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33941         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33942         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33943         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33945         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33951         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33953         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33955         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33957         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33959         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33961         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33962         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33963         (__libc_vfork): Define the function under this name.
33964         [!NOT_IN_libc] (__vfork): Make this an alias.
33965         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33967         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33968         (__libc_vfork): Define the function under this name.
33969         [!NOT_IN_libc] (__vfork): Make this an alias.
33970         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33971         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33972         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33975         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33977         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33978         code that was previously under [RESET_PID].
33979         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33980         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33983         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33984         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33985         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33986         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33987         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33988         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33989         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33990         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33991         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33992         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33993         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33994         Moved ...
33995         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33997         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33998         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34001         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34002         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34003         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34004         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34009         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34010         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34011         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34012         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34013         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34014         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34015         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34016         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34017         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34018         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34019         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34020         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34021         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34022         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34023         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34025 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34027         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34028         that was previously under [RESET_PID].
34029         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34031 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34033         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34034         not undefine and redefine.
34035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34036         [O_CLOEXEC]: Make code unconditional.
34037         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34038         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34039         <kernel-features.h>.
34040         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34041         conditional variable definition.
34042         (shm_open) [O_CLOEXEC]: Make code unconditional.
34043         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34044         code.
34046         * configure.ac (USE_REGPARMS): Don't define here.
34047         * configure: Regenerated.
34048         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34049         * sysdeps/i386/configure: Regenerated.
34051         * nptl/createthread.c: Don't include kernel-features.h.
34052         * nptl/pthread_cancel.c: Likewise.
34053         * nptl/pthread_condattr_setclock.c: Likewise.
34054         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34055         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34056         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34057         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34058         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34059         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34060         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34063         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34064         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34065         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34066         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34067         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34068         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34069         * nscd/gai.c: Likewise.
34070         * nss/nss_db/db-open.c: Likewise.
34071         * sysdeps/generic/ldsodefs.h: Likewise.
34072         * sysdeps/sh/nptl/tls.h: Likewise.
34073         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34074         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34075         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34076         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34077         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34078         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34079         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34080         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34081         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34082         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34083         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34084         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34085         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34086         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34087         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34088         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34089         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34090         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34091         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34092         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34095         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34096         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34101         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34102         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34103         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34104         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34105         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34106         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34107         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34108         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34109         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34110         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34111         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34112         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34113         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34114         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34115         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34116         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34117         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34118         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34119         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34120         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34121         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34122         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34123         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34124         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34125         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34126         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34127         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34128         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34129         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34130         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34153         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34154         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34155         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34156         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34157         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34158         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34160         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34161         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34162         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34163         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34164         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34165         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34166         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34167         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34168         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34169         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34170         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34171         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34172         * sysdeps/unix/sysv/linux/system.c: Likewise.
34173         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34174         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34175         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34176         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34177         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34178         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34179         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34181         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34182         * configure: Regenerated.
34183         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34185         * configure.ac (base_machine): Do not set specially for particular
34186         machines here.
34187         * configure: Regenerated.
34188         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34189         settings from configure.ac.
34190         * sysdeps/i386/preconfigure: New file.
34191         * sysdeps/s390/preconfigure: Likewise.
34192         * sysdeps/sh/preconfigure: Likewise.
34193         * sysdeps/sparc/preconfigure: Likewise.
34195 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34197         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34198         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34199         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34200         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34201         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34202         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34203         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34204         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34205         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34206         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34207         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34208         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34209         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34214         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34215         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34217         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34218         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34219         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34220         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34221         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34222         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34223         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34224         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34225         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34226         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34227         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34228         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34229         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34230         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34231         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34232         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34233         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34234         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34235         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34236         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34238         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34240         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34241         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34242         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34244         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34245         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34246         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34247         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34248         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34250         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34251         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34252         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34253         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34254         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34257         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34261         Moved ...
34262         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34263         ... here.
34264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34265         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34267         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34269         Moved ...
34270         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34272         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34274         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34276         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34278         Moved ...
34279         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34281         Moved ...
34282         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34284         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34286         Moved ...
34287         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34289         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34291         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34293         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34295         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34297         Moved ...
34298         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34299         ... here.
34300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34301         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34303         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34305         Moved ...
34306         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34308         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34310         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34312         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34314         Moved ...
34315         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34317         Moved ...
34318         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34320         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34322         Moved ...
34323         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34325         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34327         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34329 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34331         * timezone/checktab.awk: Update from tzcode 2014e.
34332         * timezone/private.h: Likewise.
34333         * timezone/tzfile.h: Likewise.
34334         * timezone/zdump.c: Likewise.
34335         * timezone/zic.c: Likewise.
34337         * sysdeps/unix/sysv/linux/kernel-features.h
34338         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34339         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34340         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34341         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34342         Remove conditional code.
34344 2014-06-25  Will Newton  <will.newton@linaro.org>
34346         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34347         (_dl_arm_cap_flags): Add HWCAP2 values.
34348         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34349         (_DL_HWCAP_COUNT): Increase to 37.
34350         (_DL_HWCAP_LAST): New define.
34351         (_DL_HWCAP2_LAST): New define.
34352         (_dl_procinfo): Add support for printing
34353         AT_HWCAP2 entries.
34354         (_dl_string_hwcap): Use _dl_hwcap_string.
34356 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34360 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34362         * README: Do not mention ports directory.
34364         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34365         Remove macro.
34366         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34367         <kernel-features.h>.
34368         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34369         conditional variable definition.
34370         (__futimes): Update comment.
34371         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34372         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34374         [BZ #16560]
34375         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34376         arguments close to 0.
34377         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34378         Likewise.
34379         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34380         Likewise.
34381         * math/auto-libm-test-in: Add more tests of exp10.
34382         * math/auto-libm-test-out: Regenerated.
34383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34385         * sysdeps/unix/sysv/linux/kernel-features.h
34386         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34387         * sysdeps/unix/sysv/linux/readv.c: Do not include
34388         <kernel-features.h>.
34389         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34390         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34391         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34392         unconditional.
34393         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34394         conditional code.
34395         * sysdeps/unix/sysv/linux/writev.c: Do not include
34396         <kernel-features.h>.
34397         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34398         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34399         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34400         unconditional.
34401         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34402         conditional code.
34404 2014-06-25  Will Newton  <will.newton@linaro.org>
34406         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34407         comment changes throughout the file.  Remove checks
34408         for HAVE_*_H definitions that are not required.
34409         (__gen_tempname): Call abort if an unknown kind value is
34410         passed.
34412 2014-06-25  Andreas Schwab  <schwab@suse.de>
34414         [BZ #17086]
34415         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34416         scalbln, scalblnf, scalblnl in libc.
34418 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34420         [BZ #17086]
34421         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34422         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34423         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34425 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34427         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34428         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34429         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34430         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34431         Update #include.
34432         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34433         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34434         Update #include.
34435         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34436         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34437         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34438         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34439         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34440         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34441         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34442         * sysdeps/x86/bits/semaphore.h: ... here.
34443         * sysdeps/x86/nptl/elide.h: Moved ...
34444         * sysdeps/x86/elide.h: ... here.
34445         * sysdeps/x86_64/nptl/Implies: File removed.
34446         * sysdeps/i386/nptl/Implies: File removed.
34448 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34450         [BZ #16539]
34451         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34452         return the argument for normal arguments with exponent below -64.
34453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34454         Likewise.
34455         * math/auto-libm-test-in: Add another test of expm1.
34456         * math/auto-libm-test-out: Regenerated.
34458         [BZ #16287]
34459         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34460         calling __erfcl for arguments at least 16.
34461         * math/auto-libm-test-in: Add more tests of erf.
34462         * math/auto-libm-test-out: Regenerated.
34464         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34465         individual architectures.
34466         * sysdeps/unix/sysv/linux/configure: Regenerated.
34467         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34468         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34469         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34470         (ldd_rewrite_script): Define variable.
34471         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34473         file.
34474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34475         generated file.
34476         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34477         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34478         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34479         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34480         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34481         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34482         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34483         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34485 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34487         [BZ #17084]
34488         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34489         Rename member __data.d to __data.__elision_data.
34491 2014-06-24  Wilco  <wdijkstr@arm.com>
34493         * NEWS: Add 16918 to fixed bug list.
34495 2014-06-24  Wilco  <wdijkstr@arm.com>
34497         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34499 2014-06-24  Wilco  <wdijkstr@arm.com>
34501         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34502         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34503         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34504         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34505         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34506         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34507         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34508         Use _FPU_MASK_RM.
34510 2014-06-24  Wilco  <wdijkstr@arm.com>
34512         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34514 2014-06-24  Wilco  <wdijkstr@arm.com>
34516         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34517         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34518         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34519         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34521 2014-06-24  Wilco  <wdijkstr@arm.com>
34523         [BZ #16918]
34524         * sysdeps/arm/feupdateenv.c (feupdateenv):
34525         Rewrite to reduce FPSCR accesses and fix return value.
34527 2014-06-24  Wilco  <wdijkstr@arm.com>
34529         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34530         Optimize to avoid unnecessary FPSCR writes.
34531         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34532         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34533         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34534         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34536 2014-06-24  Wilco  <wdijkstr@arm.com>
34538         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34539         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34540         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34541         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34542         Call libc_fetestexcept_vfp.
34543         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34544         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34545         __SOFTFP__ ifdef so that they can be built for softfp.
34547 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34549         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34550         argument type signed char.
34552         * Makerules (check-abi): Dump diff of symlist if the test
34553         fails.
34555 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34557         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34558         using abort.
34560         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34561         Remove unused variable ST.
34563 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34565         [BZ #16354]
34566         [BZ #17061]
34567         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34568         small arguments before calling __expm1.
34569         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34570         small arguments before calling __expm1f.
34571         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34572         small arguments before calling __expm1l.
34573         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34574         Likewise.
34575         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34576         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34577         spurious underflow for some cosh tests.
34578         * math/auto-libm-test-out: Regenerated.
34579         * sysdeps/i386/fpu/libm-test-ulps: Update.
34581         [BZ #17050]
34582         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34583         (__ieee754_y1): Set errno if return value overflows.
34584         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34585         (__ieee754_y1f): Set errno if return value overflows.
34586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34587         (__ieee754_y1l): Set errno if return value overflows.
34588         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34589         (__ieee754_y1l): Set errno if return value overflows.
34590         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34591         * math/auto-libm-test-out: Regenerated.
34593         * math/gen-auto-libm-tests.c: Document use of
34594         ignore-zero-inf-sign.
34595         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34596         (input_flags): Add ignore-zero-inf-sign.
34597         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34598         * math/gen-libm-test.pl (generate_testfile): Handle
34599         ignore-zero-inf-sign.
34600         * math/auto-libm-test-in: Mark some cpow tests with
34601         ignore-zero-inf-sign and some with xfail-rounding.
34602         * math/auto-libm-test-out: Regenerated.
34603         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34604         * sysdeps/i386/fpu/libm-test-ulps: Update.
34605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34607         [BZ #16315]
34608         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34609         overflowing or underflowing operations take place with sign of
34610         result.
34611         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34612         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34613         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34614         (__ieee754_pow): Recompute overflowing and underflowing results in
34615         original rounding mode.
34616         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34617         (__powl_helper): Allow negative argument X and scale negated value
34618         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34619         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34620         overflowing or underflowing operations take place with sign of
34621         result.
34622         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34623         Include <math.h>.
34624         * math/auto-libm-test-in: Add more tests of pow.
34625         * math/auto-libm-test-out: Regenerated.
34626         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34627         (pow_tonearest_test_data): Remove.
34628         (pow_test_tonearest): Likewise.
34629         (pow_towardzero_test_data): Likewise.
34630         (pow_test_towardzero): Likewise.
34631         (pow_downward_test_data): Likewise.
34632         (pow_test_downward): Likewise.
34633         (pow_upward_test_data): Likewise.
34634         (pow_test_upward): Likewise.
34635         (main): Don't call removed functions.
34636         * sysdeps/i386/fpu/libm-test-ulps: Update.
34637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34639 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34642         Moved ...
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34645         Moved ...
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34648         Moved ...
34649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34651         Moved ...
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34654         File removed.
34655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34656         File removed.
34657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34658         File removed.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34660         File removed.
34661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34662         File removed.
34663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34664         File removed.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34666         File removed.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34668         File removed.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34670         File removed.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34672         File removed.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34674         File removed.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34676         File removed.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34678         Moved ...
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34681         Moved ...
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34683         ... here.
34684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34685         Moved ...
34686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34688         Moved ...
34689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34691         Moved ...
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34694         Moved ...
34695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34697         Moved ...
34698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34700         Moved ...
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34703         Moved ...
34704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34707         ... here.
34708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34709         Moved ...
34710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34712         Moved ...
34713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34714         ... here.
34715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34716         Moved ...
34717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34718         ... here.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34720         Moved ...
34721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34722         ... here.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34724         Moved ...
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34727         Moved ...
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34732         Moved ...
34733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34734         ... here.
34735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34736         Moved ...
34737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34738         ... here.
34739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34740         Moved ...
34741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34743         Moved ...
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34746         Moved ...
34747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34749         Moved ...
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34752         Moved ...
34753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34754         ... here.
34755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34756         Moved ...
34757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34759         Moved ...
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34762         Moved ...
34763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34765         Moved ...
34766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34770         Moved ...
34771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34773         Moved ...
34774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34776         Moved ...
34777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34778         ... here.
34779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34780         Moved ...
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34782         ... here.
34783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34784         Moved ...
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34786         ... here.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34788         Moved ...
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34791         Moved ...
34792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34794         Moved ...
34795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34797         Moved ...
34798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34799         ... here.
34800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34801         Moved ...
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34803         ... here.
34804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34805         Moved ...
34806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34807         ... here.
34808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34809         Moved ...
34810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34812         Moved ...
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34815 2014-06-23  Will Newton  <will.newton@linaro.org>
34816             Wilco  <wdijkstr@arm.com>
34818         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34819         implementation.  Include get-rounding-mode.h.
34820         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34821         [!libc_feholdsetround_noex_ctx]: Define
34822         libc_feholdsetround_noex_ctx.
34823         [!libc_feholdsetround_noexf_ctx]: Define
34824         libc_feholdsetround_noexf_ctx.
34825         [!libc_feholdsetround_noexl_ctx]: Define
34826         libc_feholdsetround_noexl_ctx.
34827         (libc_feholdsetround_ctx): New function.
34828         (libc_feresetround_ctx): New function.
34829         (libc_feholdsetround_noex_ctx): New function.
34830         (libc_feresetround_noex_ctx): New function.
34832 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34834         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34835         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34836         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34837         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34838         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34839         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34841         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34842         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34843         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34844         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34845         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34846         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34848         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34850         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34852         Moved ...
34853         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34854         ... here.
34855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34856         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34858         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34860         Moved ...
34861         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34862         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34863         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34867         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34868         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34869         Moved ...
34870         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34871         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34872         Moved ...
34873         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34875         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34877         Moved ...
34878         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34879         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34880         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34881         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34882         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34883         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34884         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34885         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34886         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34888         Moved ...
34889         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34890         ... here.
34891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34894         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34896         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34898         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34900         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34902         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34904         Moved ...
34905         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34907         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34908         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34909         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34911         Moved ...
34912         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34914         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34915         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34916         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34918         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34919         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34920         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34927         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34928         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34929         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34930         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34931         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34932         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34933         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34936         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34937         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34938         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34939         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34940         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34941         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34942         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34943         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34944         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34945         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34947 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34950         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34951         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34952         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34953         (IPV6_PMTUDISC_INTERFACE): Likewise.
34954         (IPV6_PMTUDISC_OMIT): Likewise.
34956 2014-06-23  Andreas Schwab  <schwab@suse.de>
34958         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34959         Remove unused errout label.
34961 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34963         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34964         macro: hardware supports Vector Crypto instructions.
34966 2014-06-23  Will Newton  <will.newton@linaro.org>
34968         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34969         rather than __builtin_expect.
34971         * elf/dl-lookup.c (undefined_msg): Remove variable.
34972         (_dl_lookup_symbol_x): Replace undefined_msg with string
34973         literal.
34975         * elf/dl-lookup.c (do_lookup_unique): New function.
34976         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34977         to a separate function.
34979 2014-06-23  Andreas Schwab  <schwab@suse.de>
34981         [BZ #17079]
34982         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34983         before reading the next line.
34985 2014-06-23  Will Newton  <will.newton@linaro.org>
34987         * test-skeleton.c (signal_handler): Use printf and %m
34988         rather than perror.  Use printf rather than fprintf to
34989         stderr.  Use puts rather than fputs to stderr.
34990         (main): Likewise.
34992 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34994         * nscd/nscd.c (thread_info_t): Remove typedef.
34995         (thread_info): Remove variable.
34997 2014-06-21  Allan McRae  <allan@archlinux.org>
34999         * NEWS: Mention CVE-2014-4043.
35001 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35003         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35004         * nptl/smp.h: ... here.
35006         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35008         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35009         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35010         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35011         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35013         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35014         * nptl/stack-aliasing.h: New file.
35015         * sysdeps/i386/i686/stack-aliasing.h: New file.
35016         * sysdeps/i386/i686/nptl/Makefile: File removed.
35017         * sysdeps/x86_64/stack-aliasing.h: New file.
35018         * sysdeps/x86_64/nptl/Makefile
35019         (CFLAGS-pthread_create.c): Variable removed.
35021         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35022         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35023         old file.
35024         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35025         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35026         old file.
35028 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35031         (__ASSUME_SIGFRAME_V2): Remove macro.
35032         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35033         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35034         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35035         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35036         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35037         Declare as function.  Remove conditional macro definitions.
35038         (__default_rt_sa_restorer): Likewise.
35039         (__default_sa_restorer_v1): Remove declaration.
35040         (__default_sa_restorer_v2): Likewise.
35041         (__default_rt_sa_restorer_v1): Likewise.
35042         (__default_rt_sa_restorer_v2): Likewise.
35043         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35044         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35045         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35047 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35049         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35050         (libpthread-routines): Add sysdep.
35051         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35052         * sysdeps/unix/sysv/linux/sparc/Versions
35053         (libpthread: GLIBC_2.3.3): New version set.
35054         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35055         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35056         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35057         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35058         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35059         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35060         Moved ...
35061         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35062         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35063         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35064         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35065         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35066         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35067         * sysdeps/sparc/nptl/sem_init.c: ... here.
35068         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35069         * sysdeps/sparc/nptl/sem_post.c: ... here.
35070         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35071         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35072         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35073         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35074         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35076         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35077         (libpthread-routines): Add cpu_relax.
35078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35079         File removed.
35080         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35081         (librt: GLIBC_2.3.3): New version set.
35082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35083         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35084         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35085         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35088         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35090         Moved ...
35091         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35093         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35095         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35097         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35099         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35101         Moved ...
35102         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35103         Update #include.
35104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35105         Moved ...
35106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35107         Update #include.
35108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35109         Moved ...
35110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35111         Update #include.
35112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35113         Moved ...
35114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35115         Update #include.
35116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35117         Moved ...
35118         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35119         Update #include.
35120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35121         Moved ...
35122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35123         Update #include.
35124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35125         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35131         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35133         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35135         Moved ...
35136         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35138         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35140         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35142 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35144         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35145         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35146         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35147         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35148         * nscd/nscd.c: Likewise.
35149         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35150         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35151         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35152         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35154         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35155         <kernel-features.h>.
35156         (init_mq_netlink): Remove conditional have_sock_cloexec
35157         definitions.  Remove code conditional on have_sock_cloexec < 0.
35158         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35159         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35160         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35161         <kernel-features.h>.
35162         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35163         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35165 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35168         Add tests for memset_chk and memset.
35170         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35171         with AVX2_Usable.
35173 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35175         [BZ #16046]
35176         * elf/tst-dl-iter-static.c: New file.
35177         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35179         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35180         error.
35182 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35184         * sysdeps/unix/sysv/linux/kernel-features.h
35185         (__ASSUME_F_GETOWN_EX): Remove macro.
35186         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35187         <kernel-features.h>.
35188         (miss_F_GETOWN_EX): Remove variable or macro.
35189         (do_fcntl): Do not check miss_F_GETOWN_EX.
35190         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35192         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35193         Remove macro.
35194         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35195         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35196         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35198         * sysdeps/unix/sysv/linux/kernel-features.h
35199         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35200         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35201         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35202         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35204 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35206         [BZ #17075]
35207         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35208         Fix calculation of the symbol's value.
35209         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35210         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35211         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35212         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35213         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35214         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35215         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35216         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35217         (modules-names): Add `tst-armtlsdescmod',
35218         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35219         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35220         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35221         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35222         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35223         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35224         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35225         ($(objpfx)tst-armtlsdescloc): New dependency.
35226         ($(objpfx)tst-armtlsdescextnow): Likewise.
35227         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35228         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35229         TLS scheme support.
35230         * sysdeps/arm/configure: Regenerate.
35232 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35234         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35235         (__atfct_seterrno_2): Likewise.
35236         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35237         <kernel-features.h>.
35238         (__ASSUME_ATFCTS): Do not undefine and redefine.
35239         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35240         (__have_atfcts): Remove conditional definition.
35241         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35243         unreachable if [__ASSUME_ATFCTS].
35244         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35245         not undefine and redefine.
35246         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35247         <kernel-features.h>.
35248         (faccessat) [__NR_faccessat]: Make code unconditional.
35249         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35250         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35251         <kernel-features.h>.
35252         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35253         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35254         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35255         <kernel-features.h>.
35256         (fchownat) [__NR_fchownat]: Make code unconditional.
35257         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35258         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35259         <kernel-features.h>.
35260         (futimesat) [__NR_futimesat]: Make code unconditional.
35261         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35262         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35263         <kernel-features.h>.
35264         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35265         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35266         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35267         <kernel-features.h>.
35268         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35269         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35270         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35271         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35272         <kernel-features.h>.
35273         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35274         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35275         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35276         <kernel-features.h>.
35277         (linkat) [__NR_linkat]: Make code unconditional.
35278         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35279         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35280         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35281         <kernel-features.h>.
35282         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35283         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35284         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35285         <kernel-features.h>.
35286         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35287         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35288         * sysdeps/unix/sysv/linux/openat.c: Do not include
35289         <kernel-features.h>.
35290         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35291         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35292         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35293         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35294         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35295         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35296         <kernel-features.h>.
35297         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35298         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35299         result of INLINE_SYSCALL directly, not via int variable.
35300         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35301         <kernel-features.h>.
35302         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35303         (renameat) [__NR_renameat]: Make code unconditional.
35304         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35305         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35306         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35307         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35308         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35309         (__ASSUME_ATFCTS): Do not undefine and redefine.
35310         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35311         <kernel-features.h>.
35312         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35313         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35314         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35315         <kernel-features.h>.
35316         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35317         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35318         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35319         (__ASSUME_ATFCTS): Do not undefine and redefine.
35320         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35321         <kernel-features.h>.
35322         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35323         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35324         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35325         <kernel-features.h>.
35326         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35327         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35329 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35331         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35333 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35335         [BZ #17069]
35336         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35337         constructed tree before returning error.
35338         * posix/bug-regexp36.c: Expand test case.
35340 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35342         [BZ #6803]
35343         * math/libm-test.inc (scalbln_test_date):
35344         Add errno expectations.
35345         * math/w_scalblnf.c: New File.
35346         Add wrapper which checks for setting errno to ERANGE.
35347         Add weak_alias for corresponding scalbln function.
35348         * math/w_scalbln.c: Likewise.
35349         * math/w_scalblnl.c: Likewise.
35350         * math/Makefile (libm-calls): Add w_scalbln.
35351         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35352         Remove weak_alias for corresponding scalbln function.
35353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35354         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35355         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35357         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35358         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35359         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35360         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35361         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35362         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35363         Remove long_double_symbol for scalblnl function in libm, libc.
35364         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35365         Add wrapper which checks for setting errno to ERANGE.
35366         Add long_double_symbol for scalblnl function in libm, libc.
35367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35368         Remove long_double_symbol for scalblnl in libm.
35369         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35370         Add wrapper which checks for setting errno to ERANGE.
35371         Add long_double_symbol for scalblnl function in libm.
35372         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35373         Do not use wrapper because of own implementation.
35375 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35377         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35378         3 bytes for __pad1 for x32.
35379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35381 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35382             H.J. Lu  <hongjiu.lu@intel.com>
35384         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35385         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35386         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35387         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35388         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35390 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35392         [BZ #17069]
35393         * posix/regcomp.c (parse_expression): Deallocate partially
35394         constructed tree before returning error.
35395         * posix/Makefile.c (tests): Add bug-regex36.
35396         (generated): Add bug-regex36.mtrace.
35397         (tests-special): Add $(objpfx)bug-regex36-mem.out
35398         (bug-regex36-ENV): New variable.
35399         ($(objpfx)bug-regex36-mem.out): New rule.
35400         * posix/bug-regex36.c: New file.
35402 2014-06-19  Will Newton  <will.newton@linaro.org>
35404         * malloc/malloc.c (systrim): If extra is zero then return
35405         early.
35407 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35409         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35411 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35413         * sysdeps/aarch64/strchr.S: New file.
35415 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35417         [BZ #17022]
35418         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35419         from arguments -2 or below.
35420         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35421         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35423 2014-06-18  Andreas Schwab  <schwab@suse.de>
35425         [BZ #17062]
35426         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35427         of a bracket expr not to run off the end of the string.
35428         * posix/Makefile (tests): Add tst-fnmatch3.
35429         * posix/tst-fnmatch3.c: New file.
35431 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35433         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35434         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35435         [$(cross-compiling) = no]: Likewise.
35436         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35437         [$(cross-compiling) = no]: Likewise.
35439 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35441         [BZ #17031]
35442         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35443         double, adjusted for any remainder from the high double.
35444         * math/libm-test.inc (nearbyint): Add tests.
35445         (rint): Likewise.
35447 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35449         * nptl/sysdeps/powerpc/Makefile: Moved ...
35450         * sysdeps/powerpc/nptl/Makefile: ... here.
35451         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35452         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35453         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35454         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35455         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35456         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35457         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35458         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35459         * nptl/sysdeps/powerpc/tls.h: Moved ...
35460         * sysdeps/powerpc/nptl/tls.h: ... here.
35462 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35464         [BZ #16681]
35465         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35466         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35467         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35468         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35469         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35470         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35471         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35472         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35473         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35475 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35477         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35479 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35481         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35482         defined operator.
35484         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35485         $TIMEOUTFACTOR.
35487 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35489         [BZ #17058]
35490         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35491         non-executed part of the test.
35493 2014-06-16  Andreas Schwab  <schwab@suse.de>
35495         * string/bits/string2.h (strdup, strndup): Update feature guard.
35497 2014-06-14  David S. Miller  <davem@davemloft.net>
35499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35501 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35503         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35504         that was previously under [RESET_PID].
35505         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35507         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35508         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35509         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35510         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35511         (__libc_vfork): New strong alias.
35512         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35514 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35516         * sysdeps/generic/elide.h: New file.
35518 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35520         * Makefile (installed-headers): Adjust path of pthread.h header.
35522 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35524         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35525         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35526         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35527         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35529         * nptl/sysdeps/s390/Makefile: Moved ...
35530         * sysdeps/s390/nptl/Makefile: ... here.
35531         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35532         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35533         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35534         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35535         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35536         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35537         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35538         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35539         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35540         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35541         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35542         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35543         * nptl/sysdeps/s390/tls.h: Moved ...
35544         * sysdeps/s390/nptl/tls.h: ... here.
35546         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35547         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35549 2014-06-13  David S. Miller  <davem@davemloft.net>
35551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35554         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35558         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35559         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35560         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35561         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35562         Remove RESET_PID cpp guards.
35563         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35564         Remove RESET_PID cpp guards.
35565         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35567 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35569         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35570         __sp to uintptr_t.
35572 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35581         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35582         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35584         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35589         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35595         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35596         (pthread_rwlock_rdlock): Add elision.
35597         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35598         (pthread_rwlock_wrlock): Add elision.
35599         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35600         (pthread_rwlock_trywrlock): Add elision.
35601         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35602         (pthread_rwlock_tryrdlock): Add elision.
35603         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35604         (pthread_rwlock_tryrdlock): Add elision unlock.
35605         * nptl/sysdeps/pthread/pthread.h:
35606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35607         (PTHREAD_RWLOCK_INITIALIZER,
35608         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35609         Handle new elision field.
35610         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35611         * sysdeps/arm/nptl/bits/pthreadtypes.h
35612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35613         * sysdeps/sh/nptl/bits/pthreadtypes.h
35614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35615         * sysdeps/tile/nptl/bits/pthreadtypes.h
35616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35617         * sysdeps/a/nptl/bits/pthreadtypes.h
35618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35619         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35621         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35623         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35625         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35627         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35629         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35631         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35633         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35635         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35636         (elision_init): Set try_xbegin to zero when no RTM.
35637         * sysdeps/x86/nptl/bits/pthreadtypes.h
35638         (pthread_rwlock_t): Change __pad1 to __rwelision.
35639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35641 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35643         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35644         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35645         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35646         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35648 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35650         [BZ #16996]
35651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35652         that the cached result has been set before returning it.
35654 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35656         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35657         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35658         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35659         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35660         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35661         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35663         * nptl/sysdeps/sparc/Makefile: Moved ...
35664         * sysdeps/sparc/nptl/Makefile: ... here.
35665         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35666         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35667         * nptl/sysdeps/sparc/tls.h: Moved ...
35668         * sysdeps/sparc/nptl/tls.h: ... here.
35669         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35670         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35671         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35672         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35673         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35674         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35675         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35676         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35677         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35678         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35679         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35680         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35681         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35682         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35683         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35684         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35685         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35687         Update #include.
35688         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35690         Update #include.
35691         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35693         Update #include.
35694         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35696         Update #include.
35698         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35700         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35701         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35703         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35704         (struct list_links): Type removed.
35705         (struct thread_node, struct timer_node): Replace struct list_links
35706         with struct list_head.
35707         (list_unlink_ip): Likewise.
35708         * sysdeps/pthread/timer_routines.c
35709         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35710         (list_append, list_insbefore): Likewise.
35711         (list_init): Function removed.
35712         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35713         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35714         * sysdeps/pthread/Makefile: ... here, new file.
35716         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35717         * sysdeps/nptl/Implies: ... here.
35718         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35719         * nptl/sysdeps/pthread/list.h: Moved ...
35720         * include/list.h: ... here.
35721         * nptl/sysdeps/pthread/createthread.c: Moved ...
35722         * nptl/createthread.c: ... here.
35723         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35724         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35725         * nptl/pt-longjmp.c: ... here.
35726         * nptl/sysdeps/pthread/Makefile: Moved ...
35727         * sysdeps/nptl/Makefile: ... here.
35728         * nptl/sysdeps/pthread/Subdirs: Moved ...
35729         * sysdeps/nptl/Subdirs: ... here.
35730         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35731         * sysdeps/nptl/aio_misc.h: ... here.
35732         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35733         * sysdeps/nptl/bits/libc-lock.h: ... here.
35734         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35735         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35736         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35737         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35738         * nptl/sysdeps/pthread/configure: Moved ...
35739         * sysdeps/nptl/configure: ... here.
35740         * nptl/sysdeps/pthread/configure.ac: Moved ...
35741         * sysdeps/nptl/configure.ac: ... here.
35742         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35743         * sysdeps/nptl/gai_misc.h: ... here.
35744         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35745         * sysdeps/nptl/librt-cancellation.c: ... here.
35746         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35747         * sysdeps/nptl/malloc-machine.h: ... here.
35748         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35749         * sysdeps/nptl/pthread-functions.h: ... here.
35750         * nptl/sysdeps/pthread/pthread.h: Moved ...
35751         * sysdeps/nptl/pthread.h: ... here.
35752         * nptl/sysdeps/pthread/setxid.h: Moved ...
35753         * sysdeps/nptl/setxid.h: ... here.
35754         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35755         * sysdeps/nptl/sigfillset.c: ... here.
35756         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35757         * sysdeps/nptl/tcb-offsets.h: ... here.
35758         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35759         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35760         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35761         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35762         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35763         * sysdeps/pthread/allocalim.h: ... here.
35764         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35765         * sysdeps/pthread/bits/sigthread.h: ... here.
35766         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35767         * sysdeps/pthread/flockfile.c: ... here.
35768         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35769         * sysdeps/pthread/ftrylockfile.c: ... here.
35770         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35771         * sysdeps/pthread/funlockfile.c: ... here.
35772         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35773         * sysdeps/pthread/posix-timer.h: ... here.
35774         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35775         * sysdeps/pthread/timer_create.c: ... here.
35776         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35777         * sysdeps/pthread/timer_delete.c: ... here.
35778         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35779         * sysdeps/pthread/timer_getoverr.c: ... here.
35780         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35781         * sysdeps/pthread/timer_gettime.c: ... here.
35782         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35783         * sysdeps/pthread/timer_routines.c: ... here.
35784         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35785         * sysdeps/pthread/timer_settime.c: ... here.
35786         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35787         * sysdeps/pthread/tst-timer.c: ... here.
35788         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35789         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35791         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35792         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35794         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35795         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35796         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35797         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35798         Update #include target.
35799         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35800         * sysdeps/i386/i686/nptl/Makefile: ... here.
35801         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35802         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35803         Update #include target.
35804         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35805         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35806         * nptl/sysdeps/i386/Makefile: Moved ...
35807         * sysdeps/i386/nptl/Makefile: ... here.
35808         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35809         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35810         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35811         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35812         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35813         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35814         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35815         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35816         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35817         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35818         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35819         * nptl/sysdeps/i386/tls.h: Moved ...
35820         * sysdeps/i386/nptl/tls.h: ... here.
35822         * sysdeps/sh/Makefile [$(subdir) = csu]
35823         (gen-as-const-headers): Add tcb-offsets.sym.
35824         * nptl/sysdeps/sh/Makefile: File removed.
35825         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35826         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35827         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35828         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35829         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35830         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35831         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35832         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35833         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35834         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35835         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35836         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35837         * nptl/sysdeps/sh/tls.h: Moved ...
35838         * sysdeps/sh/nptl/tls.h: ... here.
35839         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35840         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35841         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35842         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35843         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35844         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35845         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35846         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35847         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35848         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35850         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35852         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35854         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35856         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35858         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35860         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35863         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35864         Moved ...
35865         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35866         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35867         Moved ...
35868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35869         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35873         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35874         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35876         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35877         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35878         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35879         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35880         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35882         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35883         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35884         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35886         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35888 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35890         * posix/spawn_faction_addopen.c: Include string.h.
35892 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35894         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35895         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35896         * nptl/sysdeps/x86_64/Makefile: Moved ...
35897         * sysdeps/x86_64/nptl/Makefile: ... here.
35898         * nptl/sysdeps/x86_64/configure: Moved ...
35899         * sysdeps/x86_64/nptl/configure: ... here.
35900         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35901         * sysdeps/x86_64/nptl/configure.ac: ... here.
35902         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35903         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35904         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35905         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35906         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35907         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35908         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35909         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35910         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35911         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35912         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35913         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35914         * nptl/sysdeps/x86_64/tls.h: Moved ...
35915         * sysdeps/x86_64/nptl/tls.h: ... here.
35916         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35917         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35918         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35919         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35921         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35923 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35927 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35929         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35930         type.
35931         [POSIX] (off_t): Likewise.
35932         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35933         [POSIX] (S_ISBLK): Require macro.
35934         [POSIX] (S_ISCHR): Likewise.
35935         [POSIX] (S_ISDIR): Likewise.
35936         [POSIX] (S_ISFIFO): Likewise.
35937         [POSIX] (S_ISREG): Likewise.
35938         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35939         optional-macro.
35940         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35941         type.
35942         [POSIX] (time_t): Likewise.
35943         [POSIX] (timer_t): Likewise.
35945 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35947         [BZ #17048]
35948         * posix/spawn_int.h (struct __spawn_action): Make the path string
35949         non-const to support deallocation.
35950         * posix/spawn_faction_addopen.c
35951         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35952         * posix/spawn_faction_destroy.c
35953         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35954         path in all spawn_do_open actions.
35955         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35956         posix_spawn_file_actions_addopen.
35958 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35960         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35961         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35962         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35963         conditional code always true.
35964         (__libc_vfork): New alias.
35966 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35968         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35969         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35971         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35973         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35974         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35976         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35977         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35979         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35980         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35982 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35984         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35985         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35986         multiarch strcmp for PPC64.
35987         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35988         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35990         multiarch optimizations.
35991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35992         (__libc_ifunc_impl_list): Likewise.
35994 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35996         * benchtests/scripts/validate_benchout.py: New script.
35997         * benchtests/Makefile (bench-func): Call it.
35998         * benchtests/scripts/benchout.schema.json: New file.
36000 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36002         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36003         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36004         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36005         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36006         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36007         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36008         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36009         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36010         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36011         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36012         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36014         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36015         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36016         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36017         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36019         Moved ...
36020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36021         ... here.
36022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36023         Moved ...
36024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36026         Moved ...
36027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36028         ... here.
36029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36030         Moved ...
36031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36032         ... here.
36033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36034         Moved ...
36035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36037         Moved ...
36038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36039         ... here.
36040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36041         Moved ...
36042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36043         ... here.
36044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36045         Moved ...
36046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36048         Moved ...
36049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36050         ... here.
36051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36052         Moved ...
36053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36054         ... here.
36055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36056         Moved ...
36057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36058         ... here.
36059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36060         Moved ...
36061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36063         Moved ...
36064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36065         ... here.
36066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36067         Moved ...
36068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36069         ... here.
36070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36071         Moved ...
36072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36073         ... here.
36074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36075         Moved ...
36076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36078         Moved ...
36079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36080         ... here.
36081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36082         Moved ...
36083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36084         ... here.
36085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36086         Moved ...
36087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36089         Moved ...
36090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36091         ... here.
36092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36093         Moved ...
36094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36096         Moved ...
36097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36099         Moved ...
36100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36101         ... here.
36102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36103         Moved ...
36104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36105         ... here.
36106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36107         Moved ...
36108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36109         ... here.
36110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36111         Moved ...
36112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36114         Moved ...
36115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36116         ... here.
36117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36118         Moved ...
36119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36120         ... here.
36121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36122         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36124         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36126         Moved ...
36127         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36128         ... here.
36129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36130         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36132         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36134         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36136         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36138         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36140         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36142         Moved ...
36143         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36145         Moved ...
36146         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36148         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36150         Moved ...
36151         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36152         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36153         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36154         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36155         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36156         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36157         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36159 2014-06-10  Wilco  <wdijkstr@arm.com>
36161         * math/test-fenv-return.c: New file.
36162         * math/Makefile: Add new test test-fenv-return.
36164 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36166         [BZ #17042]
36167         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36168         when x - 1 is zero.
36169         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36170         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36171         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36172         0.0L for an argument of 1.0L.
36173         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36174         Likewise.
36175         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36176         value when x - 1 is zero.
36177         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36178         * sysdeps/i386/fpu/libm-test-ulps: Update.
36179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36181 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36183         [BZ #15119]
36184         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36186 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36188         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36189         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36191 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36193         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36194         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36196         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36197         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36199         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36200         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36202         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36203         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36205         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36206         if not already defined.
36207         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36208         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36209         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36210         (TLS_INIT_TP): Use it.
36211         (TLS_DEFINE_INIT_TP): New macro.
36212         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36214 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36216         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36217         constant.
36218         [POSIX] (IXANY): Likewise.
36219         [POSIX] (OLCUC): Likewise.
36220         [POSIX || POSIX2008] (CBAUD): Do not allow.
36221         [POSIX || POSIX2008] (DEFECHO): Likewise.
36222         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36223         [POSIX || POSIX2008] (ECHOKE): Likewise.
36224         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36225         [POSIX || POSIX2008] (EXTA): Likewise.
36226         [POSIX || POSIX2008] (EXTB): Likewise.
36227         [POSIX || POSIX2008] (FLUSHO): Likewise.
36228         [POSIX || POSIX2008] (LOBLK): Likewise.
36229         [POSIX || POSIX2008] (PENDIN): Likewise.
36230         [POSIX || POSIX2008] (SWTCH): Likewise.
36231         [POSIX || POSIX2008] (VDISCARD): Likewise.
36232         [POSIX || POSIX2008] (VDSUSP): Likewise.
36233         [POSIX || POSIX2008] (VLNEXT): Likewise.
36234         [POSIX || POSIX2008] (VREPRINT): Likewise.
36235         [POSIX || POSIX2008] (VSTATUS): Likewise.
36236         [POSIX || POSIX2008] (VWERASE): Likewise.
36237         (B*): Change to B[0123456789]*.
36238         * conform/data/time.h-data [POSIX || UNIX98]
36239         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36240         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36241         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36242         [POSIX] (tm_*): Do not allow.
36244 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36246         * Makefile (install): Don't set LANGUAGE.
36247         * Makefile.in (install): Likewise.
36248         * assert/Makefile (test-assert-ENV): Remove variable.
36249         (test-assert-perr-ENV): Likewise.
36250         * elf/Makefile (neededtest4-ENV): Likewise.
36251         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36252         [$(cross-compiling) = no]: Don't set LANGUAGE.
36253         * io/ftwtest-sh (LANG): Remove variable.
36254         * libio/Makefile (tst-widetext-ENV): Likewise.
36255         * manual/install.texi (Running make install): Don't refer to
36256         environment settings for make install.
36257         * INSTALL: Regenerated.
36258         * nptl/tst-tls6.sh: Don't set LANG.
36259         * posix/globtest.sh (LANG): Remove variable.
36260         * string/Makefile (tester-ENV): Likewise.
36261         (inl-tester-ENV): Likewise.
36262         (noinl-tester-ENV): Likewise.
36263         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36264         [$(cross-compiling) = no]: Don't set LANGUAGE.
36265         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36266         without explicit environment settings.
36268 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36270         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36271         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36272         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36273         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36275 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36277         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36278         other files in the crypt directory.
36279         * crypt/crypt.c: Remove duplicate includes.
36280         * crypt/crypt-entry.c: Likewise.
36281         * crypt/crypt_util.c: Likewise.
36283 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36285         * Makeconfig (run-program-env): New variable.
36286         (run-program-prefix-before-env): Likewise.
36287         (run-program-prefix-after-env): Likewise.
36288         (run-program-prefix): Define in terms of new variables.
36289         (built-program-cmd-before-env): New variable.
36290         (built-program-cmd-after-env): Likewise.
36291         (built-program-cmd): Define in terms of new variables.
36292         (test-program-prefix-before-env): New variable.
36293         (test-program-prefix-after-env): Likewise.
36294         (test-program-prefix): Define in terms of new variables.
36295         (test-program-cmd-before-env): New variable.
36296         (test-program-cmd-after-env): Likewise.
36297         (test-program-cmd): Define in terms of new variables.
36298         * Rules (make-test-out): Use $(run-program-env).
36299         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36300         (help): Do not mention environment variables.  Mention
36301         --timeoutfactor option.
36302         (timeoutfactor): New variable.
36303         (blacklist_exports): Remove function.
36304         (exports): Remove variable.
36305         (command): Do not include ${exports}.
36306         * manual/install.texi (Configuring and compiling): Do not mention
36307         test wrappers preserving environment variables.  Mention that last
36308         assignment to a variable must take precedence.
36309         * INSTALL: Regenerated.
36310         * benchtests/Makefile (run-bench): Use $(run-program-env).
36311         * catgets/Makefile ($(objpfx)test1.cat): Use
36312         $(built-program-cmd-before-env), $(run-program-env) and
36313         $(built-program-cmd-after-env).
36314         ($(objpfx)test2.cat): Do not specify environment variables
36315         explicitly.
36316         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36317         $(run-program-env) and $(built-program-cmd-after-env).
36318         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36319         $(run-program-env) and $(test-program-cmd-after-env).
36320         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36321         explicitly.
36322         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36323         run_program_env and test_program_cmd_after_env arguments.
36324         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36325         * elf/tst-pathopt.sh: Use run_program_env argument.
36326         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36327         $(test-wrapper-env) and $(run-program-env).
36328         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36329         run_program_env arguments.
36330         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36331         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36332         $(test-program-prefix-before-env), $(run-program-env) and
36333         $(test-program-prefix-after-env).
36334         ($(objpfx)tst-gettext2.out): Likewise.
36335         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36336         run_program_env and test_program_prefix_after_env arguments.
36337         * intl/tst-gettext2.sh: Likewise.
36338         * intl/tst-gettext4.sh: Do not set environment variables
36339         explicitly.
36340         * intl/tst-gettext6.sh: Likewise.
36341         * intl/tst-translit.sh: Likewise.
36342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36343         $(test-program-prefix-before-env), $(run-program-env) and
36344         $(test-program-prefix-after-env).
36345         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36346         run_program_env and test_program_prefix_after_env arguments.
36347         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36348         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36349         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36350         explicitly with each use of ${test_wrapper_env}.
36351         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36352         $(test-program-prefix-before-env), $(run-program-env) and
36353         $(test-program-prefix-after-env).
36354         * posix/tst-getconf.sh: Do not set environment variables
36355         explicitly.
36356         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36357         run_program_env and test_program_prefix_after_env arguments.
36358         * stdio-common/tst-printf.sh: Do not set environment variables
36359         explicitly.
36360         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36361         $(test-program-prefix-before-env), $(run-program-env) and
36362         $(test-program-prefix-after-env).
36363         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36364         run_program_env and test_program_prefix_after_env arguments.
36365         Split $test calls into $test_pre and $test.
36366         * timezone/Makefile (build-testdata): Use
36367         $(built-program-cmd-before-env), $(run-program-env) and
36368         $(built-program-cmd-after-env).
36370 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36372         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36373         strlen for non SHARED builds.
36375 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36377         * nptl/allocatestack.c (check_list): Inlined function...
36378         (__reclaim_stacks): ... here.
36380 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36382         [BZ #15698]
36383         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36384         memory overrun.
36386 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36388         * Rules (make-test-out): Include
36389         LOCPATH=$(common-objpfx)localedata in default environment.
36390         * debug/Makefile (tst-chk1-ENV): Remove variable.
36391         (tst-chk2-ENV): Likewise.
36392         (tst-chk3-ENV): Likewise.
36393         (tst-chk4-ENV): Likewise.
36394         (tst-chk5-ENV): Likewise.
36395         (tst-chk6-ENV): Likewise.
36396         (tst-lfschk1-ENV): Likewise.
36397         (tst-lfschk2-ENV): Likewise.
36398         (tst-lfschk3-ENV): Likewise.
36399         (tst-lfschk4-ENV): Likewise.
36400         (tst-lfschk5-ENV): Likewise.
36401         (tst-lfschk6-ENV): Likewise.
36402         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36403         (tst-iconv7-ENV): Likewise.
36404         * intl/Makefile (LOCPATH-ENV): Likewise.
36405         (tst-codeset-ENV): Likewise.
36406         (tst-gettext3-ENV): Likewise.
36407         (tst-gettext5-ENV): Likewise.
36408         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36409         (tst-fopenloc-ENV): Likewise.
36410         (tst-fgetws-ENV): Remove variable.
36411         (tst-ungetwc1-ENV): Likewise.
36412         (tst-ungetwc2-ENV): Likewise.
36413         (bug-ungetwc2-ENV): Likewise.
36414         (tst-swscanf-ENV): Likewise.
36415         (bug-ftell-ENV): Likewise.
36416         (tst-fgetwc-ENV): Likewise.
36417         (tst-fseek-ENV): Likewise.
36418         (tst-ftell-partial-wide-ENV): Likewise.
36419         (tst-ftell-active-handler-ENV): Likewise.
36420         (tst-ftell-append-ENV): Likewise.
36421         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36422         (tst-regexloc-ENV): Likewise.
36423         (bug-regex1-ENV): Likewise.
36424         (tst-regex-ENV): Likewise.
36425         (tst-regex2-ENV): Likewise.
36426         (bug-regex5-ENV): Likewise.
36427         (bug-regex6-ENV): Likewise.
36428         (bug-regex17-ENV): Likewise.
36429         (bug-regex18-ENV): Likewise.
36430         (bug-regex19-ENV): Likewise.
36431         (bug-regex20-ENV): Likewise.
36432         (bug-regex22-ENV): Likewise.
36433         (bug-regex23-ENV): Likewise.
36434         (bug-regex25-ENV): Likewise.
36435         (bug-regex26-ENV): Likewise.
36436         (bug-regex30-ENV): Likewise.
36437         (bug-regex32-ENV): Likewise.
36438         (bug-regex33-ENV): Likewise.
36439         (bug-regex34-ENV): Likewise.
36440         (bug-regex35-ENV): Likewise.
36441         (tst-rxspencer-ENV): Likewise.
36442         (tst-rxspencer-no-utf8-ENV): Likewise.
36443         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36444         (tst-sscanf-ENV): Likewise.
36445         (tst-swprintf-ENV): Likewise.
36446         (tst-swscanf-ENV): Likewise.
36447         (test-vfprintf-ENV): Likewise.
36448         (scanf13-ENV): Likewise.
36449         (bug14-ENV): Likewise.
36450         (tst-grouping-ENV): Likewise.
36451         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36452         (tst-strtod3-ENV): Likewise.
36453         (tst-strtod4-ENV): Likewise.
36454         (tst-strtod5-ENV): Likewise.
36455         (testmb2-ENV): Likewise./
36456         * string/Makefile (tst-strxfrm-ENV): Likewise.
36457         (tst-strxfrm2-ENV): Likewise.
36458         (bug-strcoll1-ENV): Likewise.
36459         (test-strcasecmp-ENV): Likewise.
36460         (test-strncasecmp-ENV): Likewise.
36461         * time/Makefile (tst-strptime-ENV): Likewise.
36462         (tst-ftime_l-ENV): Likewise.
36463         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36464         (tst-mbrtowc-ENV): Likewise.
36465         (tst-wcrtomb-ENV): Likewise.
36466         (tst-mbrtowc2-ENV): Likewise.
36467         (tst-c16c32-1-ENV): Likewise.
36468         (tst-mbsnrtowcs-ENV): Likewise.
36470 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36472         * manual/resource.texi (How to get information about the memory
36473         subsystem?): Fix typo.
36474         Reported by Peon de la Parra Ivan <peon@keba.com>
36476 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36478         [BZ #16882]
36479         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36480         (pthread_spin_lock): Branch out of spin loop to proper location.
36481         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36482         (pthread_spin_lock): Likewise.
36484         * nptl/tst-spin4.c: New test.
36485         * nptl/Makefile (tests): Add tst-spin4.
36487 2014-06-03  Andreas Schwab  <schwab@suse.de>
36489         [BZ #15946]
36490         * resolv/res_send.c (send_dg): Reload file descriptor after
36491         calling reopen.
36493 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36495         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36497 2014-06-03  Richard Henderson  <rth@redhat.com>
36499         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36500         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36501         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36502         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36503         in the SAVE_PID block.
36504         (__libc_vfork): New alias.
36505         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36507         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36508         child in registers, not on the stack.  Remove RESET_PID conditionals.
36509         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36511 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36513         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36515 2014-06-03  Wilco  <wdijkstr@arm.com>
36517         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36518         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36519         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36520         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36521         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36522         Likewise.
36524 2014-06-03  Wilco  <wdijkstr@arm.com>
36526         * sysdeps/aarch64/fpu/math_private.h
36527         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36528         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36529         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36530         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36531         Fix declarations.
36533 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36535         * crypt/crypt-private.h: Include ufc-crypt.h.
36536         (__b64_from_24bit): Declare extern.
36537         * crypt/crypt_util.c(__b64_from_24bit): New function.
36538         (b64t): New static const variable.
36539         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36540         (b64t): Remove variable.
36541         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36542         * crypt/sha256-crypt.c: Include crypt-private.h.
36543         (b64t): Remove variable.
36544         (__sha256_crypt_r): Remove b64_from_24bit and replace
36545         with __b64_from_24bit.
36546         * crypt/sha512-crypt.c: Likewise.
36548 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36550         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36551         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36552         Label the code __libc_vfork rather than __vfork.
36553         [!NOT_IN_libc] (vfork): Define as weak alias.
36554         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36555         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36556         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36558 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36560         * malloc/malloc.c (malloc_info): Fix format specifier for
36561         n_mmaps.
36563 2014-06-02  Wilco  <wdijkstr@arm.com>
36565         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36566         FPCR write.
36568 2014-06-02  Wilco  <wdijkstr@arm.com>
36570         [BZ #17009]
36571         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36572         Rewrite to reduce FPCR/FPSR accesses.
36574 2014-06-01  David S. Miller  <davem@davemloft.net>
36576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36578 2014-05-31  David S. Miller  <davem@davemloft.net>
36580         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36581         to occur in round to nearest mode when |x| >= 2.0
36583 2014-05-30  Richard Henderson  <rth@twiddle.net>
36585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36586         (PSEUDO_RET_NOERRNO): Remove.
36587         (ret): Don't redefine.
36588         (ret_NOERRNO): Define in terms of ret.
36589         (ret_ERRVAL): Likewise.
36591         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36592         use of PSEUDO_RET; perform the error check directly.
36594 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36596         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36597         with __int128_t.
36599 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36601         * malloc/malloc (malloc_info): Fix formatting.
36603 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36604             Roland McGrath  <roland@hack.frob.com>
36606         * malloc/malloc (malloc_info): Also print mmapped statistics.
36608 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36610         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36611         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36613 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36615         * malloc/malloc.c (malloc_info): Inline mi_arena.
36617 2014-05-29  Richard Henderson  <rth@twiddle.net>
36619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36620         Remove comma before expanding ASM_ARGS_##nr.
36621         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36622         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36623         of ASM_ARGS_##nr.
36624         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36625         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36626         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36627         (ASM_ARGS_1): Add leading comma.
36629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36630         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36631         to __errno_location.
36632         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36633         Remove the expected plt for __errno_location.
36635         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36636         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36637         call to __read_tp.
36639         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36640         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36641         it and break it down.
36642         (DOCARGS_0, DOCARGS_1): Do nothing.
36643         (DOCARGS_2): Update to store into the new stack frame.
36644         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36645         (UNDOCARGS_1): Update to restore from the new stack frame.
36646         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36647         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36650         (SINGLE_THREAD_P): New parameter for result regno.
36651         (PSEUDO): Update to match; use cbz instead of beq.
36653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36654         Use ENTRY to define the _nocancel entry point.  Share the syscall
36655         and syscall error check paths with the cancel path.
36656         (PSEUDO_END): New.
36658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36659         whitespace; tabs before and after asm mnemonics.
36661 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36663         [BZ #15132]
36664         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36665         Call fstat64 or stat64 internally, depending on arguments passed.
36666         Replace stat buffer argument with file descriptor argument.
36667         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36668         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36669         Pass fd to __internal_statvfs instead of calling fstat64.
36670         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36671         Pass fd to __internal_statvfs64 instead of calling fstat64.
36672         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36673         Pass -1 to __internal_statvfs instead of calling stat64.
36674         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36675         Pass -1 to __internal_statvfs64 instead of calling stat64.
36677 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36679         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36680         that was previously under [RESET_PID].
36681         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36683         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36684         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36686 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36688         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36690         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36691         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36693 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36695         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36697 2014-05-27  Andreas Schwab  <schwab@suse.de>
36699         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36700         TLS_INIT_TP macro.
36701         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36702         * elf/rtld.c (init_tls, dl_main): Likewise.
36703         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36704         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36705         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36706         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36707         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36708         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36709         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36710         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36711         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36712         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36713         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36714         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36715         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36716         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36717         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36718         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36719         * sysdeps/generic/tls.h: Update description.
36721 2014-05-27  Will Newton  <will.newton@linaro.org>
36723         [BZ #16990]
36724         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36725         and restore r2 rather than just restoring.
36727 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36729         [BZ #16724]
36730         * libio/tst-ftell-append.c: New test case.
36731         * libio/Makefile (tests): Add test case.
36732         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36733         append mode.
36734         * libio/wfileops.c (do_ftell_wide): Likewise.
36736 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36740         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36741         ...
36742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36744         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36745         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36746         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36747         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36748         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36751         Moved ...
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36754         Moved ...
36755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36756         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36757         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36758         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36759         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36760         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36761         ...
36762         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36763         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36764         Moved ...
36765         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36766         here.
36767         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36768         ...
36769         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36770         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36771         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36773         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36774         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36775         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36776         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36779         merge into ...
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36782         ...
36783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36785         ...
36786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36788         Moved ...
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36790         here.
36791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36792         Moved ...
36793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36795         Moved ...
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36799         conditional [RESET_PID].
36800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36802         removed.
36803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36804         removed.
36806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36807         <tcb-offsets.h>.
36808         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36809         (__libc_vfork): New strong alias.
36810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36811         removed.
36812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36813         Removed.
36815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36816         <tcb-offsets.h>.
36817         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36818         (__libc_vfork): New strong alias.
36819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36820         removed.
36821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36822         removed.
36824 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36826         * malloc/malloc.c (mi_arena): New function.
36827         (malloc_info): Remove nested function mi_arena. Call non-nosted
36828         function mi_arena.
36830 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36832         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36833         by insrwi.
36834         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36835         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36836         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36837         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36838         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36839         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36840         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36842 2014-05-26  Andreas Schwab  <schwab@suse.de>
36844         [BZ #16984]
36845         * locale/programs/repertoire.c (repertoire_read): Add slash
36846         between I18NPATH element and file name.
36847         * locale/programs/locfile.c (locfile_read): Likewise.
36849 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36851         * nptl/pthread_mutexattr_settype.c
36852         (__pthread_mutexattr_settype):
36853         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36855 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36857         * nptl/tst-mutex5 (do_test):
36858         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36860 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36862         * benchtests/README: Document 'init' directive.
36863         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36864         BENCH_INIT.
36865         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36866         (parse_file): Recognize 'init' directive.
36868 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36870         [BZ #16796]
36871         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36872         alignment of struct pthread.
36874 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36876         [BZ #16878]
36877         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36878         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36879         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36880         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36882 2014-05-25  Richard Henderson  <rth@twiddle.net>
36884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36885         (SINGLE_THREAD_P_PIC): Remove.
36886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36887         (SINGLE_THREAD_P_PIC): Remove.
36889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36890         branch to syscall error ...
36891         (PSEUDO): ... here.
36892         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36893         from __local_syscall_error to .Lsyscall_error.
36894         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36895         (SYSCALL_ERROR): Update label name.
36897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36898         Do not use DOARGS/UNDOARGS.
36899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36900         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36901         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36902         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36903         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36905         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36906         block comment.
36908         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36909         define if !NOT_IN_libc.
36910         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36911         define with non-default symbol versions.
36913 2014-05-23  Richard Henderson  <rth@twiddle.net>
36915         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36916         (vfork, __vfork): Define via compat_symbol.
36918         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36919         [!HAVE_IFUNC] (vfork_compat): Remove.
36920         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36922 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36924         [BZ #16978]
36925         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36926         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36927         variable.
36929 2014-05-23  Richard Henderson  <rth@twiddle.net>
36931         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36932         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36933         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36934         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36936         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36937         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36938         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36939         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36940         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36941         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36942         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36943         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36944         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36945         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36946         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36947         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36948         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36949         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36950         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36951         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36952         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36953         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36954         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36955         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36956         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36957         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36958         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36959         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36960         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36961         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36962         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36963         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36964         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36965         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36966         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36967         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36968         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36969         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36970         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36971         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36972         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36973         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36974         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36975         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36976         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36977         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36978         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36979         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36980         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36983         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36985         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36987         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36988         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36989         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36990         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36991         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36993         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36994         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36995         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36996         before exiting on error.
36997         (__libc_vfork): New strong alias.
36998         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36999         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37001         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37002         that was previously under [RESET_PID].
37003         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37005         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37007 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37009         [BZ #16977]
37010         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37011         value when x - 1 is zero.
37012         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37013         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37014         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37015         0.0L for an argument of 1.0L.
37016         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37017         Likewise.
37018         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37019         value when x - 1 is zero.
37020         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37021         * sysdeps/i386/fpu/libm-test-ulps: Update.
37022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37024 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37026         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37027         alphasort and versionsort.
37029 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37031         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37032         macro.
37033         [copysignf]: Likewise.
37035 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37037         * crypt/md5-crypt.c: Fix formatting.
37039 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37041         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37042         (b64_from_24bit): New function.
37044 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37046         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37047         libc_hidden_builtin_def to ifunc.
37048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37049         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37051 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37053         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37054         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37056 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37058         * nscd/Depend (linuxthreads): Remove.
37059         (nptl): Add.
37060         * resolv/Depend (linuxthreads): Remove.
37061         * rt/Depend (linuxthreads): Remove.
37063         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37064         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37065         $(common-objpfx)elf/.
37066         (link-libc-before-gnulib): Likewise.
37067         (elfobjdir): Remove variable.
37068         * Makefile (install): Use $(elf-objpfx) instead of
37069         $(common-objpfx)elf/.
37070         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37071         $(elfobjdir)/.
37072         (link-libc-deps): Likewise.
37073         ($(common-objpfx)libc.so): Likewise.
37074         ($(common-objpfx)linkobj/libc.so): Likewise.
37075         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37076         instead of $(common-objpfx)elf/.
37077         (symbolic-link-list): Likewise.
37078         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37079         [$(cross-compiling) = no]: Likewise.
37080         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37081         $(elfobjdir)/.
37082         (static-gnulib-arch): Likewise.
37083         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37084         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37085         $(common-objpfx)elf/.
37087 2014-05-21  Richard Henderson  <rth@redhat.com>
37089         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37090         (SINGLE_THREAD_P): Use the correct width load.  Fold
37091         into the ldr offset.
37093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37094         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37096 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37098         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37099         (libgcc_s_resume): Use __attribute_used__.
37100         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37101         Likewise.
37103 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37105         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37106         optimization when used with float constants.
37108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37110 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37112         [BZ #16915]
37113         * locale/nl_langinfo_l.c: Make direct reference to every
37114         _nl_current_CATEGORY symbol.
37115         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37116         (tests-static): Add tst-langinfo-static.
37117         (tests-special): Add tst-langinfo-static.out.
37118         ($(objpfx)tst-langinfo.out): Redirect output.
37119         ($(objpfx)tst-langinfo-static.out): New.
37120         * localedata/tst-langinfo.sh: Send output to stdout.
37121         * localedata/tst-langinfo-static.c: New file.
37123         [BZ #16965]
37124         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37125         when the shift amount is modulo the limb size.
37127 2014-05-20  Richard Henderson  <rth@redhat.com>
37129         [BZ #16967]
37130         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37131         Change type of sa_flags from unsigned int to int.
37133         [BZ #16966]
37134         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37136         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37138 2014-05-20  Will Newton  <will.newton@linaro.org>
37140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37141         Test the return value of the system call in the nocancel case.
37143 2014-05-20  Will Newton  <will.newton@linaro.org>
37144             Yvan Roux  <yvan.roux@linaro.org>
37146         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37147         #include of asm/ptrace.h.
37148         (PTRACE_GET_THREAD_AREA): Remove #undef.
37149         (PTRACE_GETHBPREGS): Likewise.
37150         (PTRACE_SETHBPREGS): Likewise.
37151         (struct user_regs_struct): New structure.
37152         (struct user_fpsimd_struct): New structure.
37153         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37154         #include of asm/ptrace.h and second #include of sys/user.h.
37155         (PTRACE_GET_THREAD_AREA): Remove #undef.
37156         (PTRACE_GETHBPREGS): Likewise.
37157         (PTRACE_SETHBPREGS): Likewise.
37158         (ELF_NGREG): Use new struct user_regs_struct.
37159         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37161 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37166 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37168         [BZ #16958]
37169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37170         membar to avoid block loads/stores to overlap previous stores.
37172 2014-05-17  Richard Henderson  <rth@redhat.com>
37174         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37175         Create the __##syscall_name##_nocancel entry point.
37176         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37177         Remove; let the sysdep-cancel.h code create it.
37179 2014-05-17  David S. Miller  <davem@davemloft.net>
37181         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37182         Protect with __USE_GNU.
37183         (TIOCSET_TEMPT): Likewise.
37184         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37185         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37186         these are already provided in bits/ioctl-types.h
37188 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37190         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37191         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37193         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37194         Use wait4 regardless of [__NR_waitpid].
37196 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37198         PR libgcc/60166
37199         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37200         (_FP_NANSIGN_Q): Set the quiet bit.
37202 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37204         * benchtests/Makefile
37205         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37206         not $(common-objpfx)math/libm.so.
37207         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37208         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37209         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37210         $(common-objpfx)dlfcn/libdl.so.
37211         ($(objpfx)tst-audit8): Depend on $(libm), not
37212         $(common-objpfx)math/libm.so.
37213         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37214         not $(common-objpfx)dlfcn/libdl.so.
37215         * math/Makefile
37216         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37217         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37218         [$(build-shared) = yes].
37219         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37220         $(common-objpfx)nptl/libpthread.so.
37221         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37222         $(common-objpfx)math/libm.so$(libm.so-version) or
37223         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37224         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37225         $(common-objpfx)dlfcn/libdl.so.
37226         * setjmp/Makefile (link-libm): Remove variable.
37227         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37228         * stdio-common/Makefile (link-libm): Remove variable.
37229         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37230         * stdlib/Makefile (link-libm): Remove variable.
37231         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37232         ($(objpfx)tst-strtod-round): Likewise.
37233         ($(objpfx)tst-tininess): Likewise.
37234         ($(objpfx)tst-strtod-underflow): Likewise.
37235         ($(objpfx)tst-strtod6): Likewise.
37236         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37237         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37238         $(common-objpfx)dlfcn/libdl.so.
37240 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37242         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37243         BSD terminal modes definitions.
37245 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37247         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37248         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37250         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37251         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37252         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37253         Don't do #include_next.
37254         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37255         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37256         Don't do #include_next.
37257         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37258         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37259         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37260         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37262 2014-05-16  Allan McRae  <allan@archlinux.org>
37264         * po/sv.po: Update Swedish translation from translation project.
37266         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37267         in sed expression.
37269 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37271         [BZ #16917]
37272         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37273         errno if the TIOCGPTN ioctl fails with an error different than
37274         EINVAL.
37275         * login/tst-ptsname.c: New file.
37276         * login/Makefile (tests): Add tst-ptsname.
37278         [BZ #16943]
37279         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37280         and prlimit64.
37282 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37284         [BZ #16849]
37285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37286         herrno to return EAI_AGAIN.
37288 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37290         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37291         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37292         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37293         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37294         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37295         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37296         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37297         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37299         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37300         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37301         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37302         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37303         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37304         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37305         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37306         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37307         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37308         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37309         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37310         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37311         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37312         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37313         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37314         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37315         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37316         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37317         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37318         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37319         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37321         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37323         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37325         Moved ...
37326         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37328         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37334         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37336         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37338         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37340         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37342         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37344         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37346         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37348         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37350         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37352         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37354         Moved ...
37355         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37357         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37359         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37361         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37363         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37367         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37369         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37371         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37373         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37375         Moved ...
37376         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37378         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37380         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37381         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37382         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37383         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37384         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37385         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37386         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37387         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37388         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37389         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37390         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37391         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37392         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37393         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37394         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37395         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37396         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37397         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37398         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37399         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37400         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37401         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37402         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37403         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37404         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37405         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37407         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37408         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37409         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37410         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37412         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37413         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37415         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37416         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37417         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37418         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37419         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37421         Moved ...
37422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37424         Moved ...
37425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37427         Moved ...
37428         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37430         Moved ...
37431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37432         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37433         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37435         Moved ...
37436         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37437         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37438         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37440         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37441         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37442         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37443         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37444         Moved ...
37445         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37447         Moved ...
37448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37449         ... here.
37450         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37451         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37452         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37453         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37454         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37455         Moved ...
37456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37457         ... here.
37458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37459         Moved ...
37460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37461         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37462         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37463         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37464         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37466         Moved ...
37467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37469         Moved ...
37470         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37472         Moved ...
37473         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37475         Moved ...
37476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37477         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37478         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37480         Moved ...
37481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37482         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37483         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37485         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37486         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37487         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37488         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37489         Moved ...
37490         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37492         Moved ...
37493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37494         ... here.
37495         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37496         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37497         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37498         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37499         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37500         Moved ...
37501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37502         ... here.
37503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37504         Moved ...
37505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37506         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37507         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37508         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37509         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37510         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37512         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37513         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37514         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37515         Moved ...
37516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37517         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37518         Moved ...
37519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37521         Moved ...
37522         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37524         Moved ...
37525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37526         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37527         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37528         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37529         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37531         Moved ...
37532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37534         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37536         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37537         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37538         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37540         Moved ...
37541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37543         Moved ...
37544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37545         ... here.
37546         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37547         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37548         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37549         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37550         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37551         Moved ...
37552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37553         ... here.
37554         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37555         Moved ...
37556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37557         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37558         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37559         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37560         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37561         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37562         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37563         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37564         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37565         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37566         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37568         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37569         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37571         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37572         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37574         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37575         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37576         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37577         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37578         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37579         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37580         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37581         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37582         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37583         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37585         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37587         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37588         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37590         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37592         Moved ...
37593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37597         Moved ...
37598         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37600         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37602         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37604         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37606         Moved ...
37607         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37609         Moved ...
37610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37612         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37616         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37617         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37618         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37619         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37620         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37621         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37622         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37623         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37624         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37625         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37626         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37628         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37629         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37630         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37631         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37632         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37634         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37635         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37636         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37637         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37638         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37639         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37640         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37641         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37642         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37643         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37648         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37649         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37650         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37651         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37652         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37653         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37654         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37655         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37656         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37657         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37658         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37659         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37660         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37661         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37663         Update #include.
37664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37665         Likewise.
37666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37667         Likewise.
37668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37669         Likewise.
37670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37671         Likewise.
37672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37673         Likewise.
37674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37675         Likewise.
37676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37677         Likewise.
37678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37679         Likewise.
37680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37681         Likewise.
37682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37692         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37693         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37695         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37696         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37698         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37699         that was previously under [RESET_PID].
37700         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37701         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37702         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37704         * sysdeps/i386/nptl/Implies: New file.
37705         * sysdeps/x86_64/nptl/Implies: New file.
37706         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37707         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37708         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37709         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37711         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37712         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37713         (__libc_vfork): New strong alias.
37714         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37715         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37717         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37718         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37719         (__libc_vfork): New strong alias.
37720         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37721         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37723         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37724         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37725         (__libc_vfork): New strong alias.
37726         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37727         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37728         * nptl/pt-vfork.c: New file.
37729         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37730         (libpthread: GLIBC_2.20): New version set (empty).
37732 2014-05-14  Will Newton  <will.newton@linaro.org>
37734         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37735         rather than #if.
37737 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #16564]
37740         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37741         arguments with exponent 65 or above.
37742         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37743         arguments 0x1p113L or above.
37744         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37745         to arguments 0x1p107L or above.
37746         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37747         positive arguments with exponent 65 or above.
37748         * math/auto-libm-test-in: Add more tests of log1p.
37749         * math/auto-libm-test-out: Regenerated.
37751         [BZ #16928]
37752         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37753         non-finite arguments is +0.
37754         * math/s_cacosf.c (__cacosf): Likewise.
37755         * math/s_cacosl.c (__cacosl): Likewise.
37756         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37757         * sysdeps/i386/fpu/libm-test-ulps: Update.
37758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37760         [BZ #16927]
37761         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37762         value.
37763         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37764         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37765         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37766         for explicit high bit of mantissa when testing for argument equal
37767         to 1.
37768         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37769         * sysdeps/i386/fpu/libm-test-ulps: Update.
37770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37772         [BZ #16516]
37773         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37774         (__erf): Scale by 16 instead of 8 in potentially underflowing
37775         case.  Ensure exception if result actually underflows.
37776         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37777         (__erff): Scale by 16 instead of 8 in potentially underflowing
37778         case.  Ensure exception if result actually underflows.
37779         * sysdeps/ieee754/ldbl-128/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-128ibm/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         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37788         (efx8): Remove variable.
37789         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37790         case.  Ensure exception if result actually underflows.
37791         * math/auto-libm-test-in: Add more tests of erf.
37792         * math/auto-libm-test-out: Regenerated.
37794 2014-05-14  Andreas Schwab  <schwab@suse.de>
37796         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37797         Remove code conditionalized on USE___THREAD.
37799         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37800         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37801         not definedness.
37803 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37806         Define unconditionally.
37807         (__ASSUME_O_CLOEXEC): Likewise.
37808         (__ASSUME_SOCK_CLOEXEC): Likewise.
37809         (__ASSUME_IN_NONBLOCK): Likewise.
37810         (__ASSUME_PIPE2): Likewise.
37811         (__ASSUME_EVENTFD2): Likewise.
37812         (__ASSUME_SIGNALFD4): Likewise.
37813         (__ASSUME_DUP3): Likewise.
37814         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37815         (__ASSUME_DUP3): Do not define.
37816         (__ASSUME_EVENTFD2): Likewise.
37817         (__ASSUME_IN_NONBLOCK): Likewise.
37818         (__ASSUME_O_CLOEXEC): Likewise.
37819         (__ASSUME_PIPE2): Likewise.
37820         (__ASSUME_SIGNALFD4): Likewise.
37821         (__ASSUME_SOCK_CLOEXEC): Likewise.
37822         (__ASSUME_UTIMES): Undefine.
37823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37824         (__ASSUME_UTIMES): Do not define.
37825         (__ASSUME_O_CLOEXEC): Likewise.
37826         (__ASSUME_SOCK_CLOEXEC): Likewise.
37827         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37828         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37829         0x020621].
37830         (__ASSUME_PIPE2): Likewise.
37831         (__ASSUME_EVENTFD2): Likewise.
37832         (__ASSUME_SIGNALFD4): Likewise.
37833         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37834         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37835         Do not define.
37836         (__ASSUME_EVENTFD2): Likewise.
37837         (__ASSUME_SIGNALFD4): Likewise.
37838         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37839         (__ASSUME_32BITUIDS): Likewise.
37840         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37841         (__ASSUME_IPC64): Likewise.
37842         (__ASSUME_ST_INO_64_BIT): Likewise.
37843         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37844         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37846         (__ASSUME_UTIMES): Do not define.
37847         (__ASSUME_PSELECT): Likewise.
37848         (__ASSUME_PPOLL): Likewise.
37849         (__ASSUME_O_CLOEXEC): Likewise.
37850         (__ASSUME_SOCK_CLOEXEC): Likewise.
37851         (__ASSUME_IN_NONBLOCK): Likewise.
37852         (__ASSUME_PIPE2): Likewise.
37853         (__ASSUME_EVENTFD2): Likewise.
37854         (__ASSUME_SIGNALFD4): Likewise.
37855         (__ASSUME_DUP3): Likewise.
37856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37857         (__ASSUME_UTIMES): Likewise.
37858         (__ASSUME_O_CLOEXEC): Likewise.
37859         (__ASSUME_SOCK_CLOEXEC): Likewise.
37860         (__ASSUME_IN_NONBLOCK): Likewise.
37861         (__ASSUME_PIPE2): Likewise.
37862         (__ASSUME_EVENTFD2): Likewise.
37863         (__ASSUME_SIGNALFD4): Likewise.
37864         (__ASSUME_DUP3): Likewise.
37865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37866         (__ASSUME_UTIMES): Likewise.
37867         (__ASSUME_O_CLOEXEC): Likewise.
37868         (__ASSUME_SOCK_CLOEXEC): Likewise.
37869         (__ASSUME_IN_NONBLOCK): Likewise.
37870         (__ASSUME_PIPE2): Likewise.
37871         (__ASSUME_EVENTFD2): Likewise.
37872         (__ASSUME_SIGNALFD4): Likewise.
37873         (__ASSUME_DUP3): Likewise.
37874         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37875         Likewise.
37876         (__ASSUME_UTIMES): Likewise.
37877         (__ASSUME_EVENTFD2): Likewise.
37878         (__ASSUME_SIGNALFD4): Likewise.
37879         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37880         (__ASSUME_O_CLOEXEC): Likewise.
37881         (__ASSUME_SOCK_CLOEXEC): Likewise.
37882         (__ASSUME_IN_NONBLOCK): Likewise.
37883         (__ASSUME_PIPE2): Likewise.
37884         (__ASSUME_EVENTFD2): Likewise.
37885         (__ASSUME_SIGNALFD4): Likewise.
37886         (__ASSUME_DUP3): Likewise.
37887         (__ASSUME_UTIMES): Undefine.
37889         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37890         feclearexcept.  Remove symbol versioning code.
37891         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37892         symbol versioning code.
37893         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37894         symbol versioning code.
37895         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37896         feupdateenv.  Remove symbol versioning code.
37897         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37898         fegetexceptflag.  Remove symbol versioning code.
37899         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37900         fesetexceptflag.  Remove symbol versioning code.
37901         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37902         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37903         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37904         (__posix_fadvise64_l32): Remove prototype.
37905         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37906         code.
37908 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37911         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37912         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37913         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37915 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37917         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37918         current working directory
37920 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37922         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37923         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37924         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37925         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37926         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37927         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37928         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37929         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37930         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37931         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37932         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37933         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37934         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37935         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37936         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37937         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37938         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37939         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37940         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37941         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37942         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37943         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37944         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37945         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37946         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37947         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37948         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37949         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37950         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37951         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37952         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37953         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37954         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37955         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37956         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37957         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37958         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37959         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37960         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37961         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37962         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37963         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37965         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37966         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37968         * sysdeps/unix/sysv/linux/arm/Makefile
37969         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37970         Add rt-aeabi_unwind_cpp_pr1.
37971         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37972         Add nptl-aeabi_unwind_cpp_pr1.
37973         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37974         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37975         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37976         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37977         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37978         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37980         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37981         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37982         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37983         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37985         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37986         Deconditionalize the code that was previously under [RESET_PID].
37987         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37989         * sysdeps/generic/exit-thread.h: New file.
37990         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37991         * include/unistd.h (__exit_thread): Remove declaration.
37992         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37993         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37994         * csu/libc-start.c: Include <exit-thread.h>.
37995         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37996         * nptl/pthread_create.c: Include <exit-thread.h>.
37997         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37998         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37999         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38000         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38001         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38002         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38003         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38004         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38005         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38006         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38007         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38008         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38009         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38010         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38011         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38012         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38013         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38015 2014-05-13  Andreas Schwab  <schwab@suse.de>
38017         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38019 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38021         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38022         (__ASSUME_UTIMES): Do not condition on kernel version.
38023         (__ASSUME_PSELECT): Define unconditionally.
38024         (__ASSUME_PPOLL): Likewise.
38025         (__ASSUME_ATFCTS): Likewise.
38026         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38027         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38028         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38029         (__ASSUME_UTIMENSAT): Define unconditionally.
38030         (__ASSUME_PRIVATE_FUTEX): Likewise.
38031         (__ASSUME_FALLOCATE): Likewise.
38032         (__ASSUME_O_CLOEXEC): Likewise.
38033         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38034         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38035         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38036         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38037         (__ASSUME_IN_NONBLOCK): Likewise.
38038         (__ASSUME_PIPE2): Likewise.
38039         (__ASSUME_EVENTFD2): Likewise.
38040         (__ASSUME_SIGNALFD4): Likewise.
38041         (__ASSUME_DUP3): Likewise.
38042         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38043         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38044         (__ASSUME_AT_RANDOM): Likewise.
38045         (__ASSUME_PREADV): Likewise.
38046         (__ASSUME_PWRITEV): Likewise.
38047         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38048         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38049         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38050         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38051         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38052         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38053         (__ASSUME_O_CLOEXEC): Define unconditionally.
38054         (__ASSUME_PSELECT): Do not undefine conditionally.
38055         (__ASSUME_PPOLL): Likewise.
38056         (__ASSUME_ATFCTS): Likewise.
38057         (__ASSUME_SET_ROBUST_LIST): Likewise.
38058         (__ASSUME_UTIMENSAT): Likewise.
38059         (__ASSUME_FDATASYNC): Define unconditionally.
38060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38061         (__ASSUME_SIGFRAME_V2): Likewise.
38062         )__ASSUME_EVENTFD2): Likewise.
38063         (__ASSUME_SIGNALFD4): Likewise.
38064         (__ASSUME_PSELECT): Do not undefine conditionally.
38065         (__ASSUME_PPOLL): Likewise.
38066         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38067         (__ASSUME_PSELECT): Define unconditionally.
38068         (__ASSUME_PPOLL): Likewise.
38069         (__ASSUME_O_CLOEXEC): Likewise.
38070         (__ASSUME_SOCK_CLOEXEC): Likewise.
38071         (__ASSUME_IN_NONBLOCK): Likewise.
38072         (__ASSUME_PIPE2): Likewise.
38073         (__ASSUME_EVENTFD2): Likewise.
38074         (__ASSUME_SIGNALFD4): Likewise.
38075         (__ASSUME_DUP3): Likewise.
38076         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38077         (__ASSUME_O_CLOEXEC): Likewise.
38078         (__ASSUME_SOCK_CLOEXEC): Likewise.
38079         (__ASSUME_IN_NONBLOCK): Likewise.
38080         (__ASSUME_PIPE2): Likewise.
38081         (__ASSUME_EVENTFD2): Likewise.
38082         (__ASSUME_SIGNALFD4): Likewise.
38083         (__ASSUME_DUP3): Likewise.
38084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38085         (__ASSUME_EVENTFD2): Likewise.
38086         (__ASSUME_SIGNALFD4): Likewise.
38087         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38089 2014-05-12  Andreas Schwab  <schwab@suse.de>
38091         [BZ #16932]
38092         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38093         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38094         than maximum RPC packet size.
38095         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38096         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38097         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38098         (_nss_nis_getservbyport_r): Likewise.
38100 2014-05-12  Will Newton  <will.newton@linaro.org>
38102         * malloc/Makefile (tests): Add tst-mallopt.
38103         * malloc/tst-mallopt.c: New file.
38105 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38107         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38108         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38110 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38112         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38113         (tst-tlsmod6.so): Likewise.
38115 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38117         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38119 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38121         [BZ #16064]
38122         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38123         and <dl-procinfo.h>.
38124         (__fegetenv): Save SSE state in envp->__eip if supported.
38125         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38126         envp->__eip if supported.
38127         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38128         and <dl-procinfo.h>.
38129         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38130         __data_offset and __data_selector in environment to 0.  Set SSE
38131         state if supported.
38132         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38133         test-fenv-sse.
38134         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38135         -mfpmath=sse.
38136         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38138 2014-05-09  Will Newton  <will.newton@linaro.org>
38140         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38141         and libc_relro_required for ARM.
38142         * sysdeps/arm/preconfigure: Regenerate.
38144 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38145             Stefan Liebler  <stli@linux.vnet.ibm.com>
38147         * config.make.in (enable-lock-elision): New Makefile variable.
38148         * configure.ac: Likewise.
38149         * configure: Regenerate.
38150         * sysdeps/s390/configure.ac:
38151         Add check for gcc transactions support.
38152         * sysdeps/s390/configure: Regenerate.
38153         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38154         Build elision files if enabled.
38155         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38156         Add lock elision support for s390.
38157         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38158         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38159         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38160         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38161         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38162         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38163         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38164         Likewise.
38165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38166         Likewise.
38167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38168         Likewise.
38169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38170         Likewise.
38171         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38172         (__lll_timedlock_elision, __lll_lock_elision)
38173         (__lll_unlock_elision, __lll_trylock_elision)
38174         (lll_timedlock_elision, lll_lock_elision)
38175         (lll_unlock_elision, lll_trylock_elision): Add.
38176         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38177         (pthread_mutex_t): Add lock elision support for s390.
38179 2014-05-14  Wilco  <wdijkstr@arm.com>
38181         * sysdeps/arm/fclrexcpt.c: Cleanup.
38182         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38183         * sysdeps/arm/feenablxcpt.c: Cleanup.
38184         * sysdeps/arm/fegetenv.c: Cleanup.
38185         * sysdeps/arm/fegetexcept.c: Cleanup.
38186         * sysdeps/arm/fegetround.c: Cleanup.
38187         * sysdeps/arm/feholdexcpt.c: Cleanup.
38188         * sysdeps/arm/fesetenv.c: Cleanup.
38189         * sysdeps/arm/fesetround.c: Cleanup.
38190         * sysdeps/arm/feupdateenv.c: Cleanup.
38191         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38192         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38193         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38194         * sysdeps/arm/ftestexcept.c: Cleanup.
38195         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38196         * sysdeps/arm/setfpucw.c: Cleanup.
38198 2014-05-09  Will Newton  <will.newton@linaro.org>
38200         * sysdeps/arm/armv7/strcmp.S: New file.
38201         * NEWS: Mention addition of ARMv7 optimized strcmp.
38203 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38205         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38206         look for %.ac rather than %.in.
38208         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38209         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38210         * sysdeps/mach/hurd/configure: Regenerated.
38211         * sysdeps/unix/sysv/linux/configure: Regenerated.
38213         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38215 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38217         [BZ# 16922]
38218         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38219         (LONG_SUB): Ditto.
38220         (PTR_SUB): Ditto.
38222 2014-05-07  Andreas Schwab  <schwab@suse.de>
38224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38225         when skipping over non-matching result from nscd.
38227 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38229         [BZ #16876]
38230         * nptl/sockperf.c (client): Check socket return value.
38232         [BZ #16877]
38233         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38234         nscd security class.
38236 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38238         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38239         * sysdeps/arm/unwind.h: ... here.
38241 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38243         [BZ# 16916]
38244         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38245         Define.
38247 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38249         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38250         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38251         multiarch strncpy for PPC64.
38252         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38253         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38255         multiarch optimizations.
38256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38257         (__libc_ifunc_impl_list): Likewise.
38258         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38260         multiarch stpncpy for PPC64.
38261         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38262         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38264 2014-05-06  Andreas Schwab  <schwab@suse.de>
38266         [BZ #16912]
38267         * gmon/mcount.c (_MCOUNT_DECL): Use
38268         atomic_compare_and_exchange_bool_acq instead of
38269         catomic_compare_and_exchange_bool_acq.
38271 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38273         * elf/Makefile (others, install-bin): Remove pldd.
38274         (pldd-modules): Variable removed.
38275         ($(objpfx)pldd): Target removed.
38276         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38277         (others, install-bin): Append pldd here.
38278         ($(objpfx)pldd): New target.
38280         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38281         to 0, so the first #if test emitted later doesn't see it undefined.
38282         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38283         * sysdeps/gnu/errlist.c: Regenerated.
38285 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38288         [libc_hidden_builtin_def]: Define to empty value.
38289         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38290         [libc_hidden_builtin_def]: Likewise.
38291         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38292         [libc_hidden_builtin_def]: Likewise.
38293         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38294         [libc_hidden_builtin_def]: Likewise.
38295         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38296         __redirect_memcpy and define ifunc as default hidden symbol.
38297         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38298         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38300 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38302         * locale/iso-4217.def: Reintroduce XDR currency.
38304 2014-05-04  Allan McRae  <allan@archlinux.org>
38306         * po/eo.po: Update Esperanto translation from translation project.
38308 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38310         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38311         and FEATURE_INDEX_MAX to 1.
38312         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38314 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38316         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38317         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38318         * iconvdata/big5.c (ONE_DIRECTION): Define.
38319         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38320         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38321         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38322         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38323         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38324         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38325         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38326         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38327         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38328         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38329         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38330         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38331         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38332         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38333         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38334         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38335         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38336         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38337         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38338         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38339         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38340         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38341         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38342         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38343         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38344         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38345         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38346         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38347         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38348         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38349         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38350         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38351         * iconvdata/johab.c (ONE_DIRECTION): Define.
38352         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38353         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38354         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38355         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38356         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38357         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38358         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38359         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38360         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38361         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38363 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38365         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38366         (_IO_JUMPS_OFFSET): Define to 0.
38368         * nptl/sysdeps/pthread/bits/libc-lock.h
38369         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38370         (__libc_lock_define_initialized_recursive): Always define using
38371         initializer.  Modern compilers treat uninitialized (implicit zero) and
38372         explicit zero initializers the same (i.e. put the datum in bss).
38374 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38376         * nscd/nscd-client.h: Include <string.h>.
38378 2014-05-01  David S. Miller  <davem@davemloft.net>
38380         [BZ #16885]
38381         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38382         multiple zero bytes exist at the end of a string.
38383         Reported by Aurelien Jarno <aurelien@aurel32.net>
38385         * string/test-strcmp.c (check): Add explicit test for situations where
38386         there are multiple zero bytes after the first.
38388 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38390         [BZ #16890]
38391         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38392         when compiling wprintf.
38393         * stdio-common/tstdiomisc.c (t3): New function.
38394         (main): Call it.
38396 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38398         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38399         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38400         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38401         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38403 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38405         * stdlib/longlong.h: Updated from GCC.
38407 2014-05-01  Will Newton  <will.newton@linaro.org>
38408             Bernard Ogden  <bernie.ogden@linaro.org>
38410         * NEWS: Update fixed bug list.
38412         [BZ #15119]
38413         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38415 2014-04-30  David S. Miller  <davem@davemloft.net>
38417         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38418         (libc_feholdexcept_setround_sparc_ctx): New function.
38419         (libc_fesetenv_sparc_ctx): Likewise.
38420         (libc_feupdateenv_sparc_ctx): Likewise.
38421         (libc_feholdsetround_sparc_ctx): Likewise.
38422         (libc_feholdexcept_setround_ctx): Define.
38423         (libc_feholdexcept_setroundf_ctx): Likewise.
38424         (libc_feholdexcept_setroundl_ctx): Likewise.
38425         (libc_fesetenv_ctx): Likewise.
38426         (libc_fesetenvf_ctx): Likewise.
38427         (libc_fesetenvl_ctx): Likewise.
38428         (libc_feupdateenv_ctx): Likewise.
38429         (libc_feupdateenvf_ctx): Likewise.
38430         (libc_feupdateenvl_ctx): Likewise.
38431         (libc_feresetround_ctx): Likewise.
38432         (libc_feresetroundf_ctx): Likewise.
38433         (libc_feresetroundl_ctx): Likewise.
38434         (libc_feholdsetround_ctx): Likewise.
38435         (libc_feholdsetroundf_ctx): Likewise.
38436         (libc_feholdsetroundl_ctx): Likewise.
38438         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38439         with __USE_GNU instead of XOPEN cpp guards.
38441         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38442         0.
38444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38445         with XOPEN cpp guards.
38447 2014-04-30  Julian Brown  <julian@codesourcery.com>
38449         [BZ #16888]
38450         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38451         handling.
38453 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38455         [BZ #9894]
38456         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38457         Change to 2.6.32.
38458         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38459         * sysdeps/unix/sysv/linux/configure: Regenerated.
38460         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38461         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38462         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38463         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38464         * README: Update reference to required Linux kernel version.
38465         * manual/install.texi (Linux): Update reference to required Linux
38466         kernel headers version.
38467         * INSTALL: Regenerated.
38469         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38470         header inclusion.
38471         [POSIX] (limits.h): Likewise.
38472         [POSIX] (math.h): Likewise.
38473         [POSIX] (sys/wait.h): Likewise.
38474         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38475         function.
38476         [POSIX] (stddef.h): Do not allow header inclusion.
38478 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38480         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38482 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38484         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38485         Return immediately after lll_futex_wake.
38487 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38489         [BZ #16791]
38490         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38491         structure.
38492         (datahead_init_pos): Call datahead_init_common early.
38493         (datahead_init_neg): Likewise.
38495         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38496         datahead_init_neg): New functions.
38497         * nscd/aicache.c (addhstaiX): Use them.
38498         * nscd/grpcache.c (cache_addgr): Likewise.
38499         * nscd/hstcache.c (cache_addhst): Likewise.
38500         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38501         * nscd/netgroupcache.c (do_notfound): Likewise.
38502         (addgetnetgrentX): Likewise.
38503         (addinnetgrX): Likewise.
38504         * nscd/pwdcache.c (cache_addpw): Likewise.
38505         * nscd/servicescache.c (cache_addserv): Likewise.
38507 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38508             Atsushi Onoe  <atsushi@onoe.org>
38510         [BZ #14308]
38511         [BZ #12994]
38512         [BZ #13651]
38513         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38514         one response is valid.
38515         * resolv/res_send.c (send_dg): Check for validity of other
38516         response if the current response is a referral.
38518 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38520         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38522 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38524         [BZ #16823]
38525         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38526         Always divide by positive zero when computing -Inf result.
38527         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38528         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38530 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38532         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38533         FPSCR if value do not change.
38534         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38535         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38536         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38537         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38538         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38539         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38540         function.
38542 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38544         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38545         * sysdeps/unix/sysv/linux/hppa: Move directory from
38546         ports/systeps/unix/sysv/linux/hppa.
38547         * README: Update listing for hppa-*-linux-gnu.
38549 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38551         [BZ #16754]
38552         * manual/stdio.texi (Hook functions): Fix types of stream hook
38553         functions.
38554         [BZ #16854]
38555         * socket/sys/socket.h: Fix typo in comment.
38557 2014-04-28  Wilco  <wdijkstr@arm.com>
38559         * sysdeps/arm/fenv_private.h: New file.
38560         * sysdeps/arm/math_private.h: New file.
38561         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38563 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38565         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38566         with __int128_t.
38567         (La_x86_64_retval): Likewise.
38569 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38571         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38572         fpsr if value didn't change.
38573         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38574         to fpcr if value didn't change.
38575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38576         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38577         fpsr or fpcr if value didn't change.
38578         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38579         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38580         fpcr if value didn't change.
38581         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38582         to fpsr if value didn't change.
38584 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38586         * nptl/tst-sem3.c: Use test-skeleton.c
38587         (main): Rename to do_test.  Use return instead of
38588         exit.
38589         * nptl/tst-sem4.c: Use test-skeleton.c
38590         (main): Rename to do_test.
38592 2014-04-22  David S. Miller  <davem@davemloft.net>
38594         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38595         (struct sigaction): New struct member __glibc_reserved0, change
38596         type of sa_flags to int.
38598 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38600         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38601         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38603 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38605         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38606         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38608 2014-04-22  Will Newton  <will.newton@linaro.org>
38609             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38611         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38612         (__longjmp): Add longjmp and longjmp_target SystemTap
38613         probes.
38614         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38615         (__sigsetjmp): Add setjmp SystemTap probe.
38617 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38619         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38620         match manual order.
38622 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38624         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38626         * sysdeps/powerpc/fpu/fenv_private.h
38627         (libc_feholdexcept_setroundl_ctx): Define to
38628         libc_feholdexcept_setround_ppc_ctx.
38629         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38630         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38631         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38632         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38634 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38636         * sysdeps/aarch64/math-tests.h: New file.
38638 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38640         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38641         New.
38642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38643         Check and set bit_AVX2_Usable.
38644         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38645         macro.
38646         (bit_AVX2): Likewise.
38647         (index_AVX2_Usable): Likewise.
38648         (CPUID_AVX2): Likewise.
38649         (HAS_AVX2): Likewise.
38651 2014-04-17  Will Newton  <will.newton@linaro.org>
38653         * manual/setjmp.texi (System V contexts): Add note that
38654         calling setcontext on a context created by a call to a
38655         signal handler is undefined.  Update text to note that
38656         setcontext from a signal handler is possible but not
38657         recommended.
38659         [BZ #16629]
38660         * stdlib/tst-setcontext.c: Include signal.h.
38661         (main): Check that the signal stack before and
38662         after swapcontext is the same.
38664         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38665         Re-implement to restore registers in user code and avoid
38666         rt_sigreturn system call.
38668 2014-04-17  Wilco  <wdijkstr@arm.com>
38670         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38671         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38672         * math/test-fenv.c: Skip exception trap tests on targets which only
38673         support non-stop mode.
38675 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38676             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38678         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38679         (libc_feholdsetround_aarch64_ctx)
38680         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38681         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38682         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38683         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38684         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38685         (libc_feresetround_noexl_ctx): Define.
38687 2014-04-16  Richard Henderson  <rth@redhat.com>
38689         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38691         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38692         unwind tables.
38694         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38695         const from the non-libc, non-ldso copy.
38697         * sysdeps/alpha/libm-test-ulps: Regenerate.
38699 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38700             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38702         * sysdeps/aarch64/fpu/math_private.h: New file.
38704 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38706         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38708 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38710         [BZ #16275]
38711         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38712         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38714         Intel MPX bound registers before _dl_profile_fixup.
38715         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38716         registers after _dl_profile_fixup.  Save and restore bound
38717         registers bnd0/bnd1 when calling _dl_call_pltexit.
38718         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38719         (LR_BND_OFFSET): Likewise.
38720         (LRV_BND0_OFFSET): Likewise.
38721         (LRV_BND1_OFFSET): Likewise.
38723 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38725         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38726         to...
38727         * sysdeps/mach/hurd/i386/tls.h: ... here.
38728         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38729         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38730         fields.
38732 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38734         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38736 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38738         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38740 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38742         [BZ #14770]
38743         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38744         * sysdeps/s390/configure: Regenerate.
38746         [BZ #16824]
38747         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38748         Set round-to-nearest internally to reduce error accumulation.
38750 2014-04-16  Alan Modra  <amodra@gmail.com>
38752         [BZ #16740]
38753         [BZ #16619]
38754         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38755         * math/libm-test.inc (frexp_test_data): Add tests.
38756         * NEWS: Update fixed bug list.
38758 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38760         * benchtests/Makefile: Depend on libraries in build directory.
38761         (bench-math): Separate out math tests.
38762         (bench-pthread): Separate out pthread tests.
38763         (bench): Include math and pthread tests.
38765 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38767         [BZ #16831]
38768         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38769         _dl_debug_initialize.
38771         * configure.ac: Remove SELinux header check.
38772         * configure: Regenerate.
38773         * nscd/selinux.c (perms): Array of const char* to permission names.
38774         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38775         default policy. Call string_to_security_class and string_to_av_perm to
38776         translate strings. Enforce default policy and call avs_has_perm with
38777         results of translated strings.
38779 2014-04-13  David S. Miller  <davem@davemloft.net>
38781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38783 2014-04-12  Allan McRae  <allan@archlinux.org>
38785         [BZ #16838]
38786         * manual/string.texi (Collation Functions): Fix qsort argument
38787         order in example.
38788         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38790 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38792         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38793         Make the test a no-op if there are no exceptions defined.
38795 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38797         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38798         enable-hardcoded-path-in-tests
38800 2014-04-11  Will Newton  <will.newton@linaro.org>
38802         * benchtests/Makefile (extra-objs): Add json-lib.o.
38803         (bench-func): Tidy up JSON output.
38804         * benchtests/bench-skeleton.c: Include json-lib.h.
38805         (main): Use JSON library functions to do output of
38806         benchmark results.
38807         * benchtests/bench-timing-type.c (main): Output the
38808         timing type simply, leaving formatting to the user.
38809         * benchtests/json-lib.c: New file.
38810         * benchtests/json-lib.h: Likewise.
38812 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38814         [BZ #15215]
38815         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38816         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38817         memory barriers.  Add comments.
38818         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38819         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38820         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38821         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38822         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38823         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38825 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38827         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38828         * sysdeps/s390/s390-64/configure.ac: ... this ...
38829         * sysdeps/s390/configure.ac: ... to here.
38830         * sysdeps/s390/s390-32/configure: Delete file.
38831         * sysdeps/s390/s390-64/configure: Delete file.
38832         * sysdeps/s390/configure: Regenerate.
38834 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38836         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38838 2014-04-11  Will Newton  <will.newton@linaro.org>
38840         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38841         to zero if it is not defined elsewhere.  (mtrim): Test
38842         the value of MALLOC_DEBUG with #if rather than #ifdef.
38844 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38846         * benchtests/pthread_once-inputs: New file.
38847         * benchtests/pthread_once-source.c: New file.
38848         * benchtests/README: Update documentation.
38850 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38851             H.J. Lu  <hongjiu.lu@intel.com>
38853         [BZ #16275]
38854         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38855         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38856         * sysdeps/x86_64/configure: Regenerated.
38857         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38858         macro.
38859         (REGISTER_SAVE_RAX): Likewise.
38860         (REGISTER_SAVE_RCX): Likewise.
38861         (REGISTER_SAVE_RDX): Likewise.
38862         (REGISTER_SAVE_RSI): Likewise.
38863         (REGISTER_SAVE_RDI): Likewise.
38864         (REGISTER_SAVE_R8): Likewise.
38865         (REGISTER_SAVE_R9): Likewise.
38866         (REGISTER_SAVE_BND0): Likewise.
38867         (REGISTER_SAVE_BND1): Likewise.
38868         (REGISTER_SAVE_BND2): Likewise.
38869         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38870         bound registers when calling _dl_fixup.
38872 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38874         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38875         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38876         of its definition.
38877         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38878         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38879         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38880         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38881         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38882         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38883         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38885 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38887         [BZ #15514]
38888         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38889         pathconf(_PC_NAME_MAX).
38891 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38893         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38894         Remove macro usage.
38895         (__PTHREAD_SPINS): Move definition to ...
38896         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38897         (__PTHREAD_SPINS): ... here.
38898         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38899         (__PTHREAD_SPIN): Likewise.
38900         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38901         (__PTHREAD_SPIN): Likewise.
38902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38903         (__PTHREAD_SPIN): Likewise.
38904         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38905         (__PTHREAD_SPIN): Likewise.
38906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38907         (__PTHREAD_SPIN): Likewise.
38908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38909         (__PTHREAD_SPIN): Likewise.
38910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38911         (__PTHREAD_SPIN): Likewise.
38912         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38913         (__PTHREAD_SPIN): Likewise.
38914         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38915         (__PTHREAD_SPIN): Likewise.
38916         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38917         (__PTHREAD_SPIN): Likewise.
38918         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38919         (__PTHREAD_SPIN): Likewise.
38920         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38921         (__PTHREAD_SPIN): Likewise.
38923         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38924         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38925         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38926         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38927         imply folder.
38928         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38929         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38930         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38931         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38932         correct imply path.
38933         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38934         strlen symbol for non multi-arch builds.
38935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38936         missing hidden_def and weak_alias.
38938 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38940         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38942 2014-04-07  Will Newton  <will.newton@linaro.org>
38944         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38945         and contents.  [!_LIBC] Remove #ifndef and contents.
38946         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38947         * string/memccpy.c (__memccpy): Use ANSI prototype.
38948         * string/memfrob.c (memfrob): Likewise.
38949         * string/strcoll.c (STRCOLL): Likewise.
38950         * string/strlen.c (strlen): Likewise.
38951         * string/strtok.c (STRTOK): Likewise.
38952         * string/strcat.c: Remove unused #include of memcopy.h.
38953         (strcat): Use ANSI prototype.
38954         * string/strchr.c: Remove unused #include of memcopy.h.
38955         (strchr): Use ANSI prototype.
38956         * string/strcmp.c: Remove unused #include of memcopy.h.
38957         (strcmp): Use ANSI prototype.
38958         * string/strcpy.c: Remove unused #include of memcopy.h.
38959         (strcpy): Use ANSI prototype.
38961 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38963         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38964         * config.make.in (config-extra-cppflags): Set it from
38965         libc_extra_cppflags.
38966         * configure.ac (libc_extra_cflags): Make it accumulate over
38967         configure fragments.
38968         (libc_extra_cppflags): New flag.
38969         * configure. Regenerate.
38970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38971         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38972         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38975         [BZ #16815]
38976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38977         result for FE_DOWNWARD rounding mode.
38978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38979         Likewise.
38980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38982 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38984         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38985         in function argument name.
38987 2014-04-03  David Svoboda  <svoboda@cert.org>
38989         [BZ #5666]
38990         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38991         explicitly.
38993 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38995         * elf/dl-unmap-segments.h: New file.
38996         * sysdeps/generic/ldsodefs.h
38997         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38998         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38999         * elf/dl-fptr.c: Likewise.
39000         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39001         * sysdeps/aarch64/tlsdesc.c: Likewise.
39002         * sysdeps/arm/tlsdesc.c: Likewise.
39003         * sysdeps/i386/tlsdesc.c: Likewise.
39004         * sysdeps/tile/dl-runtime.c: Likewise.
39005         * sysdeps/x86_64/tlsdesc.c: Likewise.
39006         * elf/dl-load.h: New file.
39007         * elf/dl-load.c: Include it.
39008         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39009         Macros moved to dl-load.h.
39010         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39011         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39012         Use _dl_unmap_segments in place of __munmap.
39013         Break out segment-mapping loop into ...
39014         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39016 2014-04-03  Will Newton  <will.newton@linaro.org>
39018         * elf/dl-lookup.c (do_lookup_x): Remove comment
39019         referring to nested function and move variable
39020         declarations down to before first use.
39022 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39024         [BZ #16799]
39025         [BZ #16800]
39026         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39027         with 0 numerator.
39028         * math/s_catanf.c (__catanf): Likewise.
39029         * math/s_catanh.c (__catanh): Likewise.
39030         * math/s_catanhf.c (__catanhf): Likewise.
39031         * math/s_catanhl.c (__catanhl): Likewise.
39032         * math/s_catanl.c (__catanl): Likewise.
39033         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39034         by positive zero when computing -Inf result.
39035         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39036         (catanh_test): Likewise.
39037         * sysdeps/i386/fpu/libm-test-ulps: Update.
39038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39040         [BZ #16789]
39041         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39042         instead of using underflowing value in computing result.
39043         * math/s_clog10.c (__clog10): Likewise.
39044         * math/s_clog10f.c (__clog10f): Likewise.
39045         * math/s_clog10l.c (__clog10l): Likewise.
39046         * math/s_clogf.c (__clogf): Likewise.
39047         * math/s_clogl.c (__clogl): Likewise.
39048         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39049         (clog10_test): Likewise.
39050         * sysdeps/i386/fpu/libm-test-ulps: Update.
39051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39053 2014-04-02  Alan Modra  <amodra@gmail.com>
39055         [BZ #16739]
39056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39057         output when value is near a power of two.  Use int64_t for lx and
39058         remove casts.  Use decimal rather than hex exponent constants.
39059         Don't use long double multiplication when double will suffice.
39060         * math/libm-test.inc (nextafter_test_data): Add tests.
39061         * NEWS: Add 16739 and 16786 to bug list.
39063         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39065         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39067 2014-04-01  Will Newton  <will.newton@linaro.org>
39069         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39070         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39072 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39074         [BZ #13347]
39075         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39076         * nptl/tst-setuid2.c: New file.
39077         * nptl/Makefile (xtests): Add tst-setuid2.
39079 2014-04-01  Alan Modra  <amodra@gmail.com>
39081         [BZ #16786]
39082         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39084 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39086         [BZ #6803]
39087         [BZ #6804]
39088         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39089         set errno as appropriate.
39090         * math/w_scalbf.c (__scalbf): Likewise.
39091         * math/w_scalbl.c (__scalbl): Likewise.
39092         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39093         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39094         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39095         Add more NaN tests.
39097         [BZ #16349]
39098         * math/w_atan2.c: Include <errno.h>.
39099         (__atan2): Set errno for result underflowing to zero.
39100         * math/w_atan2f.c: Include <errno.h>.
39101         (__atan2f): Set errno for result underflowing to zero.
39102         * math/w_atan2l.c: Include <errno.h>.
39103         (__atan2l): Set errno for result underflowing to zero.
39104         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39105         tests.
39106         * math/auto-libm-test-out: Regenerated.
39108 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39110         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39111         Encode instruction correctly in little endian.
39112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39113         Likewise.
39114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39115         Likewise.
39116         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39117         Likewise.
39118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39119         Likewise.
39121 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39123         [BZ #9894]
39124         * sysdeps/unix/sysv/linux/kernel-features.h
39125         [__sparc__ && !__arch64__ && !__sparc_v9__]
39126         (__ASSUME_SET_ROBUST_LIST): Do not define.
39127         [__sparc__ && !__arch64__ && !__sparc_v9__]
39128         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39129         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39130         Likewise.
39131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39132         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39133         (__ASSUME_REQUEUE_PI): Likewise.
39134         (__ASSUME_SET_ROBUST_LIST): Likewise.
39135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39136         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39137         Undefine.
39138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39140         Likewise.
39141         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39142         Likewise.
39143         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39144         Likewise.
39145         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39146         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39147         Undefine.
39148         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39149         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39150         Likewise.
39152         [BZ #16648]
39153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39155         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39157 2014-03-31  Will Newton  <will.newton@linaro.org>
39159         * benchtests/Makefile (bench): Add ffs and ffsll to list
39160         of tests.
39161         * benchtests/ffs-inputs: New file.
39162         * benchtests/ffsll-inputs: Likewise.
39164 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39166         [BZ #16770]
39167         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39168         too large before casting to int.
39169         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39170         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39171         * math/libm-test.inc (scalb_test_data): Add more tests.
39173 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39175         * benchtests/Makefile (DETAILED_OPT): New make option.
39176         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39177         set.
39178         * benchtests/bench-skeleton.c: Include stdbool.h.
39179         (main): Store and print timings per input.
39180         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39181         member to each argument value.
39182         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39183         (_print_arg_data): Initialize per-input timing to 0.
39185         * benchtests/Makefile (timing-type): New binary.
39186         (bench-clean): Also remove bench-timing-type.
39187         (bench): New target for timing-type.
39188         (bench-func): Print output in JSON format.
39189         * benchtests/bench-skeleton.c (main): Print output in JSON
39190         format.
39191         * benchtests/bench-timing-type.c: New file.
39192         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39193         (TIMING_PRINT_STATS): Remove.
39194         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39195         name separately.
39197         * benchtests/bench-modf.c: Remove.
39198         * benchtests/modf-inputs: New inputs file.
39200 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39202         [BZ #16362]
39203         * math/s_clog10.c (M_PI_LOG10E): New macro.
39204         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39205         imaginary parts are 0.
39206         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39207         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39208         imaginary parts are 0.
39209         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39210         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39211         imaginary parts are 0.
39212         * math/libm-test.inc (clog10_test_data): Update expected results
39213         for when real and imaginary parts are 0.
39215 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39217         * elf/dl-load.c: Finish conversion of __builtin_expect into
39218         __glibc_{un}likely.
39220 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39222         [BZ #16348]
39223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39224         1+x for argument with exponent below -67.
39225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39226         Likewise.
39227         * math/auto-libm-test-in: Add more tests of exp.
39228         * math/auto-libm-test-out: Regenerated.
39230 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39232         [BZ #16759]
39233         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39234         (nscd_getnetgrent): Use it.
39236         [BZ #16760]
39237         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39238         of stpcpy.
39240 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39243         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39244         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39245         (lll_robust_unlock): Remove out of line section. Use cfi
39246         intrinsics.
39247         (LLL_STUB_UNWIND_INFO*): Remove.
39248         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39249         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39250         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39251         (lll_robust_unlock): Remove out of line section. Use cfi
39252         intrinsics.
39253         (LLL_STUB_UNWIND_INFO*): Remove.
39255 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39257         [BZ #16758]
39258         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39259         blank values.
39261 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39263         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39265 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39267         [BZ #16198]
39268         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39269         fnstenv.
39270         * math/test-fenv-preserve.c: New file.
39271         * math/Makefile (tests): Add test-fenv-preserve.
39273 2014-03-26  Will Newton <will.newton@linaro.org>
39275         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39277 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39279         * scripts/versionlist.awk: Partition the version sets and emit all
39280         GLIBC_* (sorted) before all others (sorted).
39282 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39284         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39285         GLIBC_2.2.5 version.
39287 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39289         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39290         calls.
39292         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39293         previous change.
39295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39297 2014-03-25  Andreas Schwab  <schwab@suse.de>
39299         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39300         label to be used after in6ailist is initialized.
39302 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39304         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39305         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39307 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39309         [BZ #16357]
39310         [BZ #16599]
39311         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39312         min_plus_half.
39313         (fp_formats): Update initializers.
39314         (init_fp_formats): Initialize new field.
39315         (output_for_one_input_case): Allow underflow for results up to
39316         min_plus_half.
39317         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39318         * math/auto-libm-test-in: Don't mark some underflows from asin and
39319         atanh as spurious.
39320         * math/auto-libm-test-out: Regenerated.
39321         * sysdeps/i386/fpu/libm-test-ulps: Update.
39322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39324 2014-03-25  Andreas Schwab  <schwab@suse.de>
39326         * libio/Makefile (tst-ftell-partial-wide-ENV)
39327         (tst-ftell-active-handler-ENV): Define.
39329 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39331         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39333 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39335         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39337 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39339         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39340         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39341         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39343 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39345         [BZ #16634]
39346         * elf/dl-load.c (open_verify): Add mode parameter.
39347         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39348         (open_path): Change from boolean 'secure' to complete flag 'mode'
39349         (_dl_map_object): Adjust.
39350         * elf/Makefile (tests): Add tst-dlopen-aout.
39351         * elf/tst-dlopen-aout.c: New test.
39353 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39355         [BZ #16714]
39356         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39357         (struct stat): Rename member pad0 to __glibc_reserved0.
39359         [BZ #16712]
39360         * sysdeps/s390/s390-32/bits/wordsize.h
39361         (__WORDSIZE32_SIZE_ULONG): New define.
39362         * sysdeps/s390/s390-64/bits/wordsize.h
39363         (__WORDSIZE32_SIZE_ULONG): Likewise.
39364         * sysdeps/generic/stdint.h (SIZE_MAX):
39365         Define as UL if __WORDSIZE32_SIZE_ULONG.
39367         [BZ #16713]
39368         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39369         (__glibc_reserved0): New variable.
39370         (sa_flags): Change type to int.
39372         * posix/Makefile (before-compile): Use += before-compile instead
39373         of a :=.
39375         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39376         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39378 2014-03-20  Andreas Schwab  <schwab@suse.de>
39380         [BZ #16743]
39381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39382         non-matching result from nscd.
39384 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39386         * scripts/bench.py: Moved to ...
39387         * benchtests/scripts/bench.py: ... here.
39388         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39390 2014-03-24  Andreas Schwab  <schwab@suse.de>
39392         [BZ #16002]
39393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39394         alloca_account and account alloca use for struct in6ailist.
39396 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39398         [BZ #16284]
39399         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39400         rounding mode to recompute results that overflow to infinity or
39401         underflow to zero.
39402         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39403         bug 16284.
39404         * math/auto-libm-test-out: Regenerated.
39405         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39406         (ccosh_test): Likewise.
39407         (csin_test_data): Use plus_oflow.
39408         (csin_test): Use ALL_RM_TEST.
39409         (csinh_test_data): Use plus_oflow.
39410         (csinh_test): Use ALL_RM_TEST.
39411         * sysdeps/i386/fpu/libm-test-ulps: Update.
39412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39416         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39417         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39418         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39420         [BZ #16731]
39421         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39422         when x - 1 is zero.
39423         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39424         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39425         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39427         argument is 1.
39428         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39429         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39430         zero.
39431         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39432         * sysdeps/i386/fpu/libm-test-ulps: Update.
39433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39435 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39437         * scripts/bench.pl: Remove file.
39438         * scripts/bench.py: New benchmark script.
39439         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39440         * benchtests/README: Mention python dependency.
39441         * scripts/pylintrc: New file.
39442         * scripts/pylint: New file.
39444         * bits/mathdef.h: Use #ifdef instead of #if.
39445         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39446         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39447         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39448         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39449         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39450         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39452 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39453             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39455         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39457         and strpbrk-ppc64 objects.
39458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39459         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39461         multiarch strpbrk for POWER7.
39462         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39463         multiarch strpbrk for PPC64.
39464         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39465         ifunc selector.
39466         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39467         strpbrk for POWER7.
39469 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39471         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39472         (atan_test): Likewise.
39473         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39474         (atanh_test): Use ALL_RM_TEST.
39475         (atan2_test_data): Likewise.
39476         (cabs_test): Likewise.
39477         (cacosh_test): Likewise.
39478         (carg_test): Likewise.
39479         (casin_test): Likewise.
39480         (casinh_test): Likewise.
39481         (cbrt_test): Likewise.
39482         (csqrt_test): Likewise.
39483         (erf_test): Likewise.
39484         (erfc_test): Likewise.
39485         (pow10_test): Likewise.
39486         (exp2_test): Likewise.
39487         (hypot_test): Likewise.
39488         (j0_test): Likewise.
39489         (j1_test): Likewise.
39490         (lgamma_test): Likewise.
39491         (gamma_test): Likewise.
39492         (sincos_test): Likewise.
39493         (tanh_test): Likewise.
39494         (y0_test): Likewise.
39495         (y1_test): Likewise.
39496         * sysdeps/i386/fpu/libm-test-ulps: Update.
39497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39499 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39501         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39503         and strcspn-ppc64 objects.
39504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39505         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39506         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39507         multiarch strcspn for POWER7.
39508         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39509         multiarch strcspn for PPC64.
39510         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39511         ifunc selector.
39512         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39513         strcspn for POWER7.
39515 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39517         * math/gen-libm-test.pl (generate_testfile): Expect only function
39518         name as argument to AUTO_TESTS_* and pass results for all rounding
39519         modes to parse_args.
39520         (parse_auto_input): Separate inputs of automatic tests from
39521         outputs before storing in %auto_tests.
39522         * math/libm-test.inc (acos_test_data): Update call to
39523         AUTO_TESTS_f_f.
39524         (acos_test): Use ALL_RM_TEST.
39525         (acos_tonearest_test_data): Remove.
39526         (acos_test_tonearest): Likewise.
39527         (acos_towardzero_test_data): Likewise.
39528         (acos_test_towardzero): Likewise.
39529         (acos_downward_test_data): Likewise.
39530         (acos_test_downward): Likewise.
39531         (acos_upward_test_data): Likewise.
39532         (acos_test_upward): Likewise.
39533         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39534         (asin_test_data): Likewise.
39535         (asin_test): Use ALL_RM_TEST.
39536         (asin_tonearest_test_data): Remove.
39537         (asin_test_tonearest): Likewise.
39538         (asin_towardzero_test_data): Likewise.
39539         (asin_test_towardzero): Likewise.
39540         (asin_downward_test_data): Likewise.
39541         (asin_test_downward): Likewise.
39542         (asin_upward_test_data): Likewise.
39543         (asin_test_upward): Likewise.
39544         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39545         (atan_test_data): Likewise.
39546         (atanh_test_data): Likewise.
39547         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39548         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39549         (carg_test_data): Likewise.
39550         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39551         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39552         (ccosh_test_data): Likewise.
39553         (cexp_test_data): Likewise.
39554         (clog_test_data): Likewise.
39555         (clog10_test_data): Likewise.
39556         (cos_test_data): Update call to AUTO_TESTS_f_f.
39557         (cos_test): Use ALL_RM_TEST.
39558         (cos_tonearest_test_data): Remove.
39559         (cos_test_tonearest): Likewise.
39560         (cos_towardzero_test_data): Likewise.
39561         (cos_test_towardzero): Likewise.
39562         (cos_downward_test_data): Likewise.
39563         (cos_test_downward): Likewise.
39564         (cos_upward_test_data): Likewise.
39565         (cos_test_upward): Likewise.
39566         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39567         (cosh_test): Use ALL_RM_TEST.
39568         (cosh_tonearest_test_data): Remove.
39569         (cosh_test_tonearest): Likewise.
39570         (cosh_towardzero_test_data): Likewise.
39571         (cosh_test_towardzero): Likewise.
39572         (cosh_downward_test_data): Likewise.
39573         (cosh_test_downward): Likewise.
39574         (cosh_upward_test_data): Likewise.
39575         (cosh_test_upward): Likewise.
39576         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39577         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39578         (ctan_test_data): Likewise.
39579         (ctan_test): Use ALL_RM_TEST.
39580         (ctan_tonearest_test_data): Remove.
39581         (ctan_test_tonearest): Likewise.
39582         (ctan_towardzero_test_data): Likewise.
39583         (ctan_test_towardzero): Likewise.
39584         (ctan_downward_test_data): Likewise.
39585         (ctan_test_downward): Likewise.
39586         (ctan_upward_test_data): Likewise.
39587         (ctan_test_upward): Likewise.
39588         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39589         (ctanh_test): Use ALL_RM_TEST.
39590         (ctanh_tonearest_test_data): Remove.
39591         (ctanh_test_tonearest): Likewise.
39592         (ctanh_towardzero_test_data): Likewise.
39593         (ctanh_test_towardzero): Likewise.
39594         (ctanh_downward_test_data): Likewise.
39595         (ctanh_test_downward): Likewise.
39596         (ctanh_upward_test_data): Likewise.
39597         (ctanh_test_upward): Likewise.
39598         (erf_test_data): Update call to AUTO_TESTS_f_f.
39599         (erfc_test_data): Likewise.
39600         (exp_test_data): Likewise.
39601         (exp_test): Use ALL_RM_TEST.
39602         (exp_tonearest_test_data): Remove.
39603         (exp_test_tonearest): Likewise.
39604         (exp_towardzero_test_data): Likewise.
39605         (exp_test_towardzero): Likewise.
39606         (exp_downward_test_data): Likewise.
39607         (exp_test_downward): Likewise.
39608         (exp_upward_test_data): Likewise.
39609         (exp_test_upward): Likewise.
39610         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39611         (exp10_test): Use ALL_RM_TEST.
39612         (exp10_tonearest_test_data): Remove.
39613         (exp10_test_tonearest): Likewise.
39614         (exp10_towardzero_test_data): Likewise.
39615         (exp10_test_towardzero): Likewise.
39616         (exp10_downward_test_data): Likewise.
39617         (exp10_test_downward): Likewise.
39618         (exp10_upward_test_data): Likewise.
39619         (exp10_test_upward): Likewise.
39620         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39621         (expm1_test_data): Likewise.
39622         (expm1_test): Use ALL_RM_TEST.
39623         (expm1_tonearest_test_data): Remove.
39624         (expm1_test_tonearest): Likewise.
39625         (expm1_towardzero_test_data): Likewise.
39626         (expm1_test_towardzero): Likewise.
39627         (expm1_downward_test_data): Likewise.
39628         (expm1_test_downward): Likewise.
39629         (expm1_upward_test_data): Likewise.
39630         (expm1_test_upward): Likewise.
39631         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39632         (fma_test): Use ALL_RM_TEST.
39633         (fma_towardzero_test_data): Remove.
39634         (fma_test_towardzero): Likewise.
39635         (fma_downward_test_data): Likewise.
39636         (fma_test_downward): Likewise.
39637         (fma_upward_test_data): Likewise.
39638         (fma_test_upward): Likewise.
39639         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39640         (j0_test_data): Update call to AUTO_TESTS_f_f.
39641         (j1_test_data): Likewise.
39642         (jn_test_data): Update call to AUTO_TESTS_if_f.
39643         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39644         (log_test_data): Update call to AUTO_TESTS_f_f.
39645         (log10_test_data): Likewise.
39646         (log1p_test_data): Likewise.
39647         (log2_test_data): Likewise.
39648         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39649         (pow_tonearest_test_data): Likewise.
39650         (sin_test_data): Update call to AUTO_TESTS_f_f.
39651         (sin_test): Use ALL_RM_TEST.
39652         (sin_tonearest_test_data): Remove.
39653         (sin_test_tonearest): Likewise.
39654         (sin_towardzero_test_data): Likewise.
39655         (sin_test_towardzero): Likewise.
39656         (sin_downward_test_data): Likewise.
39657         (sin_test_downward): Likewise.
39658         (sin_upward_test_data): Likewise.
39659         (sin_test_upward): Likewise.
39660         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39661         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39662         (sinh_test): Use ALL_RM_TEST.
39663         (sinh_tonearest_test_data): Remove.
39664         (sinh_test_tonearest): Likewise.
39665         (sinh_towardzero_test_data): Likewise.
39666         (sinh_test_towardzero): Likewise.
39667         (sinh_downward_test_data): Likewise.
39668         (sinh_test_downward): Likewise.
39669         (sinh_upward_test_data): Likewise.
39670         (sinh_test_upward): Likewise.
39671         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39672         (sqrt_test): Use ALL_RM_TEST.
39673         (sqrt_tonearest_test_data): Remove.
39674         (sqrt_test_tonearest): Likewise.
39675         (sqrt_towardzero_test_data): Likewise.
39676         (sqrt_test_towardzero): Likewise.
39677         (sqrt_downward_test_data): Likewise.
39678         (sqrt_test_downward): Likewise.
39679         (sqrt_upward_test_data): Likewise.
39680         (sqrt_test_upward): Likewise.
39681         (tan_test_data): Update call to AUTO_TESTS_f_f.
39682         (tan_test): Use ALL_RM_TEST.
39683         (tan_tonearest_test_data): Remove.
39684         (tan_test_tonearest): Likewise.
39685         (tan_towardzero_test_data): Likewise.
39686         (tan_test_towardzero): Likewise.
39687         (tan_downward_test_data): Likewise.
39688         (tan_test_downward): Likewise.
39689         (tan_upward_test_data): Likewise.
39690         (tan_test_upward): Likewise.
39691         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39692         (tgamma_test_data): Likewise.
39693         (y0_test_data): Likewise.
39694         (y1_test_data): Likewise.
39695         (yn_test_data): Update call to AUTO_TESTS_if_f.
39696         (main): Do not call removed functions.
39698 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39700         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39701         (ldexp_test_data): Remove.
39702         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39703         scalbn_test_data.
39704         (scalb_test): Use ALL_RM_TEST.
39706 2014-03-19  Andreas Schwab  <schwab@suse.de>
39708         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39710 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39712         [BZ #16649]
39713         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39714         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39717         (__ASSUME_PREADV): Undefine.
39718         (__ASSUME_PWRITEV): Likewise.
39720 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39722         * bits/mman-linux.h: Add comment about non-Linux use.
39723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39724         bits/mman-linux.h resting place.
39726         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39727         * bits/mman-linux.h: ... here.
39729 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39731         * conform/conformtest.pl: Add standard definition when calling C
39732         preprocessor on data files.
39733         (checknamespace): Remove unused variable.
39735 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39737         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39738         minus_oflow, plus_uflow and minus_uflow in expected results.
39739         * math/libm-test.inc (scalbn_test_data): Add more tests of
39740         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39741         minus_uflow.
39742         (scalbn_test): Use ALL_RM_TEST.
39743         (scalbln_test_data): Add more tests of negative arguments.  Use
39744         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39745         (scalbln_test): Use ALL_RM_TEST.
39747 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39749         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39751 2014-03-18  Will Newton  <will.newton@linaro.org>
39753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39754         inaccurate comment.
39756 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39758         * Makerules [!subdir] (check-abi): Exit with error status if a
39759         test failed.
39761 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39763         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39764         for rint.  Include results for all rounding modes.
39765         (nearbyint_test): Use ALL_RM_TEST.
39766         (rint_test_data): Include all tests used for nearbyint.
39768 2014-03-17  Will Newton  <will.newton@linaro.org>
39770         * nptl/sysdeps/pthread/pthread.h: Revert previous
39771         change.
39773         * sysdeps/generic/ldsodefs.h: Revert previous
39774         change.
39776         * libio/genops.c: Revert previous change.
39777         * libio/libioP.h: Likewise.
39778         * stdio-common/vfprintf.c: Likewise.
39780         * sysdeps/generic/math_private.h: Revert previous
39781         change.
39783         * sysdeps/generic/math_private.h: Check whether
39784         HAVE_RM_CTX is defined with #ifdef rather
39785         than #if.
39787         * argp/argp-fmtstream.h: Check whether
39788         __STRICT_ANSI__ is defined with #ifdef rather
39789         than #if.
39790         * argp/argp.h: Likewise.
39792         * libio/genops.c: Check whether
39793         _IO_JUMPS_OFFSET is defined with #ifdef rather
39794         than #if.
39795         * libio/libioP.h: Likewise.
39796         * stdio-common/vfprintf.c: Likewise.
39798         * sysdeps/generic/ldsodefs.h: Check whether
39799         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39800         than #if.
39802         * nptl/sysdeps/pthread/pthread.h: Check
39803         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39804         its value.
39806 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39808         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39809         setting O_APPEND.
39810         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39811         test case.
39813         [BZ #16680]
39814         * libio/fileops.c (_IO_file_open): Seek to end of file but
39815         don't cache the offset.
39816         (get_file_offset): Remove function.
39817         (do_ftell): Use cached offset when available.
39818         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39819         don't cache the offset.
39820         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39821         case.
39822         (do_one_test): Call it.
39823         (do_ftell_test): Fix up expected old offset for a+ mode.
39824         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39825         available.
39827         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39828         up test status with function return status.
39829         (do_write_test): Likewise.
39830         (do_append_test): Likewise.
39832         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39833         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39834         Remove.
39836 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39838         * math/gen-libm-test.pl (parse_args): Handle results specified for
39839         each rounding mode separately.
39840         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39841         tests and results from lrint_tonearest_test_data,
39842         lrint_towardzero_test_data, lrint_downward_test_data and
39843         lrint_upward_test_data.
39844         (lrint_test): Use ALL_RM_TEST.
39845         (lrint_tonearest_test_data): Remove.
39846         (lrint_test_tonearest): Likewise.
39847         (lrint_towardzero_test_data): Likewise.
39848         (lrint_test_towardzero): Likewise.
39849         (lrint_downward_test_data): Likewise.
39850         (lrint_test_downward): Likewise.
39851         (lrint_upward_test_data): Likewise.
39852         (lrint_test_upward): Likewise.
39853         (llrint_test_data): Merge in per-rounding-mode tests and results
39854         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39855         llrint_downward_test_data and llrint_upward_test_data.
39856         (llrint_test): Use ALL_RM_TEST.
39857         (llrint_tonearest_test_data): Remove.
39858         (llrint_test_tonearest): Likewise.
39859         (llrint_towardzero_test_data): Likewise.
39860         (llrint_test_towardzero): Likewise.
39861         (llrint_downward_test_data): Likewise.
39862         (llrint_test_downward): Likewise.
39863         (llrint_upward_test_data): Likewise.
39864         (llrint_test_upward): Likewise.
39865         (rint_test_data): Merge in per-rounding-mode tests and results
39866         from rint_tonearest_test_data, rint_towardzero_test_data,
39867         rint_downward_test_data and rint_upward_test_data.  Add
39868         per-rounding-mode results for tests not in those arrays.
39869         (rint_test): Use ALL_RM_TEST.
39870         (rint_tonearest_test_data): Remove.
39871         (rint_test_tonearest): Likewise.
39872         (rint_towardzero_test_data): Likewise.
39873         (rint_test_towardzero): Likewise.
39874         (rint_downward_test_data): Likewise.
39875         (rint_test_downward): Likewise.
39876         (rint_upward_test_data): Likewise.
39877         (rint_test_upward): Likewise.
39878         (main): Don't call removed functions.
39880 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39882         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39883         "Compiled on ..." crapola.  It is anti-useful.
39885 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39887         * scripts/evaluate-test.sh: Handle fourth argument to determine
39888         whether test run should stop on failure.
39889         * Makeconfig (stop-on-test-failure): New variable.
39890         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39891         $(stop-on-test-failure).
39892         * Makefile (tests): Give a summary of results from testing and
39893         exit with failure status if they include an ERROR or FAIL.
39894         (xtests): Likewise.
39895         * manual/install.texi (Configuring and compiling): Mention
39896         stop-on-test-failure=y.
39897         * INSTALL: Regenerated.
39899 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39901         * scripts/versionlist.awk: New file.
39902         * Makerules [$(build-shared) = yes]
39903         (postclean-generated): Add Versions.def, not Versions.def.v and
39904         Versions.def.v.i.
39905         ($(common-objpfx)Versions.def.v.i): Target removed.
39906         ($(common-objpfx)Versions.def): New target.
39907         ($(common-objpfx)Versions.all): Depend on that rather that
39908         $(common-objpfx)Versions.def.v.
39909         * Versions.def: File removed.
39911         * Makeconfig (+gccwarn): Add -Wundef.
39912         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39913         a dl-sysdep.h breaking its contract.
39914         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39915         * include/stackinfo.h: New file.
39916         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39917         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39918         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39919         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39920         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39921         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39922         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39923         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39924         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39925         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39926         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39927         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39928         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39929         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39930         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39932 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39934         [BZ #16707]
39935         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39936         implementation.
39937         * math/libm-test.inc (round_test_data): Add more tests.
39939         [BZ #16706]
39940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39941         implementation.
39942         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39944         [BZ #16701]
39945         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39946         implementation.
39947         * math/libm-test.inc (ceil_test_data): Add more tests.
39949         * math/libm-test.inc (trunc_test_data): Add more tests related to
39950         BZ#16414.
39952 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39954         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39955         with #if rather than #ifdef.
39956         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39958 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39960         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39961         first.  Disable AVX-512 GCC support if assembler doesn't support
39962         it.
39963         * sysdeps/x86_64/configure: Regenerated.
39965 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39967         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39968         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39969         (__old_pthread_attr_setstack): Likewise.
39970         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39971         [!_STACK_GROWS_DOWN]: Likewise.
39973 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39975         * config.make.in (have-bash2): Delete.
39976         * configure.ac (libc_cv_have_bash2): Delete.
39977         * configure: Regenerate.
39978         * elf/Makefile (common-ldd-rewrite): Rename to ...
39979         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39980         (sh-ldd-rewrite): Delete.
39981         (bash-ldd-rewrite): Delete.
39982         (have-bash2): Delete checks.
39983         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39984         ldd-rewrite.
39986         * config.make.in (have-ksh): Delete.
39987         (KSH): Delete.
39988         * configure.ac (libc_cv_have_ksh): Delete.
39989         * configure: Regenerate.
39991         * elf/Makefile: Delete $(have-ksh) check.
39992         ($(objpfx)sotruss): Change KSH to BASH.
39993         * elf/sotruss.ksh: Rename to ...
39994         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39995         function style to match POSIX.  Drop ksh vim mode setting.
39997         * manual/time.texi (Specifying the Time Zone with TZ): Change
39998         Tuesday to Thursday.
40000         * debug/tst-longjmp_chk2.c: Update header comment.
40001         (stackoverflow_handler): Add comment.  Call assert on pass value.
40003 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40005         [BZ #16194]
40006         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40007         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40008         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40009         (La_x86_64_vector): Add zmm.
40010         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40011         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40012         ($(objpfx)tst-audit10): New target.
40013         ($(objpfx)tst-audit10.out): Likewise.
40014         (tst-audit10-ENV): New.
40015         (AVX512-CFLAGS): Likewise.
40016         (CFLAGS-tst-audit10.c): Likewise.
40017         (CFLAGS-tst-auditmod10a.c): Likewise.
40018         (CFLAGS-tst-auditmod10b.c): Likewise.
40019         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40020         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40021         * sysdeps/x86_64/configure: Regenerated.
40022         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40023         AVX-512 zmm register support.
40024         (_dl_x86_64_save_sse): Likewise.
40025         (_dl_x86_64_restore_sse): Likewise.
40026         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40027         size vector registers.
40028         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40029         (ZMM_SIZE): Likewise.
40030         * sysdeps/x86_64/tst-audit10.c: New file.
40031         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40032         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40034 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40036         * configure.ac (HAVE_EHDR_START): New check.
40037         * configure: Regenerated.
40038         * config.h.in (HAVE_EHDR_START): New #undef.
40039         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40040         assuming the lowest-addressed segment maps the start of the file.
40042 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40044         * INSTALL: Regenerated.
40046 2014-03-13  Will Newton  <will.newton@linaro.org>
40048         * manual/setjmp.texi (System V contexts): Improve
40049         clarity and grammar of documentation.
40051 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40053         [BZ #16381]
40054         * elf/Makefile (tests): Add tst-pie2.
40055         (tests-pie): Add tst-pie2.
40056         * elf/tst-pie2.c: New file.
40057         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40058         for ET_EXEC.
40059         * elf/rtld.c (map_doit): Load executable as lt_executable.
40060         (dl_main): Likewise.
40062 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40064         [BZ #16642]
40065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40066         (__ASSUME_PSELECT): Undefine.
40068 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40070         [BZ #16689]
40071         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40072         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40073         static build.
40074         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40075         selector for static builds.
40077 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40079         [BZ #16695]
40080         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40081         key in the buffer.
40083 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40085         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40086         IFUNC selector for static builds.
40088 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40090         * sysdeps/mips/math_private.h [__mips_hard_float]
40091         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40092         libc_feresetround_mips_ctx.
40093         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40094         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40095         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40097         [BZ #16677]
40098         * math/s_nextafter.c (__nextafter): Do not return value from
40099         overflowing computation.
40100         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40101         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40103         Likewise.
40104         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40105         Likewise.
40106         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40107         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40109 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40111         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40112         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40113         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40114         the new mov targetting sp.
40116 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40118         [BZ #16683]
40119         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40120         Define it for static builds as well.
40121         (NO_BZERO_IMPL): Likewise.
40123 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40125         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40126         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40127         multiarch strspn for PPC64.
40128         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40129         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40131         (__libc_ifunc_impl_list): Likewise.
40132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40133         multiarch optimizations
40134         * string/strspn.c (strspn): Using macro to redefine symbol name.
40136 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40137             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40139         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40140         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40141         multiarch strncat for PPC64.
40142         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40143         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40145         (__libc_ifunc_impl_list): Likewise.
40146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40147         multiarch optimizations
40149 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40151         [BZ #16639]
40152         * nscd/nscd.service: Make service type forking.
40154 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40156         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40157         sign in non default rounding modes.
40158         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40160 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40162         * math/libm-test.inc (ALL_RM_TEST): New macro.
40163         (ceil_test): Use ALL_RM_TEST.
40164         (cimag_test): Likewise.
40165         (conj_test): Likewise.
40166         (copysign_test): Likewise.
40167         (cproj_test): Likewise.
40168         (creal_test): Likewise.
40169         (fabs_test): Likewise.
40170         (floor_test): Likewise.
40171         (fmax_test): Likewise.
40172         (fmin_test): Likewise.
40173         (fmod_test): Likewise.
40174         (fpclassify_test): Likewise.
40175         (frexp_test): Likewise.
40176         (ilogb_test): Likewise.
40177         (isfinite_test): Likewise.
40178         (finite_test): Likewise.
40179         (isgreater_test): Likewise.
40180         (isgreaterequal_test): Likewise.
40181         (isinf_test): Likewise.
40182         (isless_test): Likewise.
40183         (islessequal_test): Likewise.
40184         (islessgreater_test): Likewise.
40185         (isnan_test): Likewise.
40186         (isnormal_test): Likewise.
40187         (issignaling_test): Likewise.
40188         (isunordered_test): Likewise.
40189         (logb_test): Likewise.
40190         (logb_downward_test_data): Remove.
40191         (logb_test_downward): Likewise.
40192         (lround_test): Use ALL_RM_TEST.
40193         (llround_test): Likewise.
40194         (modf_test): Likewise.
40195         (nexttoward_test): Likewise.
40196         (remainder_test): Likewise.
40197         (drem_test): Likewise.
40198         (remainder_tonearest_test_data): Likewise.
40199         (remainder_test_tonearest): Likewise.
40200         (drem_test_tonearest): Likewise.
40201         (remainder_towardzero_test_data): Likewise.
40202         (remainder_test_towardzero): Likewise.
40203         (drem_test_towardzero): Likewise.
40204         (remainder_downward_test_data): Likewise.
40205         (remainder_test_downward): Likewise.
40206         (drem_test_downward): Likewise.
40207         (remainder_upward_test_data): Likewise.
40208         (remainder_test_upward): Likewise.
40209         (drem_test_upward): Likewise.
40210         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40211         (round_test): Use ALL_RM_TEST.
40212         (signbit_test): Likewise.
40213         (trunc_test): Likewise.
40214         (significand_test): Likewise.
40215         (main): Don't call removed functions.
40217 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40219         [BZ #16674]
40220         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40221         || __USE_XOPEN2K8].
40222         (ILL_ILLOPN): Likewise.
40223         (ILL_ILLADR): Likewise.
40224         (ILL_ILLTRP): Likewise.
40225         (ILL_PRVOPC): Likewise.
40226         (ILL_PRVREG): Likewise.
40227         (ILL_COPROC): Likewise.
40228         (ILL_BADSTK): Likewise.
40229         (FPE_INTDIV): Likewise.
40230         (FPE_INTOVF): Likewise.
40231         (FPE_FLTDIV): Likewise.
40232         (FPE_FLTOVF): Likewise.
40233         (FPE_FLTUND): Likewise.
40234         (FPE_FLTRES): Likewise.
40235         (FPE_FLTINV): Likewise.
40236         (FPE_FLTSUB): Likewise.
40237         (SEGV_MAPERR): Likewise.
40238         (SEGV_ACCERR): Likewise.
40239         (BUS_ADRALN): Likewise.
40240         (BUS_ADRERR): Likewise.
40241         (BUS_OBJERR): Likewise.
40242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40243         (TRAP_TRACE): Likewise.
40244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40245         __USE_XOPEN2K8].
40246         (CLD_KILLED): Likewise.
40247         (CLD_DUMPED): Likewise.
40248         (CLD_TRAPPED): Likewise.
40249         (CLD_STOPPED): Likewise.
40250         (CLD_CONTINUED): Likewise.
40251         (POLL_IN): Likewise.
40252         (POLL_OUT): Likewise.
40253         (POLL_MSG): Likewise.
40254         (POLL_ERR): Likewise.
40255         (POLL_PRI): Likewise.
40256         (POLL_HUP): Likewise.
40257         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40258         Likewise.
40259         (ILL_ILLOPN): Likewise.
40260         (ILL_ILLADR): Likewise.
40261         (ILL_ILLTRP): Likewise.
40262         (ILL_PRVOPC): Likewise.
40263         (ILL_PRVREG): Likewise.
40264         (ILL_COPROC): Likewise.
40265         (ILL_BADSTK): Likewise.
40266         (FPE_INTDIV): Likewise.
40267         (FPE_INTOVF): Likewise.
40268         (FPE_FLTDIV): Likewise.
40269         (FPE_FLTOVF): Likewise.
40270         (FPE_FLTUND): Likewise.
40271         (FPE_FLTRES): Likewise.
40272         (FPE_FLTINV): Likewise.
40273         (FPE_FLTSUB): Likewise.
40274         (SEGV_MAPERR): Likewise.
40275         (SEGV_ACCERR): Likewise.
40276         (BUS_ADRALN): Likewise.
40277         (BUS_ADRERR): Likewise.
40278         (BUS_OBJERR): Likewise.
40279         (BUS_MCEERR_AR): Likewise.
40280         (BUS_MCEERR_AO): Likewise.
40281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40282         (TRAP_TRACE): Likewise.
40283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40284         __USE_XOPEN2K8].
40285         (CLD_KILLED): Likewise.
40286         (CLD_DUMPED): Likewise.
40287         (CLD_TRAPPED): Likewise.
40288         (CLD_STOPPED): Likewise.
40289         (CLD_CONTINUED): Likewise.
40290         (POLL_IN): Likewise.
40291         (POLL_OUT): Likewise.
40292         (POLL_MSG): Likewise.
40293         (POLL_ERR): Likewise.
40294         (POLL_PRI): Likewise.
40295         (POLL_HUP): Likewise.
40296         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40297         (ILL_ILLOPN): Likewise.
40298         (ILL_ILLADR): Likewise.
40299         (ILL_ILLTRP): Likewise.
40300         (ILL_PRVOPC): Likewise.
40301         (ILL_PRVREG): Likewise.
40302         (ILL_COPROC): Likewise.
40303         (ILL_BADSTK): Likewise.
40304         (FPE_INTDIV): Likewise.
40305         (FPE_INTOVF): Likewise.
40306         (FPE_FLTDIV): Likewise.
40307         (FPE_FLTOVF): Likewise.
40308         (FPE_FLTUND): Likewise.
40309         (FPE_FLTRES): Likewise.
40310         (FPE_FLTINV): Likewise.
40311         (FPE_FLTSUB): Likewise.
40312         (SEGV_MAPERR): Likewise.
40313         (SEGV_ACCERR): Likewise.
40314         (BUS_ADRALN): Likewise.
40315         (BUS_ADRERR): Likewise.
40316         (BUS_OBJERR): Likewise.
40317         (BUS_MCEERR_AR): Likewise.
40318         (BUS_MCEERR_AO): Likewise.
40319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40320         (TRAP_TRACE): Likewise.
40321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40322         __USE_XOPEN2K8].
40323         (CLD_KILLED): Likewise.
40324         (CLD_DUMPED): Likewise.
40325         (CLD_TRAPPED): Likewise.
40326         (CLD_STOPPED): Likewise.
40327         (CLD_CONTINUED): Likewise.
40328         (POLL_IN): Likewise.
40329         (POLL_OUT): Likewise.
40330         (POLL_MSG): Likewise.
40331         (POLL_ERR): Likewise.
40332         (POLL_PRI): Likewise.
40333         (POLL_HUP): Likewise.
40334         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40335         Likewise.
40336         (ILL_ILLOPN): Likewise.
40337         (ILL_ILLADR): Likewise.
40338         (ILL_ILLTRP): Likewise.
40339         (ILL_PRVOPC): Likewise.
40340         (ILL_PRVREG): Likewise.
40341         (ILL_COPROC): Likewise.
40342         (ILL_BADSTK): Likewise.
40343         (ILL_BADIADDR): Likewise.
40344         (ILL_BREAK): Likewise.
40345         (FPE_INTDIV): Likewise.
40346         (FPE_INTOVF): Likewise.
40347         (FPE_FLTDIV): Likewise.
40348         (FPE_FLTOVF): Likewise.
40349         (FPE_FLTUND): Likewise.
40350         (FPE_FLTRES): Likewise.
40351         (FPE_FLTINV): Likewise.
40352         (FPE_FLTSUB): Likewise.
40353         (FPE_DECOVF): Likewise.
40354         (FPE_DECDIV): Likewise.
40355         (FPE_DECERR): Likewise.
40356         (FPE_INVASC): Likewise.
40357         (FPE_INVDEC): Likewise.
40358         (SEGV_MAPERR): Likewise.
40359         (SEGV_ACCERR): Likewise.
40360         (SEGV_PSTKOVF): Likewise.
40361         (BUS_ADRALN): Likewise.
40362         (BUS_ADRERR): Likewise.
40363         (BUS_OBJERR): Likewise.
40364         (BUS_MCEERR_AR): Likewise.
40365         (BUS_MCEERR_AO): Likewise.
40366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40367         (TRAP_TRACE): Likewise.
40368         (TRAP_BRANCH): Likewise.
40369         (TRAP_HWBKPT): Likewise.
40370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40371         __USE_XOPEN2K8].
40372         (CLD_KILLED): Likewise.
40373         (CLD_DUMPED): Likewise.
40374         (CLD_TRAPPED): Likewise.
40375         (CLD_STOPPED): Likewise.
40376         (CLD_CONTINUED): Likewise.
40377         (POLL_IN): Likewise.
40378         (POLL_OUT): Likewise.
40379         (POLL_MSG): Likewise.
40380         (POLL_ERR): Likewise.
40381         (POLL_PRI): Likewise.
40382         (POLL_HUP): Likewise.
40383         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40384         (ILL_ILLOPN): Likewise.
40385         (ILL_ILLADR): Likewise.
40386         (ILL_ILLTRP): Likewise.
40387         (ILL_PRVOPC): Likewise.
40388         (ILL_PRVREG): Likewise.
40389         (ILL_COPROC): Likewise.
40390         (ILL_BADSTK): Likewise.
40391         (FPE_INTDIV): Likewise.
40392         (FPE_INTOVF): Likewise.
40393         (FPE_FLTDIV): Likewise.
40394         (FPE_FLTOVF): Likewise.
40395         (FPE_FLTUND): Likewise.
40396         (FPE_FLTRES): Likewise.
40397         (FPE_FLTINV): Likewise.
40398         (FPE_FLTSUB): Likewise.
40399         (SEGV_MAPERR): Likewise.
40400         (SEGV_ACCERR): Likewise.
40401         (BUS_ADRALN): Likewise.
40402         (BUS_ADRERR): Likewise.
40403         (BUS_OBJERR): Likewise.
40404         (BUS_MCEERR_AR): Likewise.
40405         (BUS_MCEERR_AO): Likewise.
40406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40407         (TRAP_TRACE): Likewise.
40408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40409         __USE_XOPEN2K8].
40410         (CLD_KILLED): Likewise.
40411         (CLD_DUMPED): Likewise.
40412         (CLD_TRAPPED): Likewise.
40413         (CLD_STOPPED): Likewise.
40414         (CLD_CONTINUED): Likewise.
40415         (POLL_IN): Likewise.
40416         (POLL_OUT): Likewise.
40417         (POLL_MSG): Likewise.
40418         (POLL_ERR): Likewise.
40419         (POLL_PRI): Likewise.
40420         (POLL_HUP): Likewise.
40421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40422         (ILL_ILLOPN): Likewise.
40423         (ILL_ILLADR): Likewise.
40424         (ILL_ILLTRP): Likewise.
40425         (ILL_PRVOPC): Likewise.
40426         (ILL_PRVREG): Likewise.
40427         (ILL_COPROC): Likewise.
40428         (ILL_BADSTK): Likewise.
40429         (FPE_INTDIV): Likewise.
40430         (FPE_INTOVF): Likewise.
40431         (FPE_FLTDIV): Likewise.
40432         (FPE_FLTOVF): Likewise.
40433         (FPE_FLTUND): Likewise.
40434         (FPE_FLTRES): Likewise.
40435         (FPE_FLTINV): Likewise.
40436         (FPE_FLTSUB): Likewise.
40437         (SEGV_MAPERR): Likewise.
40438         (SEGV_ACCERR): Likewise.
40439         (BUS_ADRALN): Likewise.
40440         (BUS_ADRERR): Likewise.
40441         (BUS_OBJERR): Likewise.
40442         (BUS_MCEERR_AR): Likewise.
40443         (BUS_MCEERR_AO): Likewise.
40444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40445         (TRAP_TRACE): Likewise.
40446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40447         __USE_XOPEN2K8].
40448         (CLD_KILLED): Likewise.
40449         (CLD_DUMPED): Likewise.
40450         (CLD_TRAPPED): Likewise.
40451         (CLD_STOPPED): Likewise.
40452         (CLD_CONTINUED): Likewise.
40453         (POLL_IN): Likewise.
40454         (POLL_OUT): Likewise.
40455         (POLL_MSG): Likewise.
40456         (POLL_ERR): Likewise.
40457         (POLL_PRI): Likewise.
40458         (POLL_HUP): Likewise.
40459         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40460         (ILL_ILLOPN): Likewise.
40461         (ILL_ILLADR): Likewise.
40462         (ILL_ILLTRP): Likewise.
40463         (ILL_PRVOPC): Likewise.
40464         (ILL_PRVREG): Likewise.
40465         (ILL_COPROC): Likewise.
40466         (ILL_BADSTK): Likewise.
40467         (FPE_INTDIV): Likewise.
40468         (FPE_INTOVF): Likewise.
40469         (FPE_FLTDIV): Likewise.
40470         (FPE_FLTOVF): Likewise.
40471         (FPE_FLTUND): Likewise.
40472         (FPE_FLTRES): Likewise.
40473         (FPE_FLTINV): Likewise.
40474         (FPE_FLTSUB): Likewise.
40475         (SEGV_MAPERR): Likewise.
40476         (SEGV_ACCERR): Likewise.
40477         (BUS_ADRALN): Likewise.
40478         (BUS_ADRERR): Likewise.
40479         (BUS_OBJERR): Likewise.
40480         (BUS_MCEERR_AR): Likewise.
40481         (BUS_MCEERR_AO): Likewise.
40482         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40483         (TRAP_TRACE): Likewise.
40484         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40485         __USE_XOPEN2K8].
40486         (CLD_KILLED): Likewise.
40487         (CLD_DUMPED): Likewise.
40488         (CLD_TRAPPED): Likewise.
40489         (CLD_STOPPED): Likewise.
40490         (CLD_CONTINUED): Likewise.
40491         (POLL_IN): Likewise.
40492         (POLL_OUT): Likewise.
40493         (POLL_MSG): Likewise.
40494         (POLL_ERR): Likewise.
40495         (POLL_PRI): Likewise.
40496         (POLL_HUP): Likewise.
40497         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40498         (ILL_ILLOPN): Likewise.
40499         (ILL_ILLADR): Likewise.
40500         (ILL_ILLTRP): Likewise.
40501         (ILL_PRVOPC): Likewise.
40502         (ILL_PRVREG): Likewise.
40503         (ILL_COPROC): Likewise.
40504         (ILL_BADSTK): Likewise.
40505         (ILL_DBLFLT): Likewise.
40506         (ILL_HARDWALL): Likewise.
40507         (FPE_INTDIV): Likewise.
40508         (FPE_INTOVF): Likewise.
40509         (FPE_FLTDIV): Likewise.
40510         (FPE_FLTOVF): Likewise.
40511         (FPE_FLTUND): Likewise.
40512         (FPE_FLTRES): Likewise.
40513         (FPE_FLTINV): Likewise.
40514         (FPE_FLTSUB): Likewise.
40515         (SEGV_MAPERR): Likewise.
40516         (SEGV_ACCERR): Likewise.
40517         (BUS_ADRALN): Likewise.
40518         (BUS_ADRERR): Likewise.
40519         (BUS_OBJERR): Likewise.
40520         (BUS_MCEERR_AR): Likewise.
40521         (BUS_MCEERR_AO): Likewise.
40522         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40523         (TRAP_TRACE): Likewise.
40524         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40525         __USE_XOPEN2K8].
40526         (CLD_KILLED): Likewise.
40527         (CLD_DUMPED): Likewise.
40528         (CLD_TRAPPED): Likewise.
40529         (CLD_STOPPED): Likewise.
40530         (CLD_CONTINUED): Likewise.
40531         (POLL_IN): Likewise.
40532         (POLL_OUT): Likewise.
40533         (POLL_MSG): Likewise.
40534         (POLL_ERR): Likewise.
40535         (POLL_PRI): Likewise.
40536         (POLL_HUP): Likewise.
40537         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40538         (ILL_ILLOPN): Likewise.
40539         (ILL_ILLADR): Likewise.
40540         (ILL_ILLTRP): Likewise.
40541         (ILL_PRVOPC): Likewise.
40542         (ILL_PRVREG): Likewise.
40543         (ILL_COPROC): Likewise.
40544         (ILL_BADSTK): Likewise.
40545         (FPE_INTDIV): Likewise.
40546         (FPE_INTOVF): Likewise.
40547         (FPE_FLTDIV): Likewise.
40548         (FPE_FLTOVF): Likewise.
40549         (FPE_FLTUND): Likewise.
40550         (FPE_FLTRES): Likewise.
40551         (FPE_FLTINV): Likewise.
40552         (FPE_FLTSUB): Likewise.
40553         (SEGV_MAPERR): Likewise.
40554         (SEGV_ACCERR): Likewise.
40555         (BUS_ADRALN): Likewise.
40556         (BUS_ADRERR): Likewise.
40557         (BUS_OBJERR): Likewise.
40558         (BUS_MCEERR_AR): Likewise.
40559         (BUS_MCEERR_AO): Likewise.
40560         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40561         (TRAP_TRACE): Likewise.
40562         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40563         __USE_XOPEN2K8].
40564         (CLD_KILLED): Likewise.
40565         (CLD_DUMPED): Likewise.
40566         (CLD_TRAPPED): Likewise.
40567         (CLD_STOPPED): Likewise.
40568         (CLD_CONTINUED): Likewise.
40569         (POLL_IN): Likewise.
40570         (POLL_OUT): Likewise.
40571         (POLL_MSG): Likewise.
40572         (POLL_ERR): Likewise.
40573         (POLL_PRI): Likewise.
40574         (POLL_HUP): Likewise.
40575         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40576         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40578         [BZ #16670]
40579         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40580         before #include of <time.h>.
40581         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40582         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40583         (test-xfail-UNIX98/sched.h/conform): Likewise.
40585 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40587         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40588         error absence of trapping exception support.
40589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40591 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40593         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40594         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40595         * timezone/Makefile (testdata): Move definition above include of
40596         Rules.
40597         (test-zones): New variable.
40598         (tests-special): Add zone files.
40599         (build-testdata): Use $(evaluate-test).
40601         * elf/Makefile (tests-special): Rename tests to end with .out.
40602         ($(objpfx)noload-mem): Likewise.
40603         ($(objpfx)tst-leaks1-mem): Likewise.
40604         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40605         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40606         $(objpfx)test-iconvconfig.out.
40607         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40608         set -e inside subshell and redirect output to file.
40609         * iconvdata/Makefile (generated): Rename tests to end with .out.
40610         Correct type.
40611         (tests-special): Rename tests to end with .out.
40612         ($(objpfx)mtrace-tst-loading): Likewise.
40613         * intl/Makefile (generated): Likewise.
40614         (tests-special): Likewise.
40615         ($(objpfx)mtrace-tst-gettext): Likewise.
40616         * misc/Makefile (generated): Likewise.
40617         (tests-special): Likewise.
40618         ($(objpfx)tst-error1-mem): Likewise.
40619         * nptl/Makefile (tests-special): Likewise.
40620         ($(objpfx)tst-stack3-mem): Likewise.
40621         (generated): Likewise.
40622         * posix/Makefile (generated): Likewise.
40623         (tests-special): Likewise.
40624         (xtests-special): Likewise.
40625         ($(objpfx)tst-fnmatch-mem): Likewise.
40626         ($(objpfx)bug-regex2-mem): Likewise.
40627         ($(objpfx)bug-regex14-mem): Likewise.
40628         ($(objpfx)bug-regex21-mem): Likewise.
40629         ($(objpfx)bug-regex31-mem): Likewise.
40630         ($(objpfx)tst-vfork3-mem): Likewise.
40631         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40632         ($(objpfx)tst-pcre-mem): Likewise.
40633         ($(objpfx)tst-boost-mem): Likewise.
40634         ($(objpfx)bug-ga2-mem): Likewise.
40635         ($(objpfx)bug-glob2-mem): Likewise.
40636         * resolv/Makefile (generate): Likewise.
40637         (tests-special): Likewise.
40638         (xtests-special): Likewise.
40639         (generated): Likewise.
40640         ($(objpfx)mtrace-tst-leaks): Likewise.
40641         ($(objpfx)mtrace-tst-leaks2): Likewise.
40643         * scripts/merge-test-results.sh: New file.
40644         * Makefile (tests-special-notdir): New variable.
40645         (tests): Run merge-test-results.sh.
40646         (xtests): Likewise.
40647         * Rules (tests-special-notdir): New variable.
40648         (xtests-special-notdir): Likewise.
40649         (tests): Run merge-test-results.sh
40650         (xtests): Likewise.
40652         * Makeconfig (test-xfail-name): New variable.
40653         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40654         compute variable name for expected failures.
40655         * conform/Makefile (conformtest-headers-data): New variable.
40656         (conformtest-standards): Likewise.
40657         (conformtest-headers-ISO): Likewise.
40658         (conformtest-headers-ISO99): Likewise.
40659         (conformtest-headers-ISO11): Likewise.
40660         (conformtest-headers-POSIX): Likewise.
40661         (conformtest-headers-XPG3): Likewise.
40662         (conformtest-headers-XPG4): Likewise.
40663         (conformtest-headers-UNIX98): Likewise.
40664         (conformtest-headers-XOPEN2K): Likewise.
40665         (conformtest-headers-POSIX2008): Likewise.
40666         (conformtest-headers-XOPEN2K8): Likewise.
40667         (conformtest-header-list-base): Likewise.
40668         (conformtest-header-list-tests): Likewise.
40669         (conformtest-header-base): Likewise.
40670         (conformtest-header-tests): Likewise.
40671         (tests-special): Add $(conformtest-header-list-tests).  If
40672         [$(fast-check) && !$(cross-compiling)], add
40673         $(conformtest-header-tests) instead of
40674         $(objpfx)run-conformtest.out.
40675         (generated): Add $(conformtest-header-list-base).  If
40676         [$(fast-check) && !$(cross-compiling)], add
40677         $(conformtest-header-base).  Remove previous setting.
40678         ($(conformtest-header-list-tests)): New target.
40679         (test-xfail-run-conformtest): Remove variable.
40680         ($(objpfx)run-conformtest.out): Remove target.
40681         (test-xfail-ISO11/complex.h/conform): New variable.
40682         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40683         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40684         (test-xfail-XPG3/varargs.h/conform): Likewise.
40685         (test-xfail-XPG4/varargs.h/conform): Likewise.
40686         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40687         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40688         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40689         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40690         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40691         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40692         (test-xfail-XPG3/ftw.h/conform): Likewise.
40693         (test-xfail-XPG3/grp.h/conform): Likewise.
40694         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40695         (test-xfail-XPG3/limits.h/conform): Likewise.
40696         (test-xfail-XPG3/pwd.h/conform): Likewise.
40697         (test-xfail-XPG3/search.h/conform): Likewise.
40698         (test-xfail-XPG3/signal.h/conform): Likewise.
40699         (test-xfail-XPG3/stdio.h/conform): Likewise.
40700         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40701         (test-xfail-XPG3/string.h/conform): Likewise.
40702         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40703         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40704         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40705         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40706         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40707         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40708         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40709         (test-xfail-XPG3/termios.h/conform): Likewise.
40710         (test-xfail-XPG3/time.h/conform): Likewise.
40711         (test-xfail-XPG3/unistd.h/conform): Likewise.
40712         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40713         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40714         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40715         (test-xfail-XPG4/netdb.h/conform): Likewise.
40716         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40717         (test-xfail-XPG4/signal.h/conform): Likewise.
40718         (test-xfail-XPG4/stdio.h/conform): Likewise.
40719         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40720         (test-xfail-XPG4/stropts.h/conform): Likewise.
40721         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40722         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40723         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40724         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40725         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40726         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40727         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40728         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40729         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40730         (test-xfail-XPG4/termios.h/conform): Likewise.
40731         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40732         (test-xfail-XPG4/unistd.h/conform): Likewise.
40733         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40734         (test-xfail-POSIX/sched.h/conform): Likewise.
40735         (test-xfail-POSIX/signal.h/conform): Likewise.
40736         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40737         (test-xfail-POSIX/tar.h/conform): Likewise.
40738         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40739         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40740         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40741         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40742         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40743         (test-xfail-UNIX98/sched.h/conform): Likewise.
40744         (test-xfail-UNIX98/signal.h/conform): Likewise.
40745         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40746         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40747         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40748         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40749         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40750         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40751         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40752         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40753         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40754         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40755         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40756         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40757         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40758         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40759         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40760         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40761         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40762         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40763         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40764         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40765         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40766         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40767         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40768         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40769         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40770         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40771         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40772         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40773         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40774         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40775         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40776         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40777         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40778         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40779         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40780         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40781         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40782         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40783         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40784         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40785         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40786         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40787         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40788         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40789         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40790         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40791         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40792         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40793         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40794         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40795         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40796         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40797         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40798         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40799         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40800         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40801         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40802         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40803         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40804         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40805         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40806         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40807         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40808         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40809         (conformtest-cc-flags): Likewise.
40810         ($(conformtest-header-tests): New target.
40811         * conform/check-header-lists.sh: New file.
40812         * conform/run-conformtest.sh: Remove.
40814         * conform/conformtest.pl: Allow ' and \ in values given for
40815         constants.
40816         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40817         inclusion.
40818         [POSIX] (sys/types.h): Likewise.
40819         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40820         inclusion.
40821         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40822         inclusion.
40823         * conform/data/signal.h-data (SIGIO): Remove expectation.
40824         [XPG3] (SIGBUS): Do not expect.
40825         [POSIX || XPG3] (SIGPOLL): Likewise.
40826         [POSIX || XPG3] (SIGPROF): Likewise.
40827         [POSIX || XPG3] (SIGSYS): Likewise.
40828         [XPG3] (SIGTRAP): Likewise.
40829         [POSIX || XPG3] (SIGURG): Likewise.
40830         [POSIX || XPG3] (SIGVTALRM): Likewise.
40831         [POSIX || XPG3] (SIGXCPU): Likewise.
40832         [POSIX || XPG3] (SIGXFSZ): Likewise.
40833         [POSIX] (SA_SIGINFO): Expect.
40834         [XPG3] (siginfo_t): Do not expect type or contents.
40835         [POSIX] (si_pid): Do not expect element.
40836         [POSIX] (si_uid): Likewise.
40837         [POSIX] (si_addr): Likewise.
40838         [POSIX] (si_status): Likewise.
40839         [POSIX] (si_band): Likewise.
40840         [XPG4] (si_value): Likewise.
40841         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40842         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40843         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40844         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40845         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40846         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40847         [POSIX || XPG3] (ILL_COPROC): Likewise.
40848         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40849         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40850         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40851         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40852         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40853         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40854         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40855         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40856         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40857         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40858         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40859         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40860         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40861         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40862         [POSIX || XPG3] (CLD_EXITED): Likewise.
40863         [POSIX || XPG3] (CLD_KILLED): Likewise.
40864         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40865         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40866         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40867         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40868         [POSIX || XPG3] (POLL_IN): Likewise.
40869         [POSIX || XPG3] (POLL_OUT): Likewise.
40870         [POSIX || XPG3] (POLL_MSG): Likewise.
40871         [POSIX || XPG3] (POLL_ERR): Likewise.
40872         [POSIX || XPG3] (POLL_PRI): Likewise.
40873         [POSIX || XPG3] (POLL_HUP): Likewise.
40874         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40875         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40876         (SIG*): Do not allow.
40877         [XPG3] (si_*): Likewise.
40878         [XPG3] (SI_*): Likewise.
40879         [XPG3 || XPG4] (sigev_*): Likewise.
40880         [XPG3 || XPG4] (SIGEV_*): Likewise.
40881         [XPG3 || XPG4] (sival_*): Likewise.
40882         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40883         [POSIX || XPG3] (BUS_*): Likewise.
40884         [POSIX || XPG3] (CLD_*): Likewise.
40885         [POSIX || XPG3] (FPE_*): Likewise.
40886         [POSIX || XPG3] (ILL_*): Likewise.
40887         [POSIX || XPG3] (POLL_*): Likewise.
40888         [POSIX || XPG3] (SEGV_*): Likewise.
40889         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40890         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40891         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40892         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40893         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40894         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40895         Specify type and value.
40896         (TVERSLEN): Likewise.
40897         (REGTYPE): Likewise.
40898         (AREGTYPE): Likewise.
40899         (LNKTYPE): Likewise.
40900         (SYMTYPE): Likewise.
40901         (CHRTYPE): Likewise.
40902         (BLKTYPE): Likewise.
40903         (DIRTYPE): Likewise.
40904         (FIFOTYPE): Likewise.
40905         (CONTTYPE): Likewise.
40906         (TSUID): Likewise.
40907         (TSGID): Likewise.
40908         (TSVTX): Likewise.
40909         (TUREAD): Likewise.
40910         (TUWRITE): Likewise.
40911         (TUEXEC): Likewise.
40912         (TGREAD): Likewise.
40913         (TGWRITE): Likewise.
40914         (TGEXEC): Likewise.
40915         (TOREAD): Likewise.
40916         (TOWRITE): Likewise.
40917         (TOEXEC): Likewise.
40918         [POSIX] (TSVTX): Expect constant.
40920 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40922         * Makefile (tests): Change dependencies to ....
40923         (tests-special): ... additions to this variable.
40924         (tests): Depend on $(tests-special).
40925         * Makerules (check-abi-list): New variable.
40926         (check-abi): Depend on $(check-abi-list).
40927         [$(subdir) = elf] (tests-special): Add
40928         $(objpfx)check-abi-libc.out.
40929         [$(build-shared) = yes && subdir] (tests-special): Add
40930         $(check-abi-list).
40931         [$(build-shared) = yes && subdir] (tests): Do not depend on
40932         check-abi.
40933         * Rules (tests): Depend on $(tests-special).
40934         (xtests): Depend on $(xtests-special).
40935         * catgets/Makefile (tests): Change dependencies to ....
40936         (tests-special): ... additions to this variable.
40937         * conform/Makefile (tests): Change dependencies to ....
40938         (tests-special): ... additions to this variable.
40939         * elf/Makefile (tests): Change dependencies to ....
40940         (tests-special): ... additions to this variable.
40941         * grp/Makefile (tests): Change dependencies to ....
40942         (tests-special): ... additions to this variable.
40943         * iconv/Makefile (xtests): Change dependencies to ....
40944         (xtests-special): ... additions to this variable.
40945         * iconvdata/Makefile (tests): Change dependencies to ....
40946         (tests-special): ... additions to this variable.
40947         * intl/Makefile (tests): Change dependencies to ....
40948         (tests-special): ... additions to this variable.  Also add
40949         $(objpfx)tst-gettext.out.
40950         * io/Makefile (tests): Change dependencies to ....
40951         (tests-special): ... additions to this variable.
40952         * libio/Makefile (tests): Change dependencies to ....
40953         (tests-special): ... additions to this variable.
40954         * malloc/Makefile (tests): Change dependencies to ....
40955         (tests-special): ... additions to this variable.
40956         * misc/Makefile (tests): Change dependencies to ....
40957         (tests-special): ... additions to this variable.
40958         * nptl/Makefile (tests): Change dependencies to ....
40959         (tests-special): ... additions to this variable.
40960         * nptl_db/Makefile (tests): Change dependencies to ....
40961         (tests-special): ... additions to this variable.
40962         * posix/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         * resolv/Makefile (tests): Change dependencies to ....
40967         (tests-special): ... additions to this variable.
40968         (xtests): Change dependencies to ....
40969         (xtests-special): ... additions to this variable.
40970         * stdio-common/Makefile (tests): Change dependencies to ....
40971         (tests-special): ... additions to this variable.
40972         (do-tst-unbputc): Remove target.
40973         (do-tst-printf): Likewise.
40974         * stdlib/Makefile (tests): Change dependencies to ....
40975         (tests-special): ... additions to this variable.
40976         * string/Makefile (tests): Change dependencies to ....
40977         (tests-special): ... additions to this variable.
40978         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40979         (tests-special): ... additions to this variable.
40981         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40982         whole file.
40983         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40984         whole file.
40985         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40986         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40988         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40989         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40990         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40991         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40992         * conform/data/libgen.h-data [XPG3]: Likewise.
40993         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40994         * conform/data/ndbm.h-data [XPG3]: Likewise.
40995         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40996         * conform/data/netdb.h-data [XPG3]: Likewise.
40997         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40998         * conform/data/poll.h-data [XPG3]: Likewise.
40999         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41000         * conform/data/strings.h-data [XPG3]: Likewise.
41001         * conform/data/stropts.h-data [XPG3]: Likewise.
41002         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41003         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41004         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41005         Likewise.
41006         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41007         * conform/data/sys/time.h-data [XPG3]: Likewise.
41008         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41009         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41010         * conform/data/sys/un.h-data [XPG3]: Likewise.
41011         * conform/data/syslog.h-data [XPG3]: Likewise.
41012         * conform/data/ucontext.h-data [XPG3]: Likewise.
41013         * conform/data/utmpx.h-data [XPG3]: Likewise.
41014         * conform/data/varargs.h-data [UNIX98]: Enable file.
41016         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41018         * math/libm-test.inc (struct test_f_f_data): Move expected results
41019         into structure for each rounding mode.
41020         (struct test_ff_f_data): Likewise.
41021         (struct test_ff_f_data_nexttoward): Likewise.
41022         (struct test_fi_f_data): Likewise.
41023         (struct test_fl_f_data): Likewise.
41024         (struct test_if_f_data): Likewise.
41025         (struct test_fff_f_data): Likewise.
41026         (struct test_c_f_data): Likewise.
41027         (struct test_f_f1_data): Likewise.
41028         (struct test_fF_f1_data): Likewise.
41029         (struct test_ffI_f1_data): Likewise.
41030         (struct test_c_c_data): Likewise.
41031         (struct test_cc_c_data): Likewise.
41032         (struct test_f_i_data): Likewise.
41033         (struct test_ff_i_data): Likewise.
41034         (struct test_f_l_data): Likewise.
41035         (struct test_f_L_data): Likewise.
41036         (struct test_fFF_11_data): Likewise.
41037         (RM_): New macro.
41038         (RM_FE_DOWNWARD): Likewise.
41039         (RM_FE_TONEAREST): Likewise.
41040         (RM_FE_TOWARDZERO): Likewise.
41041         (RM_FE_UPWARD): Likewise.
41042         (RUN_TEST_LOOP_f_f): Update references to expected results.
41043         (RUN_TEST_LOOP_2_f): Likewise.
41044         (RUN_TEST_LOOP_fff_f): Likewise.
41045         (RUN_TEST_LOOP_c_f): Likewise.
41046         (RUN_TEST_LOOP_f_f1): Likewise.
41047         (RUN_TEST_LOOP_fF_f1): Likewise.
41048         (RUN_TEST_LOOP_fI_f1): Likewise.
41049         (RUN_TEST_LOOP_ffI_f1): Likewise.
41050         (RUN_TEST_LOOP_c_c): Likewise.
41051         (RUN_TEST_LOOP_cc_c): Likewise.
41052         (RUN_TEST_LOOP_f_i): Likewise.
41053         (RUN_TEST_LOOP_f_i_tg): Likewise.
41054         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41055         (RUN_TEST_LOOP_f_b): Likewise.
41056         (RUN_TEST_LOOP_f_b_tg): Likewise.
41057         (RUN_TEST_LOOP_f_l): Likewise.
41058         (RUN_TEST_LOOP_f_L): Likewise.
41059         (RUN_TEST_LOOP_fFF_11): Likewise.
41060         * math/gen-libm-test.pl (parse_args): Output four copies of
41061         expected results for each test.
41063         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41064         (__ASSUME_UTIMES): Remove.
41065         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41066         (__ASSUME_UTIMES): Likewise.
41068         * math/gen-auto-libm-tests.c: Update comment on output format.
41069         (output_for_one_input_case): Generate before-rounding and
41070         after-rounding information as conditions on output flags not
41071         floating-point format.
41072         * math/auto-libm-test-out: Regenerated.
41073         * math/gen-libm-test.pl (cond_value): New function.
41074         (or_cond_value): Use cond_value.
41075         (generate_testfile): Handle conditional exceptions.
41077 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41079         * math/libm-test.inc (max_valid_error): New variable.
41080         (init_max_error): Take new argument specifying whether function
41081         results are exactly determined.  Set max_valid_error and bound
41082         other variables for errors based on this argument.
41083         (set_max_error): Do not record results above max_valid_error.
41084         (check_float_internal): Only accept errors of up to 0.5ulps if
41085         also at most max_valid_error.
41086         (START): Take new argument EXACT and pass it to init_max_error.
41087         (acos_test): Update call to START.
41088         (acos_test_tonearest): Likewise.
41089         (acos_test_towardzero): Likewise.
41090         (acos_test_downward): Likewise.
41091         (acos_test_upward): Likewise.
41092         (acosh_test): Likewise.
41093         (asin_test): Likewise.
41094         (asin_test_tonearest): Likewise.
41095         (asin_test_towardzero): Likewise.
41096         (asin_test_downward): Likewise.
41097         (asin_test_upward): Likewise.
41098         (asinh_test): Likewise.
41099         (atan_test): Likewise.
41100         (atanh_test): Likewise.
41101         (atan2_test): Likewise.
41102         (cabs_test): Likewise.
41103         (cacos_test): Likewise.
41104         (cacosh_test): Likewise.
41105         (carg_test): Likewise.
41106         (casin_test): Likewise.
41107         (casinh_test): Likewise.
41108         (catan_test): Likewise.
41109         (catanh_test): Likewise.
41110         (cbrt_test): Likewise.
41111         (ccos_test): Likewise.
41112         (ccosh_test): Likewise.
41113         (ceil_test): Likewise.
41114         (cexp_test): Likewise.
41115         (cimag_test): Likewise.
41116         (clog_test): Likewise.
41117         (clog10_test): Likewise.
41118         (conj_test): Likewise.
41119         (copysign_test): Likewise.
41120         (cos_test): Likewise.
41121         (cos_test_tonearest): Likewise.
41122         (cos_test_towardzero): Likewise.
41123         (cos_test_downward): Likewise.
41124         (cos_test_upward): Likewise.
41125         (cosh_test): Likewise.
41126         (cosh_test_tonearest): Likewise.
41127         (cosh_test_towardzero): Likewise.
41128         (cosh_test_downward): Likewise.
41129         (cosh_test_upward): Likewise.
41130         (cpow_test): Likewise.
41131         (cproj_test): Likewise.
41132         (creal_test): Likewise.
41133         (csin_test): Likewise.
41134         (csinh_test): Likewise.
41135         (csqrt_test): Likewise.
41136         (ctan_test): Likewise.
41137         (ctan_test_tonearest): Likewise.
41138         (ctan_test_towardzero): Likewise.
41139         (ctan_test_downward): Likewise.
41140         (ctan_test_upward): Likewise.
41141         (ctanh_test): Likewise.
41142         (ctanh_test_tonearest): Likewise.
41143         (ctanh_test_towardzero): Likewise.
41144         (ctanh_test_downward): Likewise.
41145         (ctanh_test_upward): Likewise.
41146         (erf_test): Likewise.
41147         (erfc_test): Likewise.
41148         (exp_test): Likewise.
41149         (exp_test_tonearest): Likewise.
41150         (exp_test_towardzero): Likewise.
41151         (exp_test_downward): Likewise.
41152         (exp_test_upward): Likewise.
41153         (exp10_test): Likewise.
41154         (exp10_test_tonearest): Likewise.
41155         (exp10_test_towardzero): Likewise.
41156         (exp10_test_downward): Likewise.
41157         (exp10_test_upward): Likewise.
41158         (pow10_test): Likewise.
41159         (exp2_test): Likewise.
41160         (expm1_test): Likewise.
41161         (expm1_test_tonearest): Likewise.
41162         (expm1_test_towardzero): Likewise.
41163         (expm1_test_downward): Likewise.
41164         (expm1_test_upward): Likewise.
41165         (fabs_test): Likewise.
41166         (fdim_test): Likewise.
41167         (floor_test): Likewise.
41168         (fma_test): Likewise.
41169         (fma_test_towardzero): Likewise.
41170         (fma_test_downward): Likewise.
41171         (fma_test_upward): Likewise.
41172         (fmax_test): Likewise.
41173         (fmin_test): Likewise.
41174         (fmod_test): Likewise.
41175         (fpclassify_test): Likewise.
41176         (frexp_test): Likewise.
41177         (hypot_test): Likewise.
41178         (ilogb_test): Likewise.
41179         (isfinite_test): Likewise.
41180         (finite_test): Likewise.
41181         (isgreater_test): Likewise.
41182         (isgreaterequal_test): Likewise.
41183         (isinf_test): Likewise.
41184         (isless_test): Likewise.
41185         (islessequal_test): Likewise.
41186         (islessgreater_test): Likewise.
41187         (isnan_test): Likewise.
41188         (isnormal_test): Likewise.
41189         (issignaling_test): Likewise.
41190         (isunordered_test): Likewise.
41191         (j0_test): Likewise.
41192         (j1_test): Likewise.
41193         (jn_test): Likewise.
41194         (ldexp_test): Likewise.
41195         (lgamma_test): Likewise.
41196         (gamma_test): Likewise.
41197         (lrint_test): Likewise.
41198         (lrint_test_tonearest): Likewise.
41199         (lrint_test_towardzero): Likewise.
41200         (lrint_test_downward): Likewise.
41201         (lrint_test_upward): Likewise.
41202         (llrint_test): Likewise.
41203         (llrint_test_tonearest): Likewise.
41204         (llrint_test_towardzero): Likewise.
41205         (llrint_test_downward): Likewise.
41206         (llrint_test_upward): Likewise.
41207         (log_test): Likewise.
41208         (log10_test): Likewise.
41209         (log1p_test): Likewise.
41210         (log2_test): Likewise.
41211         (logb_test): Likewise.
41212         (logb_test_downward): Likewise.
41213         (lround_test): Likewise.
41214         (llround_test): Likewise.
41215         (modf_test): Likewise.
41216         (nearbyint_test): Likewise.
41217         (nextafter_test): Likewise.
41218         (nexttoward_test): Likewise.
41219         (pow_test): Likewise.
41220         (pow_test_tonearest): Likewise.
41221         (pow_test_towardzero): Likewise.
41222         (pow_test_downward): Likewise.
41223         (pow_test_upward): Likewise.
41224         (remainder_test): Likewise.
41225         (drem_test): Likewise.
41226         (remainder_test_tonearest): Likewise.
41227         (drem_test_tonearest): Likewise.
41228         (remainder_test_towardzero): Likewise.
41229         (drem_test_towardzero): Likewise.
41230         (remainder_test_downward): Likewise.
41231         (drem_test_downward): Likewise.
41232         (remainder_test_upward): Likewise.
41233         (drem_test_upward): Likewise.
41234         (remquo_test): Likewise.
41235         (rint_test): Likewise.
41236         (rint_test_tonearest): Likewise.
41237         (rint_test_towardzero): Likewise.
41238         (rint_test_downward): Likewise.
41239         (rint_test_upward): Likewise.
41240         (round_test): Likewise.
41241         (scalb_test): Likewise.
41242         (scalbn_test): Likewise.
41243         (scalbln_test): Likewise.
41244         (signbit_test): Likewise.
41245         (sin_test): Likewise.
41246         (sin_test_tonearest): Likewise.
41247         (sin_test_towardzero): Likewise.
41248         (sin_test_downward): Likewise.
41249         (sin_test_upward): Likewise.
41250         (sincos_test): Likewise.
41251         (sinh_test): Likewise.
41252         (sinh_test_tonearest): Likewise.
41253         (sinh_test_towardzero): Likewise.
41254         (sinh_test_downward): Likewise.
41255         (sinh_test_upward): Likewise.
41256         (sqrt_test): Likewise.
41257         (sqrt_test_tonearest): Likewise.
41258         (sqrt_test_towardzero): Likewise.
41259         (sqrt_test_downward): Likewise.
41260         (sqrt_test_upward): Likewise.
41261         (tan_test): Likewise.
41262         (tan_test_tonearest): Likewise.
41263         (tan_test_towardzero): Likewise.
41264         (tan_test_downward): Likewise.
41265         (tan_test_upward): Likewise.
41266         (tanh_test): Likewise.
41267         (tgamma_test): Likewise.
41268         (trunc_test): Likewise.
41269         (y0_test): Likewise.
41270         (y1_test): Likewise.
41271         (yn_test): Likewise.
41272         (significand_test): Likewise.
41274         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41275         individual tests in comment.
41276         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41277         (prev_max_error): New variable.
41278         (prev_real_max_error): Likewise.
41279         (prev_imag_max_error): Likewise.
41280         (compare_ulp_data): Don't refer to test names in comment.
41281         (find_test_ulps): Remove function.
41282         (find_function_ulps): Likewise.
41283         (find_complex_function_ulps): Likewise.
41284         (init_max_error): Take function name as argument.  Look up ulps
41285         for that function.
41286         (print_ulps): Remove function.
41287         (print_max_error): Use prev_max_error instead of calling
41288         find_function_ulps.
41289         (print_complex_max_error): Use prev_real_max_error and
41290         prev_imag_max_error instead of calling find_complex_function_ulps.
41291         (check_float_internal): Take max_ulp parameter instead of calling
41292         find_test_ulps.  Don't call print_ulps.
41293         (check_float): Update call to check_float_internal.
41294         (check_complex): Update calls to check_float_internal.
41295         (START): Pass argument to init_max_error.
41296         * math/gen-libm-test.pl (%results): Don't include "kind"
41297         information.
41298         (parse_ulps): Don't handle ulps of individual tests.
41299         (print_ulps_file): Likewise.
41300         (output_ulps): Likewise.
41301         * math/README.libm-test: Update.
41302         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41303         individual tests.
41304         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41305         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41306         * sysdeps/arm/libm-test-ulps: Likewise.
41307         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41308         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41309         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41310         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41311         * sysdeps/microblaze/libm-test-ulps: Likewise.
41312         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41313         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41314         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41315         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41316         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41317         * sysdeps/sh/libm-test-ulps: Likewise.
41318         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41319         * sysdeps/tile/libm-test-ulps: Likewise.
41320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41322 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41324         * math/libm-test.inc (print_complex_max_error): Check separately
41325         whether real and imaginary errors are within allowed range and
41326         pass 0 to print_complex_function_ulps instead of value within
41327         allowed range.
41329 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41331         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41332         formatting.
41333         (get_handles_fopen): Likewise.
41334         (do_write_test): Likewise.
41336         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41338         * libio/fileops.c (do_ftell): Use cached offset when
41339         available.
41340         * libio/iofwide.c (do_ftell_wide): Likewise.
41341         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41342         _IO_file_attach.
41343         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41345         [BZ #16532]
41346         * libio/libioP.h (get_file_offset): New function.
41347         * libio/fileops.c (get_file_offset): Likewise.
41348         (do_ftell): Likewise.
41349         (_IO_new_file_seekoff): Split out ftell logic.
41350         * libio/wfileops.c (do_ftell_wide): Likewise.
41351         (_IO_wfile_seekoff): Split out ftell logic.
41352         * libio/tst-ftell-active-handler.c: New test case.
41353         * libio/Makefile (tests): Add it.
41355 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41357         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41358         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41360 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41362         [BZ #16639]
41363         * nscd/connections.c (nscd_init): Call do_exit.
41364         (start_threads): Call do_exit and notify_parent.
41365         (begin_drop_privileges): Call do_exit.
41366         (finish_drop_privileges): Likewise.
41367         * nscd/selinux.c (preserve_capabilities): Likewise.
41368         (install_real_capabilities): Likewise.
41369         (nscd_selinux_enabled): Likewise.
41370         (avc_create_thread): Likewise.
41371         (avc_alloc_lock): Likewise.
41372         (nscd_avc_init): Likewise.
41373         * nscd/nscd.c (parent_fd): New static variable.
41374         (main): Create a pipe between parent and child processes.
41375         Skip closing parent_fd.
41376         (monitor_child): New function.
41377         (do_exit): Likewise.
41378         (notify_parent): Likewise.
41379         * nscd/nscd.h (notify_parent): Likewise.
41380         (do_exit): Likewise.
41382 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41384         * malloc/malloc.c (__libc_calloc): Revert last change.
41386 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41390 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41392         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41394         implementation.
41395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41396         (__libc_ifunc_impl_list): Likewise.
41397         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41398         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41399         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41400         * string/strrchr.c: Define STRRCHR.
41402 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41404         * benchtest/bench-strtok.c (simple_strtok): Delete.
41405         (strtok_string): Use as benchmark.
41406         * string/strtok (STRTOK): New macro.
41408 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41410         * manual/threads.texi: Add header and standard comments to all
41411         functions.
41413         * elf/dl-lookup.c (check_match): New function.
41414         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41415         (do_lookup_x): Remove nested function check_match. Use non-nested
41416         function check_match.
41418 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41420         * csu/Makefile (generated, before-compile): Use += rather than =.
41421         * catgets/Makefile (generated, generated-dirs): Likewise.
41422         * debug/Makefile (generated): Likewise.
41423         * dlfcn/Makefile (generated): Likewise.
41424         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41425         * iconvdata/Makefile (before-compile, generated): Likewise.
41426         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41427         * libio/Makefile (generated): Likewise.
41428         * malloc/Makefile (generated): Likewise.
41429         * manual/Makefile (generated, generated-dirs): Likewise.
41430         * misc/Makefile (generated): Likewise.
41431         * posix/Makefile (generated): Likewise.
41432         * resolv/Makefile (generated): Likewise.
41433         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41434         * timezone/Makefile (generated, generated-dirs): Likewise.
41436         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41438 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41441         power8 implementation.
41442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41443         file: POWER8 llround ifunc implementation.
41444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41445         (__lllround): Add POWER8 implementation.
41446         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41447         POWER8 llround implementation.
41449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41450         power8 implementation.
41451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41452         file: POWER8 llrint ifunc implementation.
41453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41454         Add POWER8 implementation.
41455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41456         POWER8 llrint implementation.
41458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41459         power8 implementation.
41460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41461         file: POWER8 finite ifunc implementation.
41462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41463         Add POWER8 implementation.
41464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41465         Likewise.
41466         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41467         POWER8 finite implementation.
41468         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41471         power8 implementation.
41472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41473         file: POWER8 isinf ifunc implementation.
41474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41475         POWER8 implementation.
41476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41477         Likewise.
41478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41479         isinf implementation.
41480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41483         (INIT_ARCH): Add hwcap2 initialization.
41484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41485         power8 implementation.
41486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41487         file: POWER8 isnan ifunc implementation.
41488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41489         POWER8 implementation.
41490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41491         Likewise.
41492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41493         isnan implementation.
41494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41496 2014-02-27  Joey Ye  <joey.ye@arm.com>
41498         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41499         (_FP_NANFRAC_Q): Set to zero.
41501 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41503         [BZ #16623]
41504         * math/auto-libm-test-in: New test inputs.
41505         * math/auto-libm-test-out: Regenerate.
41506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41507         and DA.
41508         (__cos): Likewise.
41509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41511 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41513         * scripts/evaluate-test.sh: Take new argument indicating whether
41514         failure is expected.
41515         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41516         indicating whether failure is expected.
41517         * conform/Makefile (test-xfail-run-conformtest): New variable.
41518         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41519         level.
41520         * posix/Makefile (test-xfail-annexc): New variable.
41521         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41523 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41525         * argp/Makefile: Include Makeconfig immediately after defining
41526         subdir.
41527         * assert/Makefile: Likewise.
41528         * benchtests/Makefile: Likewise.
41529         * catgets/Makefile: Likewise.
41530         * conform/Makefile: Likewise.
41531         * crypt/Makefile: Likewise.
41532         * csu/Makefile: Likewise.
41533         (all): Remove target.
41534         * ctype/Makefile: Include Makeconfig immediately after defining
41535         subdir.
41536         * debug/Makefile: Likewise.
41537         * dirent/Makefile: Likewise.
41538         * dlfcn/Makefile: Likewise.
41539         * gmon/Makefile: Likewise.
41540         * gnulib/Makefile: Likewise.
41541         * grp/Makefile: Likewise.
41542         * gshadow/Makefile: Likewise.
41543         * hesiod/Makefile: Likewise.
41544         * hurd/Makefile: Likewise.
41545         (all): Remove target.
41546         * iconvdata/Makefile: Include Makeconfig immediately after
41547         defining subdir.
41548         * inet/Makefile: Likewise.
41549         * intl/Makefile: Likewise.
41550         * io/Makefile: Likewise.
41551         * libio/Makefile: Likewise.
41552         (all): Remove target.
41553         * locale/Makefile: Include Makeconfig immediately after defining
41554         subdir.
41555         * login/Makefile: Likewise.
41556         * mach/Makefile: Likewise.
41557         (all): Remove target.
41558         * malloc/Makefile: Include Makeconfig immediately after defining
41559         subdir.
41560         (all): Remove target.
41561         * manual/Makefile: Include Makeconfig immediately after defining
41562         subdir.
41563         * math/Makefile: Likewise.
41564         * misc/Makefile: Likewise.
41565         * nis/Makefile: Likewise.
41566         * nss/Makefile: Likewise.
41567         * po/Makefile: Likewise.
41568         (all): Remove target.
41569         * posix/Makefile: Include Makeconfig immediately after defining
41570         subdir.
41571         * pwd/Makefile: Likewise.
41572         * resolv/Makefile: Likewise.
41573         * resource/Makefile: Likewise.
41574         * rt/Makefile: Likewise.
41575         * setjmp/Makefile: Likewise.
41576         * shadow/Makefile: Likewise.
41577         * signal/Makefile: Likewise.
41578         * socket/Makefile: Likewise.
41579         * soft-fp/Makefile: Likewise.
41580         * stdio-common/Makefile: Likewise.
41581         * stdlib/Makefile: Likewise.
41582         * streams/Makefile: Likewise.
41583         * string/Makefile: Likewise.
41584         * sunrpc/Makefile: Likewise.
41585         (all): Remove target.
41586         * sysvipc/Makefile: Include Makeconfig immediately after defining
41587         subdir.
41588         * termios/Makefile: Likewise.
41589         * time/Makefile: Likewise.
41590         * timezone/Makefile: Likewise.
41591         (all): Remove target.
41592         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41593         subdir.
41594         * wctype/Makefile: Likewise.
41596 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41598         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41599         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41600         (libc_feholdexcept_setround_mips): Ditto.
41601         (libc_feholdsetround): New.
41602         (libc_feholdsetroundf): New.
41603         (libc_feholdsetroundl): New.
41604         (libc_feupdateenv_test_mips): New.
41605         (libc_feupdateenv_test): New.
41606         (libc_feupdateenv_testf): New.
41607         (libc_feupdateenv_testl): New.
41608         (libc_feresetround): New.
41609         (libc_feresetroundf): New.
41610         (libc_feresetroundl): New.
41611         (libc_fetestexcept_mips): New.
41612         (libc_fetestexcept): New.
41613         (libc_fetestexceptf): New.
41614         (libc_fetestexceptl): New.
41615         (HAVE_RM_CTX): New.
41616         (libc_feholdexcept_setround_mips_ctx): New.
41617         (libc_feholdexcept_setround_ctx): New.
41618         (libc_feholdexcept_setroundf_ctx): New.
41619         (libc_feholdexcept_setroundl_ctx): New.
41620         (libc_fesetenv_mips_ctx): New.
41621         (libc_fesetenv_ctx): New.
41622         (libc_fesetenv_ctxf): New.
41623         (libc_fesetenv_ctxl): New.
41624         (libc_feupdateenv_mips_ctx): New.
41625         (libc_feupdateenv_ctx): New.
41626         (libc_feupdateenvf_ctx): New.
41627         (libc_feupdateenvl_ctx): New.
41628         (libc_feholdsetround_mips_ctx): New.
41629         (libc_feholdsetround_ctx): New.
41630         (libc_feholdsetroundf_ctx): New.
41631         (libc_feholdsetroundl_ctx): New.
41632         (libc_feresetround_mips_ctx): New.
41633         (libc_feresetround_ctx): New.
41634         (libc_feresetroundf_ctx): New.
41635         (libc_feresetroundl_ctx): New.
41637 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41639         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41641         * manual/ipc.texi: New file.
41642         * manual/Makefile (chapters): Add ipc.
41643         * manual/job.texi: Add "Inter-Process Communication" to next.
41644         * manual/process.texi: Add "Inter-Process Communication" to prev.
41646 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41650 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41652         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41654         * manual/arith.texi: Fix spaces after sentences.
41655         * manual/charset.texi: Likewise.
41656         * manual/errno.texi: Likewise.
41657         * manual/install.texi: Likewise.
41658         * manual/llio.texi: Likewise.
41659         * manual/locale.texi: Likewise.
41660         * manual/maint.texi: Likewise.
41661         * manual/math.texi: Likewise.
41662         * manual/memory.texi: Likewise.
41663         * manual/message.texi: Likewise.
41664         * manual/probes.texi: Likewise.
41665         * manual/resource.texi: Likewise.
41666         * manual/signal.texi: Likewise.
41667         * manual/socket.texi: Likewise.
41668         * manual/stdio.texi: Likewise.
41669         * manual/string.texi: Likewise.
41670         * manual/time.texi: Likewise.
41671         * manual/users.texi: Likewise.
41673 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41675         [BZ #16632]
41676         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41677         _DEFAULT_SOURCE is defined.
41679 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41680             Carlos O'Donell  <carlos@redhat.com>
41682         [BZ #16613]
41683         * elf/dl-tls.c (_dl_count_modids): New function.
41684         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41685         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41686         audit library and increment generation counter.
41687         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41688         * elf/tst-audit9.c: New file.
41689         * elf/tst-auditmod9a.c: New file.
41690         * elf/tst-auditmod9b.c: New file.
41691         * elf/Makefile: Add rules to build and run tst-audit9.
41693 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41695         [BZ #15347]
41696         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41698 2014-02-25  Will Newton  <will.newton@linaro.org>
41700         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41701         (__longjmp): Restore sp and lr before restoring callee
41702         saved registers.  Add longjmp and longjmp_target
41703         SystemTap probe point.
41704         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41705         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41706         Define to zero to match jmpbuf layout.
41707         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41708         (__sigsetjmp): Save sp and lr before saving callee
41709         saved registers.  Add setjmp SystemTap probe point.
41711 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41715 2014-02-24  Andreas Schwab  <schwab@suse.de>
41717         [BZ #15804]
41718         * elf/pldd.c (wait_for_ptrace_stop): New function.
41719         (main): Call it after attaching.
41721 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41723         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41724         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41725         Versions files is now verboten.
41726         * hurd/Versions (libc: GLIBC_2.0):
41727         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41728         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41729         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41730         * mach/Versions: Likewise.
41732         * csu/Versions: Remove unused %include.
41733         * resolv/Versions: Likewise.
41735 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41737         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41738         ($(objpfx)check-local-headers.out): Likewise.
41739         ($(objpfx)begin-end-check.out): Likewise.
41740         * Makerules (check-abi-%.out): Likewise.
41741         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41742         ($(objpfx)test2.cat): Likewise.
41743         ($(objpfx)de/libc.cat): Likewise.
41744         ($(objpfx)test-gencat.out): Likewise.
41745         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41746         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41747         ($(objpfx)noload-mem): Likewise.
41748         ($(objpfx)tst-pathopt.out): Likewise.
41749         ($(objpfx)tst-rtld-load-self.out): Likewise.
41750         ($(objpfx)tst-array1-cmp.out): Likewise.
41751         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41752         ($(objpfx)tst-array2-cmp.out): Likewise.
41753         ($(objpfx)tst-array3-cmp.out): Likewise.
41754         ($(objpfx)tst-array4-cmp.out): Likewise.
41755         ($(objpfx)tst-array5-cmp.out): Likewise.
41756         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41757         ($(objpfx)check-textrel.out): Likewise.
41758         ($(objpfx)check-execstack.out): Likewise.
41759         ($(objpfx)check-localplt.out): Likewise.
41760         ($(objpfx)order2-cmp.out): Likewise.
41761         ($(objpfx)tst-leaks1-mem): Likewise.
41762         ($(objpfx)tst-leaks1-static-mem): Likewise.
41763         ($(objpfx)tst-initorder-cmp.out): Likewise.
41764         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41765         ($(objpfx)tst-unused-dep.out): Likewise.
41766         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41767         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41768         * iconv/Makefile (test-iconvconfig): Likewise.
41769         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41770         ($(objpfx)iconv-test.out): Likewise.
41771         ($(objpfx)tst-tables.out): Likewise.
41772         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41773         ($(objpfx)tst-gettext.out): Likewise.
41774         ($(objpfx)tst-translit.out): Likewise.
41775         ($(objpfx)tst-gettext2.out): Likewise.
41776         ($(objpfx)tst-gettext4.out): Likewise.
41777         ($(objpfx)tst-gettext6.out): Likewise.
41778         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41779         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41780         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41781         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41782         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41783         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41784         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41785         ($(objpfx)wordexp-tst.out): Likewise.
41786         ($(objpfx)annexc.out): Likewise.
41787         ($(objpfx)tst-fnmatch-mem): Likewise.
41788         ($(objpfx)bug-regex2-mem): Likewise.
41789         ($(objpfx)bug-regex14-mem): Likewise.
41790         ($(objpfx)bug-regex21-mem): Likewise.
41791         ($(objpfx)bug-regex31-mem): Likewise.
41792         ($(objpfx)tst-vfork3-mem): Likewise.
41793         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41794         ($(objpfx)tst-pcre-mem): Likewise.
41795         ($(objpfx)tst-boost-mem): Likewise.
41796         ($(objpfx)tst-getconf.out): Likewise.
41797         ($(objpfx)bug-ga2-mem): Likewise.
41798         ($(objpfx)bug-glob2-mem): Likewise.
41799         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41800         ($(objpfx)mtrace-tst-leaks2): Likewise.
41801         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41802         ($(objpfx)tst-printf.out): Likewise.
41803         ($(objpfx)tst-setvbuf1.out): Likewise.
41804         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41805         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41806         ($(objpfx)tst-fmtmsg.out): Likewise.
41807         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41808         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41810         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41811         * bits/sigaction.h [__USE_MISC]: Likewise.
41812         * bits/waitstatus.h: Update #endif comments.
41813         * ctype/ctype.h: Likewise.
41814         * dirent/dirent.h: Likewise.
41815         [__USE_MISC]: Remove redundant conditionals.
41816         * grp/grp.h: Update #endif comments.
41817         [__USE_GNU]: Remove redundant conditionals.
41818         [__USE_MISC]: Likewise.
41819         * inet/netinet/in.h [__USE_GNU]: Likewise.
41820         * io/sys/stat.h [__USE_MISC]: Likewise.
41821         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41822         * libio/bits/stdio.h: Update #endif comments.
41823         [__USE_MISC]: Remove redundant conditionals.
41824         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41825         * libio/stdio.h: Update #endif comments.
41826         [__USE_MISC]: Remove redundant conditionals.
41827         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41828         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41829         * math/math.h: Update #else and #endif comments.
41830         [__USE_MISC]: Remove redundant conditionals.
41831         * misc/sys/uio.h: Update #endif comments.
41832         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41833         * posix/glob.h [__USE_MISC]: Likewise.
41834         * posix/sys/types.h: Update #endif comments.
41835         [__USE_MISC]: Remove redundant conditionals.
41836         * posix/sys/wait.h: Update #endif comments.
41837         [__USE_MISC]: Remove redundant conditionals.
41838         * posix/unistd.h: Update #endif comments.
41839         [__USE_MISC]: Remove redundant conditionals.
41840         * pwd/pwd.h [__USE_GNU]: Likewise.
41841         [__USE_MISC]: Likewise.
41842         * resolv/netdb.h [__USE_GNU]: Likewise.
41843         * signal/signal.h: Update #endif comments.
41844         [__USE_MISC]: Remove redundant conditionals.
41845         * stdlib/stdlib.h: Update #else and #endif comments.
41846         [__USE_MISC]: Remove redundant conditionals.
41847         [__USE_GNU]: Likewise.
41848         * string/bits/string2.h [__USE_MISC]: Likewise.
41849         * string/string.h: Update #endif comments.
41850         [__USE_MISC]: Remove redundant conditionals.
41851         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41852         Likewise.
41853         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41854         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41855         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41856         Likewise.
41857         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41858         Likewise.
41859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41860         comments.
41861         [__USE_MISC]: Remove redundant conditionals.
41862         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41863         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41864         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41865         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41866         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41867         Likewise.
41868         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41869         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41870         Likewise.
41871         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41872         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41873         Likewise.
41874         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41875         Likewise.
41876         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41877         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41878         Likewise.
41879         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41880         Likewise.
41881         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41882         * sysdeps/x86/bits/string.h: Update #endif comments.
41883         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41884         conditionals.
41885         * time/sys/time.h: Update #endif comments.
41886         * time/time.h: Likewise.
41887         [__USE_MISC]: Remove redundant conditionals.
41889 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41891         [BZ #16600]
41892         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41894 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41896         * Versions.def (librt): Add GLIBC_2.17.
41898 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41900         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41901         synonym for _SYS_AUXV_H to allow direct inclusion.
41902         * sysdeps/sparc/bits/hwcap.h: Likewise.
41903         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41904         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41905         * sysdeps/sparc/sysdep.h: Likewise.
41907 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41909         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41911 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41913         * benchtests/bench-strrchr.c: Print length instead of position.
41915 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41917         [BZ #16611]
41918         * sysdeps/unix/sysv/linux/kernel-features.h
41919         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41920         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41921         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41922         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41923         Likewise.
41924         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41925         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41926         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41927         (__ASSUME_SENDMMSG): Define instead of using previous
41928         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41929         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41930         (__ASSUME_SENDMMSG_SYSCALL): Define.
41931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41932         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41933         Likewise.
41934         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41935         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41936         Likewise.
41937         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41938         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41939         Likewise.
41940         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41941         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41942         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41943         [__ASSUME_SENDMMSG]: Change conditionals to
41944         [__ASSUME_SENDMMSG_SOCKETCALL].
41945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41946         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41947         Define.
41948         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41949         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41950         Likewise.
41951         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41952         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41953         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41954         [!__ASSUME_SENDMMSG]: Change conditional to
41955         [!__ASSUME_SENDMMSG_SOCKETCALL].
41956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41957         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41958         Define.
41960         [BZ #16610]
41961         * sysdeps/unix/sysv/linux/kernel-features.h
41962         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41963         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41964         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41965         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41966         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41967         [__i386__ || __sparc__]
41968         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41969         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41970         (__ASSUME_RECVMMSG): Define instead of using previous
41971         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41972         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41973         (__ASSUME_RECVMMSG_SYSCALL): Define.
41974         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41975         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41976         Likewise.
41977         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41979         Likewise.
41980         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41982         Likewise.
41983         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41984         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41985         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41986         [__ASSUME_RECVMMSG]: Change condition to
41987         [__ASSUME_RECVMMSG_SOCKETCALL].
41988         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41989         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41990         Define.
41991         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41993         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41994         Likewise.
41995         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41996         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41997         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41998         [!__ASSUME_RECVMMSG]: Change condition to
41999         [!__ASSUME_RECVMMSG_SOCKETCALL].
42000         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42001         (__ASSUME_RECVMMSG_SYSCALL): Define.
42003         [BZ #16609]
42004         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42005         __powerpc__ || __s390__ || __sh__ || __sparc__]
42006         (__ASSUME_SOCKETCALL): Define.
42007         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42008         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42009         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42010         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42011         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42012         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42013         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42014         (__ASSUME_ACCEPT4): Define instead of using previous
42015         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42016         __powerpc__ || __sparc__ || __s390__)] condition.
42017         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42018         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42019         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42020         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42021         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42022         [!__ASSUME_ACCEPT4]: Change condition to
42023         [!__ASSUME_ACCEPT4_SOCKETCALL].
42024         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42025         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42026         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42028         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42029         __ASSUME_ACCEPT4_SYSCALL.
42030         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42031         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42033         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42034         __ASSUME_ACCEPT4_SYSCALL.
42035         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42036         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42037         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42038         [__ASSUME_ACCEPT4]: Change condition to
42039         [__ASSUME_ACCEPT4_SOCKETCALL].
42040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42041         (__ASSUME_SOCKETCALL): Define.
42042         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42044         (__ASSUME_SOCKETCALL): Define.
42045         (__ASSUME_ACCEPT4): Remove.
42046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42047         Define.
42048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42049         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42050         Likewise.
42051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42052         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42054         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42055         macro.
42056         (HWCAP_ARM_LPAE): Likewise.
42057         (HWCAP_ARM_EVTSTRM): Likewise.
42058         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42059         Add vpfd32, lpae and evtstrm.
42060         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42061         Increase to 22.
42063 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42065         * math/auto-libm-test-in: Add tests of clog10.
42066         * math/auto-libm-test-out: Regenerated.
42067         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42068         * sysdeps/i386/fpu/libm-test-ulps: Update.
42069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42071 2014-02-18  Andreas Schwab  <schwab@suse.de>
42073         [BZ #16574]
42074         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42075         Store non-zero if the second buffer was newly allocated.
42076         (send_dg): Likewise.
42077         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42078         to send_vc and send_dg.
42079         (res_nsend): Pass NULL for ansp2_malloced.
42080         * resolv/res_query.c (__libc_res_nquery): Add parameter
42081         answerp2_malloced and pass it down to __libc_res_nsend.
42082         (res_nquery): Pass additional NULL to __libc_res_nquery.
42083         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42084         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42085         second answer buffer if answerp2_malloced was set.
42086         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42087         (__libc_res_nquerydomain): Add parameter
42088         answerp2_malloced and pass it down to __libc_res_nquery.
42089         (res_nquerydomain): Pass additional NULL to
42090         __libc_res_nquerydomain.
42091         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42092         additional NULL to __libc_res_nsend and __libc_res_nquery.
42093         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42094         additional NULL to __libc_res_nsearch.
42095         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42096         parameter of __libc_res_nsearch to check for separately allocated
42097         second buffer.
42098         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42099         __libc_res_nquery.
42100         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42101         additional NULL to __libc_res_nquery.
42102         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42103         __libc_res_nsearch.
42104         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42105         * include/resolv.h: Update prototypes of __libc_res_nquery,
42106         __libc_res_nsearch, __libc_res_nsend.
42108 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42110         * math/auto-libm-test-in: Add tests of fma.
42111         * math/auto-libm-test-out: Regenerated.
42112         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42113         (fma_towardzero_test_data): Likewise.
42114         (fma_downward_test_data): Likewise.
42115         (fma_upward_test_data): Likewise.
42116         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42117         mpc_mode.
42118         (rounding_modes): Add values for new field.
42119         (func_calc_method): Add value mpfr_fff_f.
42120         (func_calc_desc): Add mpfr_fff_f union field.
42121         (test_function): Add field exact_args.
42122         (FUNC): Add macro argument EXACT_ARGS.
42123         (FUNC_mpfr_f_f): Update call to FUNC.
42124         (FUNC_mpfr_f_f): Likewise.
42125         (FUNC_mpfr_ff_f): Likewise.
42126         (FUNC_mpfr_if_f): Likewise.
42127         (FUNC_mpc_c_f): Likewise.
42128         (FUNC_mpc_c_c): Likewise.
42129         (test_functions): Add fma.  Update calls to FUNC.
42130         (handle_input_arg): Add argument exact_args.
42131         (add_test): Update call to handle_input_arg.
42132         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42133         (output_for_one_input_case): Update call to calc_generic_results.
42134         Recalculate exact zero results in each rounding mode.
42136         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42137         non-negative before setting low bit.
42138         * math/auto-libm-test-in: Mark one asin test possibly having
42139         spurious underflow.
42140         * math/auto-libm-test-out: Regenerated.
42141         * sysdeps/i386/fpu/libm-test-ulps: Update.
42142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42144 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42146         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42147         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42148         ports/sysdeps/unix/sysv/linux/microblaze.
42149         * README: Add missing listing for microblaze*-*-linux-gnu.
42151 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42153         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42154         duplicate code
42156 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42158         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42159         * sysdeps/unix/sysv/linux/ia64: Move directory from
42160         ports/sysdeps/unix/sysv/linux/ia64.
42161         * README: Update listing for ia64-*-linux-gnu.
42163 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42164             Joseph Myers  <joseph@codesourcery.com>
42166         * Makeconfig (test-name): New variable.
42167         (evaluate-test): Likewise.
42168         * Makerules (do-test-clean): Remove .test-result files.
42169         (common-mostlyclean): Likewise.
42170         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42171         * scripts/evaluate-test.sh: New file.
42173 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42175         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42176         separate $(objpfx)tst-fopenloc-cmp.out and
42177         $(objpfx)tst-fopenloc-mem.out targets.
42178         (tests): Update dependencies.
42179         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42180         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42181         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42182         (tst-rxspencer-no-utf8-ARGS): New variable.
42183         (tst-rxspencer-no-utf8-ENV): Likewise.
42184         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42185         instead of $(objpfx)tst-rxspencer-mem.
42186         ($(objpfx)tst-rxspencer-mem): Change target to
42187         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42188         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42189         * posix/tst-rxspencer-no-utf8.c: New file.
42191         * elf/Makefile ($(objpfx)order.out): Remove rule.
42192         [$(run-built-tests) = yes] (tests): Depend on
42193         $(objpfx)order-cmp.out.
42194         ($(objpfx)order-cmp.out): New rule.
42195         [$(run-built-tests) = yes] (tests): Depend on
42196         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42197         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42198         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42199         $(objpfx)tst-array5-static-cmp.out.
42200         ($(objpfx)tst-array1.out): Remove rule.
42201         ($(objpfx)tst-array1-cmp.out): New rule.
42202         ($(objpfx)tst-array1-static.out): Remove rule.
42203         ($(objpfx)tst-array1-static-cmp.out): New rule.
42204         ($(objpfx)tst-array2.out): Remove rule.
42205         ($(objpfx)tst-array2-cmp.out): New rule.
42206         ($(objpfx)tst-array3.out): Remove rule.
42207         ($(objpfx)tst-array3-cmp.out): New rule.
42208         ($(objpfx)tst-array4.out): Remove rule.
42209         ($(objpfx)tst-array4-cmp.out): New rule.
42210         ($(objpfx)tst-array5.out): Remove rule.
42211         ($(objpfx)tst-array5-cmp.out): New rule.
42212         ($(objpfx)tst-array5-static.out): Remove rule.
42213         ($(objpfx)tst-array5-static-cmp.out): New rule.
42214         [$(run-built-tests) = yes] (tests): Depend on
42215         $(objpfx)order2-cmp.out.
42216         ($(objpfx)order2.out): Remove rule.
42217         ($(objpfx)order2-cmp.out): New rule.
42218         ($(objpfx)tst-initorder.out): Remove rule.
42219         [$(run-built-tests) = yes] (tests): Depend on
42220         $(objpfx)tst-initorder-cmp.out.
42221         ($(objpfx)tst-initorder-cmp.out): New rule.
42222         ($(objpfx)tst-initorder2.out): Remove rule.
42223         [$(run-built-tests) = yes] (tests): Depend on
42224         $(objpfx)tst-initorder2-cmp.out.
42225         ($(objpfx)tst-initorder2-cmp.out): New rule.
42226         [$(run-built-tests) = yes] (tests): Depend on
42227         $(objpfx)tst-unused-dep-cmp.out.
42228         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42229         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42230         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42231         on $(objpfx)tst-setvbuf1-cmp.out.
42232         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42233         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42234         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42235         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42236         ($(objpfx)tst-svc.out): Remove rule.
42237         ($(objpfx)tst-svc-cmp.out): New rule.
42239 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42241         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42242         * ctype/ctype.h [__USE_MISC]: Likewise.
42243         * dirent/dirent.h [__USE_MISC]: Likewise.
42244         * grp/grp.h [__USE_MISC]: Likewise.
42245         * io/fcntl.h [__USE_MISC]: Likewise.
42246         * io/sys/stat.h [__USE_MISC]: Likewise.
42247         * libio/stdio.h [__USE_MISC]: Likewise.
42248         * posix/unistd.h [__USE_MISC]: Likewise.
42249         * pwd/pwd.h [__USE_MISC]: Likewise.
42250         * stdlib.h [__USE_MISC]: Likewise.
42251         * string/bits/string2.h [__USE_MISC]: Likewise.
42252         * string/string.h [__USE_MISC]: Likewise.
42253         * time/time.h [__USE_MISC]: Likewise.
42255 2014-02-13  Andreas Schwab  <schwab@suse.de>
42257         [BZ #16574]
42258         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42259         second answer buffer if it was separately allocated.
42261 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42263         * sysdeps/mips/math-tests.h: Include <features.h>.
42264         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42265         (ROUNDING_TESTS_long_double): Do not define.
42266         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42267         (EXCEPTION_TESTS_long_double): Likewise.
42268         * sysdeps/mips/mips64/libm-test-ulps: Update.
42270         * include/features.h (__USE_BSD): Remove macro definitions.
42271         (__USE_SVID): Likewise.
42272         (_BSD_SOURCE): Likewise.
42273         (_SVID_SOURCE): Likewise.
42274         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42275         from definition of _DEFAULT_SOURCE.
42276         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42277         [_DEFAULT_SOURCE].
42278         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42279         * bits/mman.h [__USE_BSD]: Likewise.
42280         * bits/termios.h [__USE_BSD]: Likewise.
42281         * bits/waitstatus.h [__USE_BSD]: Likewise.
42282         * ctype/ctype.h [__USE_SVID]: Likewise.
42283         * dirent/dirent.h [__USE_BSD]: Likewise.
42284         * grp/grp.h [__USE_SVID]: Likewise.
42285         [__USE_BSD]: Likewise.
42286         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42287         * io/fcntl.h [__USE_BSD]: Likewise.
42288         * io/ftw.h [__USE_BSD]: Likewise.
42289         * io/sys/stat.h [__USE_BSD]: Likewise.
42290         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42291         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42292         * libio/stdio.h [__USE_SVID]: Likewise.
42293         [__USE_BSD]: Likewise.
42294         * math/math.h [__USE_SVID]: Likewise.
42295         [__USE_BSD]: Likewise.
42296         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42297         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42298         * misc/search.h [__USE_SVID]: Likewise.
42299         * misc/sys/mman.h [__USE_BSD]: Likewise.
42300         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42301         * misc/sys/uio.h [__USE_BSD]: Likewise.
42302         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42303         * posix/glob.h [__USE_BSD]: Likewise.
42304         * posix/regex.h [__USE_BSD]: Likewise.
42305         * posix/sys/types.h [__USE_BSD]: Likewise.
42306         [__USE_SVID]: Likewise.
42307         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42308         * posix/sys/wait.h [__USE_BSD]: Likewise.
42309         [__USE_SVID]: Likewise.
42310         * posix/unistd.h [__USE_BSD]: Likewise.
42311         [__USE_SVID]: Likewise.
42312         * pwd/pwd.h [__USE_SVID]: Likewise.
42313         * resolv/netdb.h [__USE_BSD]: Likewise.
42314         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42315         * signal/signal.h [__USE_BSD]: Likewise.
42316         [__USE_SVID]: Likewise.
42317         * socket/sys/socket.h [__USE_BSD]: Likewise.
42318         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42319         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42320         [__USE_SVID]: Likewise.
42321         * string/bits/string2.h [__USE_BSD]: Likewise.
42322         [__USE_SVID]: Likewise.
42323         * string/bits/string3.h [__USE_BSD]: Likewise.
42324         * string/endian.h [__USE_BSD]: Likewise.
42325         * string/string.h [__USE_SVID]: Likewise.
42326         [__USE_BSD]: Likewise.
42327         * string/strings.h [__USE_BSD]: Likewise.
42328         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42329         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42330         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42331         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42332         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42333         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42334         Likewise.
42335         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42336         Likewise.
42337         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42338         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42339         Likewise.
42340         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42341         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42342         Likewise.
42343         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42344         Likewise.
42345         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42346         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42348         Likewise.
42349         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42350         Likewise.
42351         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42352         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42353         * termios/termios.h [__USE_BSD]: Likewise.
42354         * time/sys/time.h [__USE_BSD]: Likewise.
42355         * time/time.h [__USE_BSD]: Likewise.
42356         [__USE_SVID]: Likewise.
42358         * Makefile (subdir_targets): Remove subdir_lint.out.
42360         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42361         (do-tst-printf): Likewise.
42362         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42363         $(objpfx)tst-printf.out.
42365         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42367         * Makerules (check-abi-%): Change target to
42368         $(objpfx)check-abi-%.out.
42369         (check-abi target): Update dependencies.
42370         (check-abi-pattern variable): Redirect output of diff to $@.
42371         (check-abi variable): Likewise.
42372         * elf/Makefile (check-abi): Update dependencies.
42374         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42375         unused.
42376         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42377         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42378         subnormal range.
42379         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42380         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42381         value has largest subnormal exponent.
42382         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42383         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42384         * sysdeps/aarch64/soft-fp/sfp-machine.h
42385         (_FP_TININESS_AFTER_ROUNDING): New macro.
42386         * sysdeps/alpha/soft-fp/sfp-machine.h
42387         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42388         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42389         Likewise.
42390         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42391         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42392         * sysdeps/mips/soft-fp/sfp-machine.h
42393         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42394         * sysdeps/powerpc/soft-fp/sfp-machine.h
42395         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42396         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42397         Likewise.
42398         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42399         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42400         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42401         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42402         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42403         Likewise.
42405 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42407         [BZ #16545]
42408         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42409         model 1.
42411 2014-02-12  Richard Henderson  <rth@redhat.com>
42413         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42414         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42415         * sysdeps/unix/sysv/linux/alpha: Move directory from
42416         ports/sysdeps/unix/sysv/linux/alpha.
42417         * README: Update listing for alpha-*-linux-gnu.
42419 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42421         * include/features.h: Update comment documenting feature test
42422         macros.
42423         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42424         _DEFAULT_SOURCE.
42425         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42426         (_SVID_SOURCE): Likewise.
42427         (_DEFAULT_SOURCE): Update description of default features.
42428         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42429         with _GNU_SOURCE.
42430         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42431         (S_ISVTX): Likewise.
42432         * manual/math.texi (Mathematical Constants): Likewise.
42433         * manual/signal.texi (Interrupted Primitives): Likewise.
42434         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42435         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42436         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42437         Don't refer to _SVID_SOURCE in warning text.
42439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42441         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42442         already defined.
42443         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42444         * sysdeps/mips/dl-lookup.c: Remove.
42445         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42447 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42449         [BZ #16447]
42450         * math/auto-libm-test-in: Add testcase for expl.
42451         * math/auto-libm-test-out: Regenerate.
42452         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42453         calculation of unsafe.
42454         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42456 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42458         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42459         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42460         ports/sysdeps/unix/sysv/linux/aarch64.
42461         * README: Update listing for aarch64*-*-linux-gnu.
42463 2014-02-11  Will Newton  <will.newton@linaro.org>
42465         * manual/probes.texi (Mathematical Function Probes): Use
42466         "triggered" instead of "hit".
42468         * manual/probes.texi (Internal Probes): Add documentation
42469         of setjmp, longjmp and longjmp_target probes.
42471         * include/stap-probe.h: Add comment about probe argument
42472         format.
42474         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42475         definition.  (tr_where, tr_freehook, tr_mallochook,
42476         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42478 2014-02-11  David S. Miller  <davem@davemloft.net>
42480         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42481         processing int_tests.
42483 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42485         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42486         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42487         * sysdeps/unix/sysv/linux/mips: Move directory from
42488         ports/sysdeps/unix/sysv/linux/mips.
42489         * README: Update listing for mips-*-linux-gnu and
42490         mips64-*-linux-gnu.
42492 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42494         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42495         * sysdeps/unix/sysv/linux/m68k: Move directory from
42496         ports/sysdeps/unix/sysv/linux/m68k.
42497         * README: Update listing for m68k-*-linux-gnu.
42499 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42501         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42502         * sysdeps/unix/sysv/linux/generic: Move directory from
42503         ports/sysdeps/unix/sysv/linux/generic.
42504         * sysdeps/unix/sysv/linux/tile: Move directory from
42505         ports/sysdeps/unix/sysv/linux/tile.
42506         * README: Update listing for tile*-*-linux-gnu.
42508 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42510         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42511         __builtin_expect.
42512         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42513         * catgets/open_catalog.c (__open_catalog): Likewise.
42514         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42515         * debug/confstr_chk.c: Likewise.
42516         * debug/fread_chk.c (__fread_chk): Likewise.
42517         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42518         * debug/getgroups_chk.c: Likewise.
42519         * debug/mbsnrtowcs_chk.c: Likewise.
42520         * debug/mbsrtowcs_chk.c: Likewise.
42521         * debug/mbstowcs_chk.c: Likewise.
42522         * debug/memcpy_chk.c: Likewise.
42523         * debug/memmove_chk.c: Likewise.
42524         * debug/mempcpy_chk.c: Likewise.
42525         * debug/memset_chk.c: Likewise.
42526         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42527         * debug/strcat_chk.c (__strcat_chk): Likewise.
42528         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42529         * debug/strncat_chk.c (__strncat_chk): Likewise.
42530         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42531         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42532         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42533         * debug/wcpncpy_chk.c: Likewise.
42534         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42535         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42536         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42537         * debug/wcsncpy_chk.c: Likewise.
42538         * debug/wcsnrtombs_chk.c: Likewise.
42539         * debug/wcsrtombs_chk.c: Likewise.
42540         * debug/wcstombs_chk.c: Likewise.
42541         * debug/wmemcpy_chk.c: Likewise.
42542         * debug/wmemmove_chk.c: Likewise.
42543         * debug/wmempcpy_chk.c: Likewise.
42544         * debug/wmemset_chk.c: Likewise.
42545         * dirent/scandirat.c (SCANDIRAT): Likewise.
42546         * dlfcn/dladdr1.c (dladdr1): Likewise.
42547         * dlfcn/dladdr.c (dladdr): Likewise.
42548         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42549         * dlfcn/dlerror.c (__dlerror): Likewise.
42550         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42551         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42552         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42553         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42554         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42555         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42556         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42557         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42558         Likewise.
42559         * elf/dl-conflict.c: Likewise.
42560         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42561         * elf/dl-dst.h: Likewise.
42562         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42563         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42564         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42565         * elf/dl-init.c (call_init, _dl_init): Likewise.
42566         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42567         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42568         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42569         Likewise.
42570         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42571         Likewise.
42572         * elf/dl-minimal.c (__libc_memalign): Likewise.
42573         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42574         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42575         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42576         * elf/dl-sym.c (do_sym): Likewise.
42577         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42578         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42579         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42580         * elf/dl-writev.h (_dl_writev): Likewise.
42581         * elf/ldconfig.c (search_dir): Likewise.
42582         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42583         (dl_main): Likewise.
42584         * elf/setup-vdso.h (setup_vdso): Likewise.
42585         * grp/compat-initgroups.c (compat_call): Likewise.
42586         * grp/fgetgrent.c (fgetgrent): Likewise.
42587         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42588         * grp/putgrent.c (putgrent): Likewise.
42589         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42590         Likewise.
42591         * hurd/hurdinit.c: Likewise.
42592         * iconvdata/8bit-gap.c (struct): Likewise.
42593         * iconvdata/ansi_x3.110.c : Likewise.
42594         * iconvdata/big5.c : Likewise.
42595         * iconvdata/big5hkscs.c : Likewise.
42596         * iconvdata/cp1255.c: Likewise.
42597         * iconvdata/cp1258.c : Likewise.
42598         * iconvdata/cp932.c : Likewise.
42599         * iconvdata/euc-cn.c: Likewise.
42600         * iconvdata/euc-jisx0213.c : Likewise.
42601         * iconvdata/euc-jp.c: Likewise.
42602         * iconvdata/euc-jp-ms.c : Likewise.
42603         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42604         * iconvdata/gb18030.c : Likewise.
42605         * iconvdata/gbbig5.c (const): Likewise.
42606         * iconvdata/gbgbk.c: Likewise.
42607         * iconvdata/gbk.c : Likewise.
42608         * iconvdata/ibm1364.c : Likewise.
42609         * iconvdata/ibm930.c : Likewise.
42610         * iconvdata/ibm932.c: Likewise.
42611         * iconvdata/ibm933.c : Likewise.
42612         * iconvdata/ibm935.c : Likewise.
42613         * iconvdata/ibm937.c : Likewise.
42614         * iconvdata/ibm939.c : Likewise.
42615         * iconvdata/ibm943.c: Likewise.
42616         * iconvdata/iso_11548-1.c: Likewise.
42617         * iconvdata/iso-2022-cn.c : Likewise.
42618         * iconvdata/iso-2022-cn-ext.c : Likewise.
42619         * iconvdata/iso-2022-jp-3.c: Likewise.
42620         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42621         * iconvdata/iso-2022-kr.c : Likewise.
42622         * iconvdata/iso646.c (gconv_end): Likewise.
42623         * iconvdata/iso_6937-2.c : Likewise.
42624         * iconvdata/iso_6937.c : Likewise.
42625         * iconvdata/iso8859-1.c: Likewise.
42626         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42627         * iconvdata/shift_jisx0213.c : Likewise.
42628         * iconvdata/sjis.c : Likewise.
42629         * iconvdata/t.61.c : Likewise.
42630         * iconvdata/tcvn5712-1.c : Likewise.
42631         * iconvdata/tscii.c: Likewise.
42632         * iconvdata/uhc.c : Likewise.
42633         * iconvdata/unicode.c (gconv_end): Likewise.
42634         * iconvdata/utf-16.c (gconv_end): Likewise.
42635         * iconvdata/utf-32.c (gconv_end): Likewise.
42636         * iconvdata/utf-7.c (base64): Likewise.
42637         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42638         * iconv/gconv_close.c (__gconv_close): Likewise.
42639         * iconv/gconv_open.c (__gconv_open): Likewise.
42640         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42641         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42642         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42643         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42644         (ucs4le_internal_loop_single): Likewise.
42645         * iconv/iconv.c (iconv): Likewise.
42646         * iconv/iconv_close.c: Likewise.
42647         * iconv/loop.c (SINGLE): Likewise.
42648         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42649         * include/atomic.h: Likewise.
42650         * inet/inet6_option.c (option_alloc): Likewise.
42651         * intl/bindtextdom.c (set_binding_values): Likewise.
42652         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42653         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42654         * intl/localealias.c (read_alias_file): Likewise.
42655         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42656         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42657         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42658         * libio/fmemopen.c (fmemopen): Likewise.
42659         * libio/iofgets.c (_IO_fgets): Likewise.
42660         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42661         * libio/iofgetws.c (fgetws): Likewise.
42662         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42663         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42664         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42665         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42666         * locale/findlocale.c (_nl_find_locale): Likewise.
42667         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42668         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42669         Likewise.
42670         * locale/setlocale.c (setlocale): Likewise.
42671         * login/programs/pt_chown.c (main): Likewise.
42672         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42673         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42674         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42675         (mmap, mmap64, mremap, munmap): Likewise.
42676         * math/e_exp2l.c: Likewise.
42677         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42678         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42679         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42680         * math/s_catan.c (__catan): Likewise.
42681         * math/s_catanf.c (__catanf): Likewise.
42682         * math/s_catanh.c (__catanh): Likewise.
42683         * math/s_catanhf.c (__catanhf): Likewise.
42684         * math/s_catanhl.c (__catanhl): Likewise.
42685         * math/s_catanl.c (__catanl): Likewise.
42686         * math/s_ccosh.c (__ccosh): Likewise.
42687         * math/s_ccoshf.c (__ccoshf): Likewise.
42688         * math/s_ccoshl.c (__ccoshl): Likewise.
42689         * math/s_cexp.c (__cexp): Likewise.
42690         * math/s_cexpf.c (__cexpf): Likewise.
42691         * math/s_cexpl.c (__cexpl): Likewise.
42692         * math/s_clog10.c (__clog10): Likewise.
42693         * math/s_clog10f.c (__clog10f): Likewise.
42694         * math/s_clog10l.c (__clog10l): Likewise.
42695         * math/s_clog.c (__clog): Likewise.
42696         * math/s_clogf.c (__clogf): Likewise.
42697         * math/s_clogl.c (__clogl): Likewise.
42698         * math/s_csin.c (__csin): Likewise.
42699         * math/s_csinf.c (__csinf): Likewise.
42700         * math/s_csinh.c (__csinh): Likewise.
42701         * math/s_csinhf.c (__csinhf): Likewise.
42702         * math/s_csinhl.c (__csinhl): Likewise.
42703         * math/s_csinl.c (__csinl): Likewise.
42704         * math/s_csqrt.c (__csqrt): Likewise.
42705         * math/s_csqrtf.c (__csqrtf): Likewise.
42706         * math/s_csqrtl.c (__csqrtl): Likewise.
42707         * math/s_ctan.c (__ctan): Likewise.
42708         * math/s_ctanf.c (__ctanf): Likewise.
42709         * math/s_ctanh.c (__ctanh): Likewise.
42710         * math/s_ctanhf.c (__ctanhf): Likewise.
42711         * math/s_ctanhl.c (__ctanhl): Likewise.
42712         * math/s_ctanl.c (__ctanl): Likewise.
42713         * math/w_pow.c: Likewise.
42714         * math/w_powf.c: Likewise.
42715         * math/w_powl.c: Likewise.
42716         * math/w_scalb.c (sysv_scalb): Likewise.
42717         * math/w_scalbf.c (sysv_scalbf): Likewise.
42718         * math/w_scalbl.c (sysv_scalbl): Likewise.
42719         * misc/error.c (error_tail): Likewise.
42720         * misc/pselect.c (__pselect): Likewise.
42721         * nis/nis_callback.c (__nis_create_callback): Likewise.
42722         * nis/nis_call.c (__nisfind_server): Likewise.
42723         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42724         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42725         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42726         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42727         * nis/nis_lookup.c (nis_lookup): Likewise.
42728         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42729         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42730         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42731         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42732         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42733         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42734         * nis/nss_compat/compat-initgroups.c (add_group)
42735         (internal_getgrent_r): Likewise.
42736         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42737         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42738         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42739         (internal_getspnam_r): Likewise.
42740         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42741         (_nss_nis_getaliasbyname_r): Likewise.
42742         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42743         (_nss_nis_getntohost_r): Likewise.
42744         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42745         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42746         (_nss_nis_getgrgid_r): Likewise.
42747         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42748         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42749         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42750         (_nss_nis_gethostbyname4_r): Likewise.
42751         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42752         (initgroups_netid): Likewise.
42753         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42754         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42755         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42756         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42757         (_nss_nis_getprotobynumber_r): Likewise.
42758         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42759         (_nss_nis_getsecretkey): Likewise.
42760         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42761         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42762         (_nss_nis_getpwuid_r): Likewise.
42763         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42764         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42765         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42766         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42767         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42768         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42769         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42770         Likewise.
42771         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42772         (_nss_nisplus_getntohost_r): Likewise.
42773         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42774         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42775         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42776         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42777         Likewise.
42778         * nis/nss_nisplus/nisplus-initgroups.c
42779         (_nss_nisplus_initgroups_dyn): Likewise.
42780         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42781         (_nss_nisplus_getnetbyaddr_r): Likewise.
42782         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42783         (_nss_nisplus_getprotobynumber_r): Likewise.
42784         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42785         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42786         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42787         Likewise.
42788         * nis/nss_nisplus/nisplus-service.c
42789         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42790         (_nss_nisplus_getservbyport_r): Likewise.
42791         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42792         (_nss_nisplus_getspnam_r): Likewise.
42793         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42794         Likewise.
42795         * nscd/aicache.c (addhstaiX): Likewise.
42796         * nscd/cache.c (cache_search, prune_cache): Likewise.
42797         * nscd/connections.c (register_traced_file, send_ro_fd)
42798         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42799         (main_loop_epoll): Likewise.
42800         * nscd/grpcache.c (addgrbyX): Likewise.
42801         * nscd/hstcache.c (addhstbyX): Likewise.
42802         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42803         * nscd/mem.c (gc, mempool_alloc): Likewise.
42804         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42805         (addinnetgrX): Likewise.
42806         * nscd/nscd-client.h (__nscd_acquire_maplock)
42807         (__nscd_drop_map_ref): Likewise.
42808         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42809         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42810         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42811         Likewise.
42812         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42813         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42814         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42815         (__nscd_get_map_ref): Likewise.
42816         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42817         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42818         Likewise.
42819         * nscd/pwdcache.c (addpwbyX): Likewise.
42820         * nscd/selinux.c (preserve_capabilities): Likewise.
42821         * nscd/servicescache.c (addservbyX): Likewise.
42822         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42823         * posix/fnmatch.c (fnmatch): Likewise.
42824         * posix/getopt.c (_getopt_internal_r): Likewise.
42825         * posix/glob.c (glob, glob_in_dir): Likewise.
42826         * posix/wordexp.c (exec_comm_child): Likewise.
42827         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42828         (getanswer_r, gaih_getanswer_slice): Likewise.
42829         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42830         * resolv/res_init.c: Likewise.
42831         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42832         * resolv/res_query.c (__libc_res_nquery): Likewise.
42833         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42834         Likewise.
42835         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42836         * stdio-common/perror.c (perror): Likewise.
42837         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42838         * stdio-common/tmpnam.c (tmpnam): Likewise.
42839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42840         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42841         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42842         Likewise.
42843         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42844         * stdlib/putenv.c (putenv): Likewise.
42845         * stdlib/setenv.c (__add_to_environ): Likewise.
42846         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42847         * stdlib/strtol_l.c (INTERNAL): Likewise.
42848         * string/memmem.c (memmem): Likewise.
42849         * string/strerror.c (strerror): Likewise.
42850         * string/strnlen.c (__strnlen): Likewise.
42851         * string/test-memmem.c (simple_memmem): Likewise.
42852         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42853         * sunrpc/pm_getport.c (__get_socket): Likewise.
42854         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42855         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42856         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42857         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42858         Likewise.
42859         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42860         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42861         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42862         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42863         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42864         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42865         Likewise.
42866         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42867         Likewise.
42868         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42869         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42870         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42871         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42872         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42875         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42876         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42877         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42878         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42879         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42880         Likewise.
42881         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42882         Likewise.
42883         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42884         Likewise.
42885         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42887         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42888         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42889         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42891         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42892         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42895         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42897         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42898         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42900         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42901         Likewise.
42902         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42903         Likewise.
42904         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42905         Likewise.
42906         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42907         Likewise.
42908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42910         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42911         Likewise.
42912         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42913         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42914         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42915         * sysdeps/posix/sleep.c: Likewise.
42916         * sysdeps/posix/tempname.c: Likewise.
42917         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42918         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42919         Likewise.
42920         * sysdeps/powerpc/powerpc32/dl-machine.h
42921         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42924         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42925         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42926         Likewise.
42927         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42929         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42931         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42932         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42933         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42934         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42935         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42936         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42937         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42938         (elf_machine_lazy_rel): Likewise.
42939         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42941         (elf_machine_lazy_rel): Likewise.
42942         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42943         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42944         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42945         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42946         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42947         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42948         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42949         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42950         Likewise.
42951         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42952         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42953         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42954         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42955         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42956         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42957         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42958         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42960         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42961         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42962         Likewise.
42963         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42964         (__posix_fallocate64_l64): Likewise.
42965         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42966         (posix_fallocate): Likewise.
42967         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42968         Likewise.
42969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42970         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42971         (getifaddrs_internal): Likewise.
42972         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42973         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42974         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42975         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42976         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42977         (__posix_fallocate64_l64): Likewise.
42978         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42979         Likewise.
42980         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42982         (__get_clockfreq): Likewise.
42983         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42984         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42985         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42988         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42989         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42990         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42991         Likewise.
42992         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42993         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42994         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42995         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42996         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42997         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42998         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42999         Likewise.
43000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43001         (posix_fallocate): Likewise.
43002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43003         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43004         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43005         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43006         (elf_machine_rela, elf_machine_rela_relative)
43007         (elf_machine_lazy_rel): Likewise.
43008         * time/asctime.c (asctime_internal): Likewise.
43009         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43010         * time/tzset.c (__tzset_parse_tz): Likewise.
43011         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43012         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43013         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43014         * wcsmbs/wcsmbsload.h: Likewise.
43016         [BZ #15894]
43017         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43019         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43020         (arena_get2): Remove THREAD_STATS conditionals.
43021         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43022         (__malloc_stats, int): Likewise.
43024 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43026         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43027         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43029         * manual/setjmp.texi: Fix typos/grammar errors.
43031         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43032         Only return early when n is <= 0.  Delete unused return statement.
43034         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43035         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43036         * debug/tst-longjmp_chk3.c: New file.
43038         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43039         (test_main): Replace code with set_fortify_handler call.
43040         * debug/test-strcpy_chk.c: Likewise.
43041         * debug/tst-chk1.c: Likewise.
43042         * debug/tst-longjmp_chk.c: Likewise.
43043         * test-skeleton.c: Include fcntl.h & paths.h
43044         (set_fortify_handler): Define.
43046         * debug/tst-longjmp_chk.c: Add header comment and include
43047         ../test-skeleton.c.
43048         (do_test): Mark static.
43049         (TEST_FUNCTION): Define.
43051         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43052         (IP_PMTUDISC_INTERFACE): Likewise.
43053         (IP_MULTICAST_IF): Likewise.
43054         (IP_MULTICAST_TTL): Likewise.
43055         (IP_MULTICAST_LOOP): Likewise.
43056         (IP_ADD_MEMBERSHIP): Likewise.
43057         (IP_DROP_MEMBERSHIP): Likewise.
43058         (IP_UNBLOCK_SOURCE): Likewise.
43059         (IP_BLOCK_SOURCE): Likewise.
43060         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43061         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43062         (IP_MSFILTER): Likewise.
43063         (MCAST_JOIN_GROUP): Likewise.
43064         (MCAST_BLOCK_SOURCE): Likewise.
43065         (MCAST_UNBLOCK_SOURCE): Likewise.
43066         (MCAST_LEAVE_GROUP): Likewise.
43067         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43068         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43069         (MCAST_MSFILTER): Likewise.
43070         (IP_MULTICAST_ALL): Likewise.
43071         (IP_UNICAST_IF): Likewise.
43073         * timezone/Makefile: Delete $(have-ksh) check.
43074         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43075         * timezone/tzselect.ksh: Add +x mode bits.
43077         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43078         (ANON_INODE_FS_MAGIC): Likewise.
43079         (BDEVFS_MAGIC): Likewise.
43080         (BINFMTFS_MAGIC): Likewise.
43081         (BTRFS_TEST_MAGIC): Likewise.
43082         (CRAMFS_MAGIC_WEND): Likewise.
43083         (DEBUGFS_MAGIC): Likewise.
43084         (ECRYPTFS_SUPER_MAGIC): Likewise.
43085         (EXT3_SUPER_MAGIC): Likewise.
43086         (EXT4_SUPER_MAGIC): Likewise.
43087         (FUTEXFS_SUPER_MAGIC): Likewise.
43088         (HOSTFS_SUPER_MAGIC): Likewise.
43089         (HUGETLBFS_MAGIC): Likewise.
43090         (MINIX3_SUPER_MAGIC): Likewise.
43091         (MTD_INODE_FS_MAGIC): Likewise.
43092         (NILFS_SUPER_MAGIC): Likewise.
43093         (OPENPROM_SUPER_MAGIC): Likewise.
43094         (PIPEFS_MAGIC): Likewise.
43095         (PSTOREFS_MAGIC): Likewise.
43096         (QNX6_SUPER_MAGIC): Likewise.
43097         (RAMFS_MAGIC): Likewise.
43098         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43099         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43100         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43101         (SECURITYFS_MAGIC): Likewise.
43102         (SELINUX_MAGIC): Likewise.
43103         (SMACK_MAGIC): Likewise.
43104         (SOCKFS_MAGIC): Likewise.
43105         (SQUASHFS_MAGIC): Likewise.
43106         (STACK_END_MAGIC): Likewise.
43107         (TMPFS_MAGIC): Likewise.
43108         (USBDEVICE_SUPER_MAGIC): Likewise.
43109         (V9FS_MAGIC): Likewise.
43110         (XENFS_SUPER_MAGIC): Likewise.
43111         (CRAMFS_MAGIC): Fix typo in comment.
43112         (EXT2_SUPER_MAGIC): Update comment.
43113         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43115 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43117         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43118         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43119         * sysdeps/unix/sysv/linux/arm: Move directory from
43120         ports/sysdeps/unix/sysv/linux/arm.
43121         * README: Update listing for arm-*-linux-gnueabi.
43123         * README: Remove mention of am33.
43125 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43127         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43128         than the comma operator, to avoid "rhs of comma has no effect"
43129         compiler warnings.
43130         (__sigfillset, __sigandset, __sigorset): Likewise.
43131         * include/signal.h (__sigemptyset): Likewise.
43132         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43134 2014-02-07  Allan McRae  <allan@archlinux.org>
43136         * version.h (RELEASE): Set to "development".
43137         (VERSION): Set to "2.19.90"
43138         * NEWS: Add 2.20 section.
43140 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43142         [BZ #16529]
43143         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43145 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43147         * manual/contrib.texi: Update entry for Carlos O'Donell,
43148         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43150 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43152         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43154         * sysdeps/unix/sysv/linux/kernel-features.h
43155         [__LINUX_KERNEL_VERSION >= 0x020621]
43156         (__ASSUME_PROC_PID_TASK_COMM): Define.
43158 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43160         [BZ #16398]
43161         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43162         conversion when destination buffer does not have enough space.
43163         * libio/tst-ftell-partial-wide.c: New test case.
43164         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43166         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43167         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43168         Leonard and Allan McRae.
43170 2014-02-04  David S. Miller  <davem@davemloft.net>
43172         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43173         32-bit.
43175 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43178         New file
43179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43180         New file
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43182         New file.
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43184         New file.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43186         New file.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43188         New file.
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43190         New file.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43192         New file.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43194         New file.
43195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43196         New file.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43198         New file.
43199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43200         New file.
43201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43202         New file.
43204 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43206         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43207         * shlib-versions: Likewise.
43209 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43210             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43212         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43213         (abilist-pattern): New variable, set to %-le.abilist.
43215         * Makerules (abilist-pattern): New variable.
43216         (vpath): Use $(abilist-pattern) in place of %.abilist.
43217         (check-abi-% pattern rule): Likewise.
43218         (check-abi, update-abi): Likewise.
43220 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43224 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43226         * manual/startup.texi: Add next, previous, and top entries for
43227         the `Program Arguments' and `Environment Variables' nodes.
43229 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43231         * manual/macros.texi: Add comments before MTASC-safety macros.
43233         * manual/users.texi: Document MTASC-safety properties.
43235         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43236         (pthread_getspecific, pthread_setspecific): Format with
43237         @deftypefun, and add @safety note.
43238         * manual/signal.texi: Move comments that analyze the above
43239         functions to their home place.
43241 2014-02-03  Allan McRae  <allan@archlinux.org>
43243         * po/sl.po: Update Slovenian translation from translation project.
43245 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43247         * manual/time.texi (timegm): Add missing blank after @c.
43248         Reported by Joseph Myers <joseph@codesourcery.com>.
43250 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43252         * manual/check-safety.sh: New.
43253         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43255         * manual/terminal.texi: Document MTASC-safety properties.
43257         * manual/filesys.texi: Document MTASC-safety properties.
43259         * manual/errno.texi: Document MTASC-safety properties.
43261         * manual/intro.texi: Document safety identifiers and
43262         conditionals.
43264         * manual/string.texi (wcstok): Fix prototype.
43265         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43267         * manual/time.texi: Document MTASC-safety properties.
43269         * manual/string.texi: Document MTASC-safety properties.
43271         * manual/threads.texi: Document MTASC-safety properties.
43273         * manual/stdio.texi: Document MTASC-safety properties.
43275         * manual/syslog.texi: Document MTASC-safety properties.
43277         * manual/sysinfo.texi: Document MTASC-safety properties.
43279         * manual/startup.texi: Document MTASC-safety properties.
43281         * manual/socket.texi: Document MTASC-safety properties.
43283         * manual/signal.texi: Document MTASC-safety properties.
43285 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43287         * manual/setjmp.texi: Document MTASC-safety properties.
43289         * manual/search.texi: Document MTASC-safety properties.
43291         * manual/resource.texi: Document MTASC-safety properties.
43293         * manual/process.texi: Document MTASC-safety properties.
43295         * manual/platform.texi: Document MTASC-safety properties.
43297         * manual/pipe.texi: Document MTASC-safety properties.
43299         * manual/pattern.texi: Document MTASC-safety properties.
43301         * manual/message.texi: Document MTASC-safety properties.
43303         [BZ #12751]
43304         * manual/memory.texi: Document MTASC-safety properties.
43306         * manual/math.texi: Document MTASC-safety properties.
43308         * manual/locale.texi: Document MTASC-safety properties.
43310         * manual/llio.texi: Document MTASC-safety properties.
43312         * manual/libdl.texi: New.
43314         * manual/lang.texi: Document MTASC-safety properties.
43316         * manual/job.texi: Document MTASC-safety properties.
43318         * manual/getopt.texi: Document MTASC-safety properties.
43320         * manual/ctype.texi: Document MTASC-safety properties.
43322 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43324         [BZ #16046]
43325         * csu/libc-tls.c (static_map): Remove variable.
43326         (__libc_setup_tls): Use main executable's link map for TLS data.
43327         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43328         casing for LM_ID_BASE and GL(dl_nns).
43329         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43330         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43331         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43332         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43333         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43334         member.
43335         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43336         l_phnum members.
43338 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43340         * manual/debug.texi: Document MTASC-safety properties.
43342 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43344         [BZ #16510]
43345         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43346         of __x86_64__ when disabling x87 inline functions.
43348 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43350         * manual/charset.texi: Document MTASC-safety properties.
43352         * manual/crypt.texi: Document MTASC-safety properties.
43354         * manual/conf.texi: Document MTASC-safety properties.
43356         * manual/arith.texi: Document MTASC-safety properties.
43358         * manual/argp.texi: Document MTASC-safety properties.
43360         * manual/macros.texi: Introduce macros to document multi
43361         thread, asynchronous signal and asynchronous cancellation
43362         safety properties.
43363         * manual/intro.texi: Introduce the properties themselves.
43365 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43367         * sysdeps/sh/sh4/Makefile: New file.
43369 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43371         * math/gen-libm-test.pl ($srcdir): New variable.
43372         ($auto_input): Use it.
43374 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43376         [BZ #16506]
43377         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43378         access beyond array bounds when parsing netgroups file.
43380         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43381         the old buffer before realloc.
43383 2014-01-27  Allan McRae  <allan@archlinux.org>
43385         * po/fr.po: Update French translation from translation project.
43387 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43389         * sysdeps/sh/libm-test-ulps: Regenerate.
43391 2014-01-24  David S. Miller  <davem@davemloft.net>
43393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43395 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43397         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43398         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43400 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43402         [BZ #16474]
43403         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43404         string pointers after reallocation.
43406 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43408         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43409         __SH4A__ instead of __SH_FPU_ANY__.
43411 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43413         * sysdeps/sh/fpu_control.h: New file.
43414         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43415         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43416         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43417         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43418         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43419         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43420         * sysdeps/sh/sys/ucontext.h: Remove.
43421         * sysdeps/sh/sys: Remove directory.
43423 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43425         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43426         s390/sys/ucontext.h.
43427         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43428         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43430 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43432         [BZ #15605]
43433         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43435 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43437         [BZ#16431]
43438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43439         Adjust the vDSO correctly for internal calls.
43440         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43442 2014-01-20  Allan McRae  <allan@archlinux.org>
43444         * po/ca.po: Update Catalan translation from translation project.
43446 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43448         * sysdeps/s390/sotruss-lib.c: New file.
43450 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43452         [BZ#16430]
43453         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43454         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43455         local calls issues by not having a PLT stub required for IFUNC calls.
43456         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43458 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43460         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43461         * math/test-fpucw-static.c: Likewise.
43463 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43465         [BZ #16453]
43466         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43468 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43470         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43471         implementation for powerpc.
43473 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43475         [BZ #14782]
43476         * sysdeps/posix/system.c (__libc_system): Do not enable
43477         asynchronous cancellation.
43479 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43481         [BZ #16427]
43482         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43483         handling only for numbers special also in the IEEE case.
43485 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43487         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43489 2014-01-11  Allan McRae  <allan@archlinux.org>
43491         * po/bg.po: Update Bulgarian translation from translation project.
43493         * po/de.po: Update German translation from translation project.
43495 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43497         * sysdeps/generic/gcc-compat.h: New file.
43499 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43501         * benchtests/asin-inputs: Correct slow inputs.
43502         * benchtests/acos-inputs: Likewise.
43504 2014-01-10  Allan McRae  <allan@archlinux.org>
43506         * po:sv.po: Update Swedish translation from translation project.
43508         * po/vi.po: Update Vietnamese translation from translation project.
43510         * po/eo.po: Update Esperanto translation from translation project.
43512         * po/cs.po: Update Czech translation from translation project.
43514         * po/nl.po: Update Dutch translation from translation project.
43516         * po/pl.po: Update Polish translation from translation project.
43518         * po/ru.po: Update Russian translation from translation project.
43520         * po/uk.po: Update Ukrainian translation from translation project.
43522 2014-01-08  Brooks Moses  <bmoses@google.com>
43524         * elf/dl-load.c: Fix comment typo.
43526 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43528         * po/header.pot: Rename to...
43529         * po/pot.header: ... this.
43530         * po/Makefile: Use pot.header.
43532 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43533             Maxim Kuvyrkov  <maxim@kugelworks.com>
43535         [BZ #16394]
43536         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43537         SRC and DEST against LEN.
43539 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43541         [BZ #16414]
43542         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43543         implementation.
43544         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43546 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43550 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43552         [BZ #16408]
43553         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43554         for large positive arguments.
43556 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43558         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43560         * math/auto-libm-test-in: Mark various tests with
43561         xfail-rounding:ldbl-128ibm.
43562         * math/auto-libm-test-out: Regenerated.
43564         [BZ #16407]
43565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43566         Increase overflow threshold.
43568 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43570         [BZ #14286]
43571         * stdio-common/vfprintf.c: Check for integer overflow.
43573 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43575         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43576         the first argument and return value of __tls_get_addr_internal.
43578 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43580         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43581         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43583 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43585         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43586         * sysdeps/s390/rtld-global-offsets.sym: New file.
43587         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43588         GLIBC_2.19 symbol.
43589         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43591         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43592         ... this.
43593         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43594         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43595         ... this.
43596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43597         Regenerate.
43598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43599         Regenerate.
43600         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43601         halfs of GPRs for high_gprs contexts.
43602         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43603         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43604         field.
43605         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43606         uc_flags field.
43607         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43608         64 bit versions:
43609         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43610         for high GPRs (uc_high_gprs) and for future extensions
43611         (__reserved).
43612         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43613         for future extensions (__reserved).
43614         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43615         64 bit versions:
43616         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43617         SC_HIGHGPRS offset definition.
43618         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43619         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43621         * Versions.def: Add GLIBC_2.19 for libpthread.
43622         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43623         siglongjmp for libpthread with GLIBC_2.19 symver.
43624         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43625         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43626         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43627         * sysdeps/s390/__longjmp.c: New file.
43628         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43629         * sysdeps/s390/longjmp.c: New file.
43630         * sysdeps/s390/setjmp.S: New file.
43631         * sysdeps/s390/sigjmp.S: New file.
43632         * sysdeps/s390/v1-longjmp.c: New file.
43633         * sysdeps/s390/v1-setjmp.h: New file.
43634         * sysdeps/s390/v1-sigjmp.c: New file.
43635         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43636         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43637         GLIBC_2.19 version.
43638         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43639         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43640         versioned symbols for ____longjmp_chk.
43641         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43642         Likewise.
43643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43644         Regenerate.
43645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43646         Regenerate.
43647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43648         Regenerate.
43649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43650         Regenerate.
43651         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43652         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43653         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43654         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43655         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43656         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43657         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43658         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43659         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43660         * sysdeps/s390/rtld-__longjmp.c: New file.
43661         * sysdeps/s390/rtld-setjmp.S: New file.
43663 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43665         [BZ #16400]
43666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43667         Return -__logl (x) for small positive arguments without evaluating
43668         a polynomial.
43670 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43672         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43673         Rename to ...
43674         (__ptrace_peeksiginfo_args): ... this.
43675         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43676         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43679 2014-01-06  Allan McRae  <allan@archlinux.org>
43681         * inet/netinet/in.h: Fix typo in comment.
43683 2014-01-05  Andreas Jaeger  <aj@suse.de>
43685         * sysdeps/i386/fpu/libm-test-ulps: Update.
43687 2014-01-05  Allan McRae  <allan@archlinux.org>
43689         * po/libc.pot: Regenerated.
43691         * malloc/memusagestat.c: Fix gettext call formatting.
43693 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43695         * nscd/nscd.c: Improve usage() output.
43697 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43699         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43700         * sysdeps/unix/sysv/linux/configure: Regenerated.
43701         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43702         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43704 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43706         [BZ #16390]
43707         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43708         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43710 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43713         extra tokens at end of #undef directive.
43714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43715         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43716         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43718 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43720         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43722         * math/auto-libm-test-in: Mark various tests with
43723         xfail-rounding:ldbl-128ibm.
43724         * math/auto-libm-test-out: Regenerated.
43726 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43728         [BZ #16386]
43729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43730         numbers with subnormal high part when calculating exponent.
43732         [BZ #16385]
43733         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43734         fabs.
43736         [BZ #16384]
43737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43738         M_LN2l.
43739         (__ieee754_acoshl): Use __log1pl not __log1p.
43741 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43743         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43744         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43745         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43746         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43747         (reused_arena, arena_get2): Convert to GNU style.
43748         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43749         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43750         (memalign_check, __malloc_set_state): Likewise.
43751         * malloc/mallocbug.c (main): Likewise.
43752         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43753         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43754         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43755         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43756         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43757         (__posix_memalign, malloc_info): Likewise.
43758         * malloc/malloc.h: Likewise.
43759         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43760         (mallochook, memalignhook, reallochook, mabort): Likewise.
43761         * malloc/mcheck.h: Likewise.
43762         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43763         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43764         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43765         * malloc/morecore.c (__default_morecore): Likewise.
43766         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43767         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43768         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43769         (print_and_abort): Likewise.
43770         * malloc/obstack.h: Likewise.
43771         * malloc/set-freeres.c (__libc_freeres): Likewise.
43772         * malloc/tst-mallocstate.c (main): Likewise.
43773         * malloc/tst-mtrace.c (main): Likewise.
43774         * malloc/tst-realloc.c (do_test): Likewise.
43776 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43778         [BZ #16366]
43779         * nscd/netgroupcache.c (do_notfound): New function.
43780         (addgetnetgrentX): Use it.
43782         [BZ # 16365]
43783         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43784         NSS_STATUS_NOTFOUND.
43786 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43788         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43791 2014-01-01  Allan McRae  <allan@archlinux.org>
43793         * scripts/update-copyrights: Update configure input file suffix.
43795         * NEWS: Update copyright year.
43796         * catgets/gencat.c: Likewise.
43797         * csu/version.c: Likewise.
43798         * debug/catchsegv.sh: Likewise.
43799         * debug/pcprofiledump.c: Likewise.
43800         * debug/xtrace.sh: Likewise.
43801         * elf/ldconfig.c: Likewise.
43802         * elf/ldd.bash.in: Likewise.
43803         * elf/pldd.c: Likewise.
43804         * elf/sotruss.ksh: Likewise.
43805         * elf/sprof.c: Likewise.
43806         * iconv/iconv_prog.c: Likewise.
43807         * iconv/iconvconfig.c: Likewise.
43808         * locale/programs/locale.c: Likewise.
43809         * locale/programs/localedef.c: Likewise.
43810         * login/programs/pt_chown.c: Likewise.
43811         * malloc/memusage.sh: Likewise.
43812         * malloc/memusagestat.c: Likewise.
43813         * malloc/mtrace.pl: Likewise.
43814         * manual/libc.texinfo: Likewise.
43815         * nscd/nscd.c: Likewise.
43816         * nss/getent.c: Likewise.
43817         * nss/makedb.c: Likewise.
43818         * posix/getconf.c: Likewise.
43819         * scripts/test-installation.pl: Likewise.
43821         * All files with FSF copyright notices: Update copyright dates
43822         using scripts/update-copyrights.
43823         * intl/plural.c: Regenerated.
43824         * locale/programs/charmap-kw.h: Likewise.
43825         * locale/programs/locfile-kw.h: Likewise.
43827 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43829         * sysdeps/unix/sysv/linux/configure: Regenerated.
43830         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43831         the linux/fanotify.h header.
43832         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43833         HAVE_LINUX_FANOTIFY_H is defined.
43835 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43837         * benchtests/cos-inputs: New inputs.
43838         * benchtests/sin-inputs: Likewise.
43840         * benchtests/atan-inputs: New inputs. Fix name of multiple
43841         precision fallback inputs.
43843         * benchtests/atanh-inputs: New inputs.
43844         * benchtests/tanh-inputs: Likewise.
43846         * benchtests/acosh-inputs: New inputs.
43847         * benchtests/asinh-inputs: Likewise.
43849         * benchtests/cosh-inputs: New inputs.
43850         * benchtests/sinh-inputs: Likewise.
43852         * benchtests/acos-inputs: Add more inputs.
43853         * benchtests/asin-inputs: Likewise.
43855 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43857         [BZ #16375]
43858         * manual/arith.texi: Fix spelling.
43859         * manual/charset.texi: Likewise.
43860         * manual/errno.texi: Likewise.
43861         * manual/filesys.texi: Likewise.
43862         * manual/lang.texi: Likewise.
43863         * manual/llio.texi: Likewise.
43864         * manual/locale.texi: Likewise.
43865         * manual/message.texi: Likewise.
43866         * manual/resource.texi: Likewise.
43867         * manual/search.texi: Likewise.
43868         * manual/setjmp.texi: Likewise.
43869         * manual/stdio.texi: Likewise.
43870         * manual/string.texi: Likewise.
43871         * manual/sysinfo.texi: Likewise.
43872         * manual/time.texi: Likewise.
43874 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43876         * po/sl.po: New file.
43878 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43880         * .gitignore: Add core/.gdbinit/.gdb_history.
43882 2013-12-27  Allan McRae  <allan@archlinux.org>
43884         [BZ #16369]
43885         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43886         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43888 2013-12-24  Brooks Moses  <bmoses@google.com>
43890         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43891         all compilers that claim C++98 compliance, not just GCC.
43892         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43893         Likewise.
43895 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43897         * NEWS: Restore accidentally deleted bug-fix entries.
43899 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43900             Ondřej Bílka  <neleai@seznam.cz>
43902         [BZ #15073]
43903         * malloc/malloc.c (_int_free): Perform sanity check only if we
43904         have_lock.
43906 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43908         [BZ #12986]
43909         * manual/stdio.texi (String Input Conversions): Clarify that character
43910         classes are not supported.
43912 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43916 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43918         [BZ #16337]
43919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43920         Calculate results for small negative arguments directly rather
43921         than using reflection formula with special underflow handling.
43923         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43924         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43925         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43926         (fchflags): Likewise.
43927         (revoke): Likewise.
43928         (setlogin): Likewise.
43929         (sigaltstack): Likewise.
43930         (wait4): Likewise.
43931         (sigblock): Remove.
43932         (sigsetmask): Likewise.
43933         (wait3): Likewise.
43934         (waitpid): Likewise.
43935         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43936         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43937         file.
43938         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43939         * sysdeps/unix/bsd/Makefile: ... here.
43940         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43941         * sysdeps/unix/bsd/Versions: ... here.
43942         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43943         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43944         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43945         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43946         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43947         * sysdeps/unix/bsd/sigblock.c: ... here.
43948         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43949         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43950         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43951         * sysdeps/unix/bsd/sigvec.c: ... here.
43952         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43953         * sysdeps/unix/bsd/tcdrain.c: ... here.
43954         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43955         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43956         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43957         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43958         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43959         * sysdeps/unix/bsd/wait.c: ... here.
43960         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43961         * sysdeps/unix/bsd/wait3.c: ... here.
43962         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43963         * sysdeps/unix/bsd/waitpid.c: ... here.
43965 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43967         [BZ #16356]
43968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43969         round-to-nearest for [!USE_AS_EXPM1L].
43970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43971         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43972         more tests of exp and exp10.  Expect some exp10 tests to miss
43973         exceptions or fail in directed rounding modes.
43974         * math/auto-libm-test-out: Regenerated.
43975         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43976         (exp10_test_tonearest): New function.
43977         (exp10_towardzero_test_data): New array.
43978         (exp10_test_towardzero): New function.
43979         (exp10_downward_test_data): New array.
43980         (exp10_test_downward): New function.
43981         (exp10_upward_test_data): New array.
43982         (exp10_test_upward): New function.
43983         (main): Call the new functions.
43984         * sysdeps/i386/fpu/libm-test-ulps: Update.
43985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43987 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43989         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43990         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43991         * math/auto-libm-test-out: Regenerated.
43992         * math/libm-test.inc (acosh_test_data): Add more tests.
43993         (atanh_test_data): Likewise.
43994         (ceil_test_data): Likewise.
43995         (copysign_test_data): Likewise.
43996         * sysdeps/i386/fpu/libm-test-ulps: Update.
43997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43999         * timezone/checktab.awk: Update from tzcode 2013i.
44000         * timezone/private.h: Likewise.
44001         * timezone/scheck.c: Likewise.
44002         * timezone/tzfile.h: Likewise.
44003         * timezone/tzselect.ksh: Likewise.
44004         * timezone/zdump.c: Likewise.
44005         * timezone/zic.c: Likewise.
44007         * math/auto-libm-test-in: Add tests of cpow.
44008         * math/auto-libm-test-out: Regenerated.
44009         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44011         mpc_cc_c.
44012         (func_calc_desc): Add mpc_cc_c union field.
44013         (test_functions): Add cpow.
44014         (special_fill_2pi): New function.
44015         (special_real_inputs): Add 2pi.
44016         (calc_generic_results): Handle mpc_cc_c.
44017         * sysdeps/i386/fpu/libm-test-ulps: Update.
44018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44020         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44021         csqrt, ctan and ctanh.
44022         * math/auto-libm-test-out: Regenerated.
44023         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44024         (TEST_COND_x86): Likewise.
44025         (ccos_test_data): Use AUTO_TESTS_c_c.
44026         (ccosh_test_data): Likewise.
44027         (cexp_test_data): Likewise.
44028         (clog_test_data): Likewise.
44029         (csqrt_test_data): Likewise.
44030         (ctan_test_data): Likewise.
44031         (ctan_tonearest_test_data): Likewise.
44032         (ctan_towardzero_test_data): Likewise.
44033         (ctan_downward_test_data): Likewise.
44034         (ctan_upward_test_data): Likewise.
44035         (ctanh_test_data): Likewise.
44036         (ctanh_tonearest_test_data): Likewise.
44037         (ctanh_towardzero_test_data): Likewise.
44038         (ctanh_downward_test_data): Likewise.
44039         (ctanh_upward_test_data): Likewise.
44040         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44041         mpc_c_c.
44042         (func_calc_desc): Add mpc_c_c union field.
44043         (FUNC_mpc_c_c): New macro.
44044         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44045         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44046         ctanh.
44047         (special_fill_min_subnorm_p120): New function.
44048         (special_real_inputs): Add min_subnorm_p120.
44049         (calc_generic_results): Handle mpc_c_c.
44050         * sysdeps/i386/fpu/libm-test-ulps: Update.
44051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44053 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44055         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44056         (do_sin_slow): New functions.
44057         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44058         (cslow2, csloww1, csloww2): Use the new functions.
44060         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44061         Use M to change sign of result instead of X.  Assume X is
44062         positive.
44063         (csloww1): Likewise.
44064         (__sin): Adjust.
44065         (__cos): Adjust.
44067         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44068         arguments A and DA.
44069         (__sin): Adjust.
44070         (__cos): Likewise.
44072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44073         (__cos): Likewise.
44074         (sloww1): Don't adjust sign of DX.
44075         (csloww1): Likewise.
44076         (sloww2): Use X directly and don't adjust sign of DX.
44077         (csloww2): Likewise.
44079 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44081         * math/auto-libm-test-in: Add tests of cabs and carg.
44082         * math/auto-libm-test-out: Regenerated.
44083         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44084         (carg_test_data): Likewise.
44085         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44086         mpc_c_f.
44087         (func_calc_desc): Add mpc_c_f union field.
44088         (test_functions): Add cabs and carg.
44089         (calc_generic_results): Handle mpc_c_f.
44091         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44092         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44093         as a macro and a compat symbol.
44094         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44095         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44096         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44097         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44098         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44099         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44100         not use .hidden.
44101         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44102         Likewise.
44103         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44104         Likewise.
44105         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44106         Likewise.
44107         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44108         Likewise.
44109         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44110         Likewise.
44111         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44112         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44113         from GLIBC_2.3.2.
44115 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44119 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44121         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44122         trailing whitespace removed.
44123         * scripts/config.guess: Update to version 2013-11-29.
44124         * scripts/config.sub: Update to version 2013-10-01.
44126         * math/auto-libm-test-in: Add tests of sincos.
44127         * math/auto-libm-test-out: Regenerated.
44128         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44129         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44130         mpfr_f_11.
44131         (func_calc_desc): Add mpfr_f_11 union field.
44132         (test_functions): Add sincos.
44133         (calc_generic_results): Handle mpfr_f_11.
44134         * sysdeps/i386/fpu/libm-test-ulps: Update.
44135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44137 2013-12-19  Andreas Schwab  <schwab@suse.de>
44139         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44140         CALL_MCOUNT.
44141         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44142         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44143         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44145 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44147         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44148         * sysdeps/i386/fpu/libm-test-ulps: Update.
44149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44151         [BZ #16293]
44152         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44153         round-to-nearest mode when using frndint.
44154         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44155         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44157         Likewise.
44158         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44159         sinh test to fail.
44160         * math/auto-libm-test-out: Regenerated.
44161         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44162         (TEST_COND_x86): Likewise.
44163         (expm1_tonearest_test_data): New array.
44164         (expm1_test_tonearest): New function.
44165         (expm1_towardzero_test_data): New array.
44166         (expm1_test_towardzero): New function.
44167         (expm1_downward_test_data): New array.
44168         (expm1_test_downward): New function.
44169         (expm1_upward_test_data): New array.
44170         (expm1_test_upward): New function.
44171         (main): Run the new test functions.
44172         * sysdeps/i386/fpu/libm-test-ulps: Update.
44173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44175         * include/features.h: Update comment documenting feature test
44176         macros.  Mention _DEFAULT_SOURCE in comment.
44177         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44178         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44179         _BSD_SOURCE and _SVID_SOURCE.
44180         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44181         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44182         !_SVID_SOURCE]: Likewise.
44183         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44184         (__USE_POSIX_IMPLICITLY): Define.
44185         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44186         (_POSIX_SOURCE): Undefine and redefine.
44187         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44188         (_POSIX_C_SOURCE): Likewise.
44189         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44190         (Feature Test Macros): Update documentation of default features.
44192 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44194         * benchtests/Makefile: Add bench-strtok.
44195         * benchtests/bench-strtok.c: New file: strtok benchtest.
44197 2013-12-19  Allan McRae  <allan@archlinux.org>
44199         * manual/install.texi: Suppress menu for plain text output.
44200         * INSTALL: Regenerated.
44202 2013-12-18  Brooks Moses  <bmoses@google.com>
44204         [BZ #15846]
44205         * misc/getauxval.c: Include errno.h.
44206         (__getauxval): Set errno to ENOENT if the requested type is not
44207         found.
44208         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44209         don't declare with __attribute_const__.
44210         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44211         * manual/startup.texi: Document that getauxval sets errno.
44213 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44215         * math/auto-libm-test-in: Add tests of jn and yn.
44216         * math/auto-libm-test-out: Regenerated.
44217         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44218         (yn_test_data): Likewise.
44219         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44220         mpfr_if_f.
44221         (func_calc_desc): Add mpfr_if_f union field.
44222         (FUNC_mpfr_if_f): New macro.
44223         (test_functions): Add jn and yn.
44224         (calc_generic_results): Assert type of second input for
44225         mpfr_ff_f.  Handle mpfr_if_f.
44226         (output_for_one_input_case): Disable all checking for arguments
44227         fitting floating-point types in case of an integer argument.
44228         * sysdeps/i386/fpu/libm-test-ulps: Update.
44229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44232         Don't expect fegetround reference in libm.so.
44234 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44236         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44237         $(config-cflags-nofma).
44239 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44241         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44242         * math/auto-libm-test-out: Regenerated.
44244         [BZ #16338]
44245         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44246         to determine exponent and adjust argument to have exponent of -1.
44247         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44248         log2.
44249         * math/auto-libm-test-out: Regenerated.
44250         * sysdeps/i386/fpu/libm-test-ulps: Update.
44251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44253 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44255         * manual/probes.texi: Remove cases when per-thread arenas are
44256         disabled.
44258 2013-12-18  Andreas Schwab  <schwab@suse.de>
44260         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44261         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44262         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44263         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44264         * sysdeps/i386/i686/multiarch/Makefile: Update.
44265         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44267 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44269         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44270         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44272 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44274         [BZ #15968]
44275         Support TZ transition times < 00:00:00.
44276         This is needed for version-3 tz-format files; it supports time
44277         stamps past 2037 for America/Godthab (the only entry in the tz
44278         database for which this change is relevant).
44279         * manual/time.texi (TZ Variable): Document transition times
44280         from -167:59:59 through -00:00:01.
44281         * time/tzset.c (tz_rule): Time of day is now signed.
44282         (__tzset_parse_tz): Parse negative time of day.
44284         Document TZ transition times >= 25:00:00.
44285         * manual/time.texi (TZ Variable): Document transition times from
44286         25:00:00 through 167:59:59.  These are already supported, and this
44287         support will help with version-3 tz-format files.
44289         * manual/time.texi (TZ Variable): Modernize North America example
44290         to reflect current (i.e., 2007-and-later) daylight saving rules.
44292         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44294 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44296         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44297         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44300         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44301         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44302         * sysdeps/unix/bsd/clock.c: Likewise.
44303         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44304         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44305         * sysdeps/unix/bsd/init-posix.c: Likewise.
44306         * sysdeps/unix/bsd/poll.c: Likewise.
44307         * sysdeps/unix/bsd/ptsname.c: Likewise.
44308         * sysdeps/unix/bsd/seekdir.c: Likewise.
44309         * sysdeps/unix/bsd/setegid.c: Likewise.
44310         * sysdeps/unix/bsd/seteuid.c: Likewise.
44311         * sysdeps/unix/bsd/setgid.c: Likewise.
44312         * sysdeps/unix/bsd/setrgid.c: Likewise.
44313         * sysdeps/unix/bsd/setruid.c: Likewise.
44314         * sysdeps/unix/bsd/setsid.c: Likewise.
44315         * sysdeps/unix/bsd/setuid.c: Likewise.
44316         * sysdeps/unix/bsd/sigaction.c: Likewise.
44317         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44318         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44319         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44320         * sysdeps/unix/bsd/telldir.c: Likewise.
44321         * sysdeps/unix/bsd/times.c: Likewise.
44322         * sysdeps/unix/bsd/usleep.c: Likewise.
44324         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44325         ($(objpfx)libbsd-compat.a): Remove rule.
44327         * include/features.h (__FAVOR_BSD): Do not define.
44328         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44329         features conflicting with POSIX.
44330         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44331         (_BSD_SOURCE): Remove description of not being a subset of other
44332         feature test macros.
44333         * manual/job.texi (getpgrp): Do not document BSD version.
44334         (getpgid): Do not document by reference to BSD getpgrp.
44335         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44336         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44337         * signal/signal.h [__FAVOR_BSD]: Likewise.
44338         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44339         instead of making contents conditional on [__FAVOR_BSD].
44340         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44342 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44346 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44348         [BZ #16314]
44349         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44350         values below 2**-450, not 2**-500.
44351         * math/auto-libm-test-in: Don't allow spurious underflow from
44352         hypot.
44353         * math/auto-libm-test-out: Regenerated.
44355         [BZ #16316]
44356         [BZ #16330]
44357         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44358         values of ha and hb and sort them after adjusting subnormal
44359         arguments.
44360         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44361         Likewise.
44362         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44363         values of ea and eb and sort them after adjusting subnormal
44364         arguments.
44365         * math/auto-libm-test-in: Do not expect some hypot tests of
44366         subnormals to fail.  Add more hypot tests.
44367         * math/auto-libm-test-out: Regenerated.
44369 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44371         [BZ #13304]
44372         * sysdeps/sh/s_fma.c: New file.
44373         * sysdeps/sh/s_fmaf.c: New file.
44374         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44375         version.
44376         * sysdeps/sh/Implies: Add sh/soft-fp.
44378 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44380         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44381         level of indirection to members `objname', `errstring', `malloced'.
44382         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44383         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44384         it as the __longjmp argument (just pass 1 instead).
44385         (_dl_catch_error): Initialize C with argument pointers and address of
44386         volatile local ERRCODE rather than copying values out of C at return.
44388 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44390         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44391         * math/auto-libm-test-out: Regenerated.
44392         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44393         (hypot_test_data): Likewise.
44394         (pow_test_data): Likewise.
44395         (pow_tonearest_test_data): Likewise.
44396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44397         mpfr_ff_f.
44398         (func_calc_desc): Add mpfr_ff_f union field.
44399         (FUNC_mpfr_ff_f): New macro.
44400         (test_functions): Add atan2, hypot and pow.
44401         (special_fill_min): New function.
44402         (special_fill_minus_min): Likewise.
44403         (special_fill_min_subnorm): Likewise.
44404         (special_fill_minus_min_subnorm): Likewise.
44405         (special_real_inputs): Add min, -min, min_subnorm and
44406         -min_subnorm.
44407         (calc_generic_results): Handle mpfr_ff_f.
44408         * sysdeps/i386/fpu/libm-test-ulps: Update.
44409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44411 2013-12-16  Will Newton  <will.newton@linaro.org>
44413         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44414         (Aligned Memory Blocks): Add documentation for aligned_alloc
44415         and suggest it as an alternative to posix_memalign.
44416         (Hooks for Malloc): Document __memalign_hook is also called
44417         for aligned_alloc.  (Summary of Malloc): Add summary for
44418         aligned alloc.  Document __memalign_hook is also called
44419         for aligned_alloc.
44421 2013-12-16  Will Newton  <will.newton@linaro.org>
44423         * manual/memory.texi (Malloc Examples): Clarify default
44424         alignment documentation.  Suggest posix_memalign rather
44425         than memalign or valloc.
44426         (Aligned Memory Blocks): Remove suggestion to use memalign
44427         or valloc.  Remove obsolete comment about BSD.
44428         Document memalign errno values and mark the function obsolete.
44429         Document posix_memalign returned error codes.  Mark valloc
44430         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44431         called for posix_memalign and valloc.
44432         (Summary of Malloc): Add posix_memalign to function summary.
44433         __memalign_hook is also called for posix_memalign and valloc.
44435 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44437         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44438         TAYLOR_SIN.
44439         (__sin): Adjust.
44440         (__cos): Likewise.
44441         (sloww): Use mynumber union.  Expand ternary operator into
44442         if-else statements.
44443         (cslow): use mynumber union.
44445 2013-12-16  Allan McRae  <allan@archlinux.org>
44447         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44448         * configure: Regenerated.
44450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44452         [BZ #14120]
44453         * configure.ac: Added --enable-maintainer-mode. Check for
44454         autoconf when enabled.
44455         * configure: Regenerated.
44457         * nscd/nscd.service: New file.
44458         * nscd/nscd.tmpfiles: New file.
44460 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44462         [BZ #12100]
44463         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44464         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44465         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44466         (strstr): Add __strstr_sse2_unaligned ifunc.
44467         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44468         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44469         (strcasestr): Remove __strcasestr_sse42 ifunc.
44470         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44474 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44476         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44477         * sysdeps/sh/bits/fenv.h: ... here.
44478         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44480 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44482         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44485         hypotf multiarch implementations.
44486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44489         multiarch hypot for PPC64.
44490         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44493         multiarch hypotf for PPC64.
44495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44496         modff multiarch implementations.
44497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44500         multiarch modf for PPC64.
44501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44504         multiarch modff for PPC64.
44506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44507         and logl multiarch implementations.
44508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44511         multiarch logb for PPC64.
44512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44515         multiarch logb for PPC64.
44516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44519         multiarch logb for PPC64.
44521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44522         isinff multiarch implementation.
44523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44524         file.
44525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44527         multiarch isinf for PPC64.
44528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44529         file.
44530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44531         multiarch isinff for PPC64.
44533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44534         finitef multiarch implementation.
44535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44536         file.
44537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44539         multiarch finite for PPC64.
44540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44541         file.
44542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44543         multiarch finitef for PPC64.
44545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44546         lrint multiarch implementation.
44547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44548         file.
44549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44551         multiarch llrint for PPC64.
44552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44553         multiarch lrint for PPC64.
44555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44556         copysignf multiarch implementation.
44557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44558         file.
44559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44560         file.
44561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44562         multiarch copysign for PPC64.
44563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44564         multiarch copysignf for PPC64.
44566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44567         multiarch implementation.
44568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44569         file.
44570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44571         file.
44572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44573         file.
44574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44575         file.
44576         multiarch llround for PPC64.
44577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44578         multiarch trunc for PPC64.
44579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44580         multiarch truncf for PPC64.
44582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44583         multiarch implementation.
44584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44585         file.
44586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44587         file.
44588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44589         file.
44590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44591         file.
44592         multiarch llround for PPC64.
44593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44594         multiarch round for PPC64.
44595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44596         multiarch roundf for PPC64.
44598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44599         multiarch implementation.
44600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44601         file.
44602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44603         file.
44604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44605         file.
44606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44607         file.
44608         multiarch llround for PPC64.
44609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44610         multiarch floor for PPC64.
44611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44612         multiarch floorf for PPC64.
44614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44615         multiarch implementation.
44616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44617         file.
44618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44619         file.
44620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44621         file.
44622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44623         file.
44624         multiarch llround for PPC64.
44625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44626         multiarch ceil for PPC64.
44627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44628         multiarch ceilf for PPC64.
44630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44631         multiarch implementation.
44632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44633         file.
44634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44635         file.
44636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44637         file.
44638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44639         multiarch llround for PPC64.
44640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44641         multiarch lround for PPC64.
44643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44644         multiarch implementation.
44645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44648         file.
44649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44652         multiarch isnan for PPC64.
44653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44654         multiarch isnanf for PPC64.
44656         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44657         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44658         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44659         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44660         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44663         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44664         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44669         multiarch implementations.
44670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44671         (__libc_ifunc_impl_list): Likewise.
44672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44675         multiarch stpcpy for PPC64.
44677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44678         multiarch implementations.
44679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44680         (__libc_ifunc_impl_list): Likewise.
44681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44682         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44683         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44684         multiarch strcpy for PPC64.
44686         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44687         redefine function name.
44688         (_wordcopy_fwd_dest_aligned): Likewise.
44689         (_wordcopy_bwd_aligned): Likewise.
44690         (_wordcopy_bwd_dest_aligned): Likewise.
44691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44692         multiarch implementations.
44693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44694         (__libc_ifunc_impl_list): Likewise.
44695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44699         multiarch wcscpy for PPC64.
44701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44702         multiarch implementations.
44703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44704         (__libc_ifunc_impl_list): Likewise.
44705         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44708         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44709         multiarch wcscpy for PPC64.
44711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44712         multiarch implementations.
44713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44714         (__libc_ifunc_impl_list): Likewise.
44715         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44718         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44719         multiarch wcsrchr for PPC64.
44721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44722         multiarch implementations.
44723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44724         (__libc_ifunc_impl_list): Likewise.
44725         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44727         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44728         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44729         multiarch wcschr for PPC64.
44731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44732         multiarch implementations.
44733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44734         (__libc_ifunc_impl_list): Likewise.
44735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44737         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44738         multiarch strchrnul for PPC64.
44740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44741         implementations.
44742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44743         (__libc_ifunc_impl_list): Likewise.
44744         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44745         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44746         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44747         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44748         strchr for PPC64.
44750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44751         implementations.
44752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44753         (__libc_ifunc_impl_list): Likewise.
44754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44756         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44757         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44758         strncmp for PPC64.
44760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44761         multiarch implementations.
44762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44763         (__libc_ifunc_impl_list): Likewise.
44764         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44765         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44766         strncasecmp for PPC64.
44767         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44768         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44769         multiarch strncasecmp_l for PPC64.
44771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44772         multiarch implementations.
44773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44774         (__libc_ifunc_impl_list): Likewise.
44775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44777         multiarch strcasecmp for PPC64.
44778         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44779         file.
44780         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44781         multiarch strcasecmp_l for PPC64.
44783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44784         implementations.
44785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44786         (__libc_ifunc_impl_list): Likewise.
44787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44788         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44789         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44790         strnlen for PPC64.
44792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44793         implementations.
44794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44795         (__libc_ifunc_impl_list): Likewise.
44796         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44797         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44798         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44799         strlen for PPC64.
44801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44802         implementations.
44803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44804         (__libc_ifunc_impl_list): Likewise.
44805         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44808         rawmemrchr for PPC64.
44810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44811         implementation.
44812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44813         (__libc_ifunc_impl_list): Likewise.
44814         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44815         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44816         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44817         memrchr for PPC64.
44819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44820         implementation.
44821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44822         (__libc_ifunc_impl_list): Likewise.
44823         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44824         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44825         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44826         memchr for PPC64.
44828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44829         implementation.
44830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44831         (__libc_ifunc_impl_list): Likewise.
44832         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44834         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44835         mempcpy for PPC64.
44837         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44838         avoid cretion of __bzero symbol.
44839         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44840         Likewise.
44841         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44842         Likewise.
44843         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44844         Likewise.
44845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44846         multiarch implementations.
44847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44848         (__libc_ifunc_impl_list): Likewise.
44849         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44851         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44852         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44853         bzero for PPC32.
44854         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44855         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44856         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44857         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44858         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44859         memset for PPC64.
44860         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44862         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44864         implementations.
44865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44866         (__libc_ifunc_impl_list): Likewise.
44867         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44869         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44870         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44871         memcmp for PPC64.
44873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44874         multiarch for POWER/PPC64.
44875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44876         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44883         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44884         memcpy for PPC64.
44886         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44887         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44888         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44889         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44890         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44891         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44892         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44893         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44894         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44895         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44896         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44897         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44898         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44899         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44900         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44909 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44913 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44915         * benchtests/Makefile (bench): Add exp2 and log2.
44916         (LDLIBS-bench-exp2): Add -lm.
44917         (LDLIBS-bench-log2): Likewise.
44918         * benchtests/exp2-inputs: New inputs file.
44919         * benchtests/log2-inputs: New inputs file.
44920         * benchtests/log-inputs: Add new inputs.
44921         * benchtests/tan-inputs: Likewise.
44923 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44925         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44926         definition...
44927         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44928         (csloww2): ... from here.
44930         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44931         instead of structures.
44932         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44933         (POLYNOMIAL): Likewise.
44934         (TAYLOR_SLOW): Likewise.
44935         (__sin): Likewise.
44936         (__cos): Likewise.
44937         (slow1): Likewise.
44938         (slow2): Likewise.
44939         (sloww): Likewise.
44940         (sloww1); Likewise.
44941         (sloww2): Likewise.
44942         (bsloww1): Likewise.
44943         (bsloww2): Likewise.
44944         (cslow2): Likewise.
44945         (csloww): Likewise.
44946         (csloww1): Likewise.
44947         (csloww2): Likewise.
44949 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44951         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44952         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44953         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44954         * malloc/hooks.c (realloc_check): Likewise.
44956         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44957         * malloc/arena.c: Remove PER_THREAD conditional.
44958         [!PER_THREAD]: Remove code.
44959         (ptmalloc_unlock_all2): Likewise.
44960         (ptmalloc_init): Likewise.
44961         (_int_new_arena): Likewise.
44962         (arena_get2): Likewise.
44963         * malloc/hooks.c (__malloc_get_state): Likewise.
44964         (__malloc_set_state): Likewise.
44965         * malloc/malloc.c: Likewise.
44966         (struct malloc_state): Likewise.
44967         (struct malloc_par): Likewise.
44968         (__libc_realloc): Likewise.
44969         (__libc_mallopt): Likewise.
44971 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44973         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44975 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44977         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44978         macro to a function.  Check for zero perturb_byte.
44979         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44981         * malloc/malloc.c: (force_reg): Remove.
44982         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44983         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44984         force_reg by atomic_forced_read.
44985         * malloc/arena.c (ptmalloc_init): Likewise.
44986         * malloc/hooks.c (top_check): Likewise.
44988 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44992 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44996 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44998         * math/auto-libm-test-in: Add tests of lgamma.
44999         * math/auto-libm-test-out: Regenerated.
45000         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45001         (M_LOG_2_SQRT_PIl): Likewise.
45002         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45004         mpfr_f_f1.
45005         (func_calc_desc): Add mpfr_f_f1 union field.
45006         (ARGS1): New macro.
45007         (ARGS2): Likewise.
45008         (ARGS3): Likewise.
45009         (ARGS4): Likewise.
45010         (RET1): Likewise.
45011         (RET2): Likewise.
45012         (CALC): Likewise.
45013         (FUNC): Likewise.
45014         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45015         (test_functions): Add lgamma.
45016         (calc_generic_results): Handle mpfr_f_f1.
45017         * sysdeps/i386/fpu/libm-test-ulps: Update.
45018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45020 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45022         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45023         __mpn_add_n for PowerPC64/POWER7.
45024         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45025         __mpn_sub_n for PowerPC64/POWER7.
45027         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45028         __mpn_addmul_1 for PowerPC64.
45029         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45030         __mpn_submul_1 for PowerPC64.
45031         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45032         for PowerPC64.
45033         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45034         for PowerPC64.
45036 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45038         [BZ #15089]
45039         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45041 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45043         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45045         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45046         add multiarch folders.
45047         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45048         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45049         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45050         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45051         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45052         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45053         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45054         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45055         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45056         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45057         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45066         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45068         New file.
45069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45070         New file.
45071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45072         multiarch __ieee754_hypot for PowerPC32.
45073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45074         New file.
45075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45076         New file.
45077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45078         multiarch __ieee754_hypotf for PowerPC32.
45080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45081         long_double_symbol only if __logbl is defined.
45082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45083         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45084         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45085         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45086         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45087         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45088         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45089         path for implementation.
45090         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45093         logb, and logbl multiarch implementations for PowerPC32.
45094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45095         file.
45096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45097         file.
45098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45099         multiarch logb for PowerPC32.
45100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45101         file.
45102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45103         file.
45104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45105         multiarch logbf for PowerPC32.
45106         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45108         file.
45109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45110         multiarch logbl implementation for PowerPC32.
45112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45113         and modff multiarch implementations.
45114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45115         New file.
45116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45117         New file.
45118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45119         multiarch modf for PowerPC32.
45120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45121         New file.
45122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45123         New file.
45124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45125         multiarch modff for PowerPC32.
45127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45128         and lrintf multiarch implementations.
45129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45130         New file.
45131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45132         New file.
45133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45134         multiarch lrint for PowerPC32.
45135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45136         file: multiarch lrintf for PowerPC32.
45138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45139         and lroundf multiarch implementations.
45140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45141         New file.
45142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45143         New file.
45144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45145         New file.
45146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45147         multiarch lround for PowerPC32.
45148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45149         file: multiarch lroundf for PowerPC32.
45151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45152         copysign and copysignf multiarch implementations.
45153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45154         New file.
45155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45156         New file.
45157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45158         file: multiarch copysign for PowerPC32.
45159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45160         file: multiarch copysignf for PowerPC32.
45162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45163         and truncf multiarch implementations.
45164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45165         New file.
45166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45167         file.
45168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45169         multiarch trunc for PowerPC32.
45170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45171         New file.
45172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45173         New file.
45174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45175         multiarch truncf for PowerPC32.
45177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45178         and roundf multiarch implementations.
45179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45180         New file.
45181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45182         file.
45183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45184         multiarch round for PowerPC32.
45185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45186         New file.
45187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45188         New file.
45189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45190         multiarch roundf for PowerPC32.
45192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45193         and floorf multiarch implementations.
45194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45195         New file.
45196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45197         file.
45198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45199         multiarch floor for PowerPC32.
45200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45201         New file.
45202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45203         New file.
45204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45205         multiarch floorf for PowerPC32.
45207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45208         and ceilf multiarch implementations.
45209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45210         New file.
45211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45212         file.
45213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45214         multiarch ceil for PowerPC32.
45215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45216         New file.
45217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45218         file.
45219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45220         multiarch ceilf for PowerPC32.
45222         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45223         is defined.
45224         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45225         FINITEF is defined.
45226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45227         and finitef multiarch implementations.
45228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45229         New file.
45230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45231         file.
45232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45233         multiarch finite for PowerPC32.
45234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45235         New file.
45236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45237         file: multiarch finitef for PowerPC32.
45239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45240         and isinff multiarch implementations.
45241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45242         file.
45243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45244         file.
45245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45246         multiarch isinf for PowerPC32.
45247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45248         New file.
45249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45250         multiarch isinff for PowerPC32.
45252         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45253         alias when __isnan is defined.
45254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45255         and isnanf multiarch implementations.
45256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45257         file.
45258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45259         file.
45260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45261         file.
45262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45263         file.
45264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45265         multiarch isnan for PowerPC32.
45266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45267         New file.
45268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45269         New file.
45270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45271         multiarch isnanf for PowerPC32.
45273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45274         and sqrtf multiarch implementations.
45275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45276         file.
45277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45278         file.
45279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45280         multiarch sqrt for PowerPC32.
45281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45282         file.
45283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45284         file.
45285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45286         multiarch sqrtf for PowerPC32.
45288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45289         and llroundf multiarch implementations.
45290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45291         New file.
45292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45293         New file.
45294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45295         New file.
45296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45297         file: multiarch llround for PowerPC32.
45298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45299         file: multiarch llroundf for PowerPC32.
45301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45302         multiarch PowerPC32 fpu implementations.
45303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45304         New file.
45305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45306         New file.
45307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45308         multiarch llrint for PowerPC32.
45309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45310         New file.
45311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45312         New file.
45313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45314         file.
45316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45318         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45319         file.
45320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45321         file.
45322         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45323         file.
45324         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45325         multiarch wordcopy for PPC32.
45326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45327         wordcopy objects.
45328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45329         (__libc_ifunc_impl_list): Likewise.
45330         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45331         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45332         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45333         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45334         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45335         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45337         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45339         file.
45340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45341         file.
45342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45343         file.
45344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45345         multiarch wcscpy for PPC32.
45346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45347         multiarch objects.
45348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45349         (__libc_ifunc_impl_list): Likewise.
45350         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45351         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45352         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45353         sysdeps/powerpc/power6/wcscpy.c.
45355         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45357         file.
45358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45359         file.
45360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45361         file.
45362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45363         multiarch wcsrchr for PPC32.
45364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45365         multiarch objects.
45366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45367         (__libc_ifunc_impl_list): Likewise.
45368         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45369         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45370         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45371         sysdeps/powerpc/power6/wcsrchr.c.
45373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45374         file.
45375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45376         file.
45377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45379         multiarch wcschr for PPc32.
45380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45381         multiarch objects.
45382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45383         (__libc_ifunc_impl_list): Likewise.
45384         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45385         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45386         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45387         sysdeps/powerpc/power6/wcschr.c.
45389         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45390         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45391         file.
45392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45393         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45394         file: multiarch strchr for PPC32.
45395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45396         multiarch objects.
45397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45398         (__libc_ifunc_impl_list): Likewise.
45400         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45401         name.
45402         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45403         file.
45404         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45405         file.
45406         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45407         multiarch strchrnul for PPC32.
45408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45409         multiarch objects.
45410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45411         (__libc_ifunc_impl_list): Likewise.
45413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45414         file.
45415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45416         multiarch strncasecmp for PPC32.
45417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45418         file.
45419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45420         multiarch strncasecmp_l for PPC32.
45421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45422         strncasecmp multiarch objects.
45423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45424         (__libc_ifunc_impl_list): Likewise.
45426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45427         file.
45428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45429         multiarch strncasecmp for PPC32.
45430         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45431         New file.
45432         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45433         multiarch strcasecmp_l for PPC32.
45434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45435         multiarch objects.
45436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45437         (__libc_ifunc_impl_list): Likewise.
45439         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45440         file.
45441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45442         file.
45443         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45444         multiarch strncmp for PPC32.
45445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45446         multiarch objects.
45447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45448         (__libc_ifunc_impl_list): Likewise.
45450         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45451         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45452         file.
45453         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45454         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45456         multiarch objects.
45457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45458         (__libc_ifunc_impl_list): Likewise.
45460         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45461         file.
45462         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45463         file.
45464         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45466         multiarch objects.
45467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45468         (__libc_ifunc_impl_list): Likewise.
45470         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45471         file.
45472         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45473         file.
45474         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45475         multiarch rawmemchr for PPC32.
45476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45477         multiarch objects.
45478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45479         (__libc_ifunc_impl_list): Likewise.
45481         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45482         file.
45483         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45484         file.
45485         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45486         file: memrchr multiarch for PPC32.
45487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45488         multiarch objects.
45489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45490         (__libc_ifunc_impl_list): Likewise.
45492         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45493         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45494         file.
45495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45497         multiarch memchr for PPC32.
45498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45499         multiarch objects.
45500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45501         (__libc_ifunc_impl_list): Likewise.
45503         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45504         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45505         file.
45506         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45507         file.
45508         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45509         file: multiarch mempcpy for PPC32.
45510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45511         multiarch objects.
45512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45513         (__libc_ifunc_impl_list): Likewise.
45515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45519         multiarch bzero for PPC32.
45520         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45521         file.
45522         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45523         file.
45524         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45525         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45526         file: multiarch memset for PPC32.
45527         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45529         memset multiarch objects.
45530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45531         (__libc_ifunc_impl_list): Likewise.
45533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45534         file.
45535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45537         memcmp for PPC32.
45538         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45540         multiarch objects.
45541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45542         (__libc_ifunc_impl_list): Likewise.
45544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45547         file.
45548         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45549         file.
45550         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45551         file.
45552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45553         multiarch memcpy for PPC32.
45554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45555         multiarch objects.
45556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45557         (__libc_ifunc_impl_list): Likewise.
45559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45560         support multiarch for POWER/PPC32.
45561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45562         Likewise.
45563         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45565         Implies file to make multiarch folder appers before the fpu and
45566         default folder for power4 configuration.
45568 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45570         * scripts/bench.pl: Append volatile keyword to type.
45572 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45574         * sysdeps/sh/sotruss-lib.c: New file.
45575         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45577 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45581 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45583         [BZ #6810]
45584         * math/w_tgamma.c: Include <errno.h>.
45585         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45586         * math/w_tgammaf.c: Include <errno.h>.
45587         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45588         * math/w_tgammal.c: Include <errno.h>.
45589         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45590         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45591         underflow.  Add more tgamma tests.
45592         * math/auto-libm-test-out: Regenerated.
45593         * sysdeps/i386/fpu/libm-test-ulps: Update.
45594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45596         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45597         sin, sinh, tan, tanh, tgamma, y0 and y1.
45598         * math/auto-libm-test-out: Regenerated.
45599         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45600         (TEST_COND_x86): Likewise.
45601         (M_E2l): Remove macro.
45602         (M_E3l): Likewise.
45603         (M_2_SQRT_PIl): Likewise.
45604         (M_SQRT_PIl): Likewise.
45605         (M_1_DIV_El): Likewise.
45606         (log_test_data): Use AUTO_TESTS_f_f.
45607         (log10_test_data): Likewise.
45608         (log1p_test_data): Likewise.
45609         (log2_test_data): Likewise.
45610         (sin_test_data): Likewise.
45611         (sin_tonearest_test_data): Likewise.
45612         (sin_towardzero_test_data): Likewise.
45613         (sin_downward_test_data): Likewise.
45614         (sin_upward_test_data): Likewise.
45615         (sinh_test_data): Likewise.
45616         (sinh_tonearest_test_data): Likewise.
45617         (sinh_towardzero_test_data): Likewise.
45618         (sinh_downward_test_data): Likewise.
45619         (sinh_upward_test_data): Likewise.
45620         (tan_test_data): Likewise.
45621         (tan_tonearest_test_data): Likewise.
45622         (tan_towardzero_test_data): Likewise.
45623         (tan_downward_test_data): Likewise.
45624         (tan_upward_test_data): Likewise.
45625         (tanh_test_data): Likewise.
45626         (tgamma_test_data): Likewise.
45627         (y0_test_data): Likewise.
45628         (y1_test_data): Likewise.
45629         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45630         (special_real_inputs): Add pi/4.
45631         * sysdeps/i386/fpu/libm-test-ulps: Update.
45632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45634 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45637         "longjmp_target" static probes.
45638         (__longjmp): Rename to __longjmp_symbol.
45639         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45640         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45641         on which longjmp to generate.
45642         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45644         probe.
45645         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45646         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45647         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45648         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45649         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45652         __longjmp_symbol based on which __longjmp to generate.
45653         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45654         probe.
45655         (setjmp): Rename to setjmp_symbol.
45656         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45657         (_setjmp): Rename to _setjmp_symbol.
45658         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45659         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45660         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45661         which setjmp to generate.
45662         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45663         "longjmp_target" static probes.
45665 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45667         * benchtests/README: Add note about output arguments.
45668         * benchtests/bench-sincos.c: Remove file.
45669         * benchtests/sincos-inputs: New file.
45670         * scripts/bench.pl: Identify output arguments and define
45671         static variables for them.
45673         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45675         [BZ #15941]
45676         * Makefile (INSTALL): Add install-plain.texi as the primary
45677         dependency.
45678         * manual/install-plain.texi: New file.
45679         * manual/install.texi: Include node directive only for
45680         non-plaintext output.
45682 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45684         * stdlib/longlong.h: Update from GCC.
45686         [BZ #6807]
45687         [BZ #15901]
45688         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45689         * math/w_j0f.c (y0f): Likewise.
45690         * math/w_j0l.c (__y0l): Likewise.
45691         * math/w_j1.c (y1): Likewise.
45692         * math/w_j1f.c (y1f): Likewise.
45693         * math/w_j1l.c (__y1l): Likewise.
45694         * math/w_jn.c (yn): Likewise.
45695         * math/w_jnf.c (ynf): Likewise.
45696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45697         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45698         value for Bessel function domain errors outside _SVID_ mode.
45699         Adjust sign of return value for yn (negative integer, 0).
45700         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45701         by zero in return for negative x and set sign appropriately for
45702         negative n.
45703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45704         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45705         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45706         expectations in error cases.
45707         (y1_test_data): Likewise.
45708         (yn_test_data): Likewise.
45709         * sysdeps/i386/fpu/libm-test-ulps: Update.
45710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45712 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45714         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45715         "64" to "64-v1".  Add "64-v2".
45716         (abi-64-options): Rename to ...
45717         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45718         (abi-64-condition): Rename to ...
45719         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45720         (abi-64-ld-soname): Rename to ...
45721         (abi-64-v1-ld-soname): ... this.
45722         (abi-64-v2-options): Define.
45723         (abi-64-v2-condition): Likewise.
45724         (abi-64-v2-ld-soname): Likewise.
45725         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45726         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45731 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45732             Alan Modra  <amodra@gmail.com>
45734         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45735         New versions for use with the ELFv2 ABI.
45736         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45737         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45738         declaration.
45739         (struct La_ppc64v2_retval): Likewise.
45740         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45741         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45742         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45743         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45744         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45746         Do not save or restore CR.
45747         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45748         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45749         return values for ELFv2 ABI.  Fix location of FPR return registers.
45750         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45751         updated values for _CALL_ELF == 2.
45752         (La_regs, La_retval, int_retval): Likewise.
45754 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45756         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45757         (FRAME_MIN_SIZE_PARM): Likewise.
45758         (FRAME_BACKCHAIN): Likewise.
45759         (FRAME_CR_SAVE): Likewise.
45760         (FRAME_LR_SAVE): Likewise.
45761         (FRAME_TOC_SAVE): Likewise.
45762         (FRAME_PARM_SAVE): Likewise.
45763         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45764         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45765         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45766         (call_mcount_parm_offset): New macro.
45767         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45768         (PROF): Use symbolic stack frame offsets.
45769         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45770         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45771         Redefine in terms of FRAME_MIN_SIZE.
45772         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45773         (_dl_profile_resolve): Likewise.  Update comment.
45774         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45775         symbols stack frame offsets.
45776         (__sigsetjmp): Likewise.
45777         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45778         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45779         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45780         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45783         (FRAME_BACKCHAIN): Remove.
45784         (FRAME_CR_SAVE): Likewise.
45785         (FRAME_LR_SAVE): Likewise.
45786         (FRAME_COMPILER_DW): Likewise.
45787         (FRAME_LINKER_DW): Likewise.
45788         (FRAME_TOC_SAVE): Likewise.
45789         (FRAME_PARM_SAVE): Likewise.
45790         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45791         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45792         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45794         (CHECK_SP): Use symbolic stack frame offsets.
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45796         zone" instead of caller's parameter save area for temp storage.
45797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45798         Likewise.  Also, use symbolic stack frame offsets.
45799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45800         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45801         our own stack frame instead of the caller's.
45802         (__socket): Use symbolic stack frame offsets.
45804 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45805             Alan Modra  <amodra@gmail.com>
45807         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45808         Define.
45809         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45810         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45811         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45812         New function.
45813         (elf_machine_fixup_plt): Call it.
45814         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45815         reloc arguments.
45816         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45818         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45819         r2 before calling target.
45821 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45822             Alan Modra  <amodra@gmail.com>
45824         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45825         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45826         versions of macros to support ELFv2 ABI.
45827         (LOCALENTRY): New macro.
45828         (ENTRY, EALIGN): Use it.
45829         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45830         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45831         fall through into ENTRY entry point.
45832         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45833         Only define if _CALL_ELF != 2.
45835         (elf_machine_matches_host): Verify ABI version matches.
45836         (RTLD_START): Use LOCALENTRY.
45837         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45838         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45839         (PLT_ENTRY_WORDS): New macro.
45840         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45841         (elf_machine_runtime_setup): Support ELFv2 ABI.
45842         (elf_machine_fixup_plt): Likewise.
45843         (elf_machine_plt_conflict): Likewise.
45844         (resolve_ifunc): Likewise.
45845         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45847         Likewise.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45849         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45851         (makecontext): Support ELFv2 ABI.
45852         * elf/elf.h (EF_PPC64_ABI): Define.
45854 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45856         * sysdeps/powerpc/powerpc64/sysdep.h
45857         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45858         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45859         (ENTRY) [ASSEMBLER]: ... but instead here ...
45860         (EALIGN) [ASSEMBLER]: ... and here.
45861         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45862         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45863         (ENTRY_2) [!ASSEMBLER]: Use it.
45864         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45865         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45866         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45867         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45868         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45870         Use PPC64_LOAD_FUNCPTR.
45872         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45874 2013-12-04  Alan Modra  <amodra@gmail.com>
45876         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45877         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45878         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45879         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45882         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45883         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45884         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45885         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45886         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45888 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45891         (__makecontext): Fix incorrect CFI when backtracing out of
45892         context created via makecontext.
45893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45894         (__setcontext): Fix incorrect CFI during switch to new context.
45895         (__novec_setcontext): Likewise.
45897 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45899         [BZ #4772]
45900         * time/strptime_l.c (__strptime_internal): Allow modifiers
45901         in strptime.
45902         * time/tst-strptime.c (day_tests): Add testcase.
45904 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45906         * scripts/bench.pl: Skip over blank lines.
45908 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45910         [BZ #926]
45911         * manual/time.texi (Calendar Time): Clarify what timezone functions
45912         use.
45914 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45918 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45920         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45921         implementation.
45922         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45923         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45924         * debug/memset_chk.c (__memset_chk): Likewise.
45925         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45926         * debug/strncpy_chk.c: Likewise.
45928 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45930         [BZ #15268]
45931         [BZ #15425]
45932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45933         (__ieee754_exp): For possibly underflowing results, check size of
45934         result and force underflow exception if required.
45935         * math/auto-libm-test-in: Add more tests of exp.
45936         * math/auto-libm-test-out: Regenerated.
45937         * sysdeps/i386/fpu/libm-test-ulps: Update.
45938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45940         [BZ #16283]
45941         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45942         * math/w_exp2f.c (__exp2f): Likewise.
45943         * math/w_exp2l.c (__exp2l): Likewise.
45944         * math/auto-libm-test-in: Do not allow missing errno on exp2
45945         underflow.
45946         * math/auto-libm-test-out: Regenerated.
45948 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45950         [BZ #16274]
45951         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45952         handle filename validation.
45953         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45954         (do_open): Delete.
45956 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45958         [BZ #6786]
45959         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45960         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45961         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45962         <float.h>.
45963         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45964         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45965         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45967         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45969         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45970         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45971         Add more erfc tests.
45972         * math/auto-libm-test-out: Regenerated.
45973         * sysdeps/i386/fpu/libm-test-ulps: Update.
45974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45976         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45977         exp2, expm1, j0 and j1.
45978         * math/auto-libm-test-out: Regenerated.
45979         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45980         (erfc_test_data): Likewise.
45981         (exp_test_data): Likewise.
45982         (exp_tonearest_test_data): Likewise.
45983         (exp_towardzero_test_data): Likewise.
45984         (exp_downward_test_data): Likewise.
45985         (exp_upward_test_data): Likewise.
45986         (exp10_test_data): Likewise.
45987         (exp2_test_data): Likewise.
45988         (expm1_test_data): Likewise.
45989         (j0_test_data): Likewise.
45990         (j1_test_data): Likewise.
45991         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45992         (input_flag_type): Add flag_xfail_rounding.
45993         (input_flags): Add xfail-rounding.
45994         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45995         (output_for_one_input_case): Handle flag_xfail_rounding.
45996         * sysdeps/i386/fpu/libm-test-ulps: Update.
45997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45999 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46001         [BZ #16289]
46002         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46003         division by 0.
46005 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46007         [BZ #16195]
46008         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46009         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46010         (STAP_PROBE0): New macro.
46011         (STAP_PROBE1): Likewise.
46012         (STAP_PROBE2): Likewise.
46013         (STAP_PROBE3): Likewise.
46014         (STAP_PROBE4): Likewise.
46016 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46018         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46020 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46022         * benchtests/Makefile (bench): Add sqrt.
46023         (LDLIBS-bench-sqrt): New.
46024         * benchtests/sqrt-input: New.
46026 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46028         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46029         (GAIH_EAI): Likewise.
46030         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46031         (gaih_inet): Likewise.
46032         (getaddrinfo): Don't use GAIH_EAI.
46034         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46035         (struct gaih): Remove definition.
46037 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46039         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46040         Use HERRNOP directly.
46042 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46046 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46048         * math/gen-auto-libm-tests.c (test_functions): Add more
46049         single-argument functions.
46050         (special_fill_pi_2): New function.
46051         (special_fill_minus_pi_2): Likewise.
46052         (special_fill_pi_6): Likewise.
46053         (special_fill_minus_pi_6): Likewise.
46054         (special_fill_pi_3): Likewise.
46055         (special_fill_2pi_3): Likewise.
46056         (special_fill_e): Likewise.
46057         (special_fill_1_e): Likewise.
46058         (special_fill_e_minus_1): Likewise.
46059         (special_real_inputs): Add more special inputs.
46060         (output_for_one_input_case): Do not require ERANGE on underflow to
46061         zero if round-to-nearest result does not underflow to zero, unless
46062         exact results required.
46063         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46064         atan, atanh, cbrt, cos and cosh.
46065         * math/auto-libm-test-out: Regenerated.
46066         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46067         (acos_tonearest_test_data): Likewise.
46068         (acos_towardzero_test_data): Likewise.
46069         (acos_downward_test_data): Likewise.
46070         (acos_upward_test_data): Likewise.
46071         (acosh_test_data): Likewise.
46072         (asin_test_data): Likewise.
46073         (asin_tonearest_test_data): Likewise.
46074         (asin_towardzero_test_data): Likewise.
46075         (asin_upward_test_data): Likewise.
46076         (asinh_test_data): Likewise.
46077         (atan_test_data): Likewise.
46078         (atanh_test_data): Likewise.
46079         (cbrt_test_data): Likewise.
46080         (cos_test_data): Likewise.
46081         (cos_tonearest_test_data): Likewise.
46082         (cos_towardzero_test_data): Likewise.
46083         (cos_downward_test_data): Likewise.
46084         (cos_upward_test_data): Likewise.
46085         (cosh_test_data): Likewise.
46086         (cosh_tonearest_test_data): Likewise.
46087         (cosh_towardzero_test_data): Likewise.
46088         (cosh_downward_test_data): Likewise.
46089         (cosh_upward_test_data): Likewise.
46090         * sysdeps/i386/fpu/libm-test-ulps: Update.
46091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46093 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46095         [BZ #6787]
46096         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46097         * math/w_exp10f.c (__exp10f): Likewise.
46098         * math/w_exp10l.c (__exp10l): Likewise.
46099         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46100         errno settings in existing tests.
46102         [BZ #14032]
46103         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46104         precision control set to double precision.
46105         * sysdeps/i386/fpu/w_sqrt.c: New file.
46106         * math/auto-libm-test-in: Add more tests.
46107         * math/auto-libm-test-out: Update.
46109         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46110         (sqrt_test_tonearest): New function.
46111         (sqrt_towardzero_test_data): New variable.
46112         (sqrt_test_towardzero): New function.
46113         (sqrt_downward_test_data): New variable.
46114         (sqrt_test_downward): New function.
46115         (sqrt_upward_test_data): New variable.
46116         (sqrt_test_upward): New function.
46117         (main): Call the new functions.
46119         * math/gen-auto-libm-tests.c: New file.
46120         * math/auto-libm-test-in: Likewise.
46121         * math/auto-libm-test-out: New generated file.
46122         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46123         variables.
46124         (%beautify): Add generated representations of zero.
46125         (top level): Set $auto_input and call parse_auto_input.
46126         (beautify): Remove trailing "f" from hex float constants.
46127         (parse_args): Handle XFAIL_TEST.
46128         (convert_condition): New function.
46129         (or_value): Likewise.
46130         (or_cond_value): Likewise.
46131         (generate_testfile): Handle AUTO_TESTS_* lines.
46132         (parse_auto_input): New function.
46133         * math/libm-test.inc (XFAIL_TEST): New macro.
46134         (ERRNO_UNCHANGED): Update value.
46135         (ERRNO_EDOM): Likewise.
46136         (ERRNO_ERANGE): Likewise.
46137         (IGNORE_RESULT): Likewise.
46138         (TEST_COND_flt_32): New macro.
46139         (TEST_COND_dbl_64): Likewise.
46140         (TEST_COND_ldbl_96_intel): Likewise.
46141         (TEST_COND_ldbl_96_m68k): Likewise.
46142         (TEST_COND_ldbl_128): Likewise.
46143         (TEST_COND_ldbl_128ibm): Likewise.
46144         (TEST_COND_long32): Likewise.
46145         (TEST_COND_long64): Likewise.
46146         (TEST_COND_before_rounding): Likewise.
46147         (TEST_COND_after_rounding): Likewise.
46148         (enable_test): Handle XFAIL_TEST flag.
46149         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46150         with finite results.
46151         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46152         auto-libm-test-out.
46154 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46155             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46157         [BZ #16214]
46158         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46159         __tls_get_addr_internal instead of __tls_get_offset in order to
46160         avoid GOT pointer dependency.  Make rtld export
46161         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46162         __tls_get_addr since we are a __tls_get_offset platform.
46163         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46164         GOT pointer being set up before.
46165         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46167 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46169         * manual/math.texi (Errors in Math Functions): Document accuracy
46170         goals.
46172         [BZ #15004]
46173         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46174         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46175         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46176         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46177         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46178         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46179         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46180         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46181         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46182         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46183         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46184         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46185         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46186         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46187         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46190         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46191         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46192         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46193         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46194         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46195         Likewise.
46196         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46197         Likewise.
46198         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46199         Likewise.
46200         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46201         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46202         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46203         atomic-feupdateenv and flt-rounds.
46204         * sysdeps/powerpc/nofpu/Versions (libc): Add
46205         __atomic_feholdexcept, __atomic_feclearexcept,
46206         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46208         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46209         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46210         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46211         here.
46212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46213         Update.
46215         * manual/arith.texi (FP Exceptions): Document that exceptions may
46216         not be raised when matherr is used.
46217         (Math Error Reporting): Document overflow in directed rounding
46218         modes.  Document that errno may not be set when finite values are
46219         returned on overflow.  Document intent to set errno on underflow
46220         only for underflow to zero.
46222         [BZ #16271]
46223         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46224         round-to-nearest then adjust result for other rounding modes.
46225         * include/fenv.h (fegetround): Use libm_hidden_proto.
46226         * math/fegetround.c (fegetround): Use libm_hidden_def.
46227         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46228         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46230         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46231         Likewise.
46232         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46233         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46234         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46235         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46237 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46239         [BZ #16077]
46240         * nss/Versions (libnss_files): Add
46241         _nss_files_gethostbyname3_r.
46242         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46243         New function.
46244         (HOST_DB_LOOKUP): Remove macro.
46245         (_nss_files_gethostbyname_r): Implement function without the
46246         HOST_DB_LOOKUP macro.
46247         (_nss_files_gethostbyname2_r): Likewise.
46249 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46251         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46253 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46255         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46256         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46257         warning.
46259 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46261         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46262         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46263         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46266         __fe_nomask_env_priv and attribute_hidden.
46267         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46268         (libc_feupdateenv_test_ppc): Likewise.
46269         (libc_feresetround_ppc): Likewise.
46270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46271         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46272         compat_symbol macro.
46273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46274         (__fe_nomask_env): Likewise.
46275         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46279         * string/Makefile: Remove ifunc tests.
46280         * string/test-string.h: Define TEST_IFUNC.
46281         * string/test-bcopy-ifunc.c: Remove.
46282         * string/test-bzero-ifunc.c: Likewise.
46283         * string/test-memccpy-ifunc.c: Likewise.
46284         * string/test-memchr-ifunc.c: Likewise.
46285         * string/test-memcmp-ifunc.c: Likewise.
46286         * string/test-memcpy-ifunc.c: Likewise.
46287         * string/test-memmem-ifunc.c: Likewise.
46288         * string/test-memmove-ifunc.c: Likewise.
46289         * string/test-mempcpy-ifunc.c: Likewise.
46290         * string/test-memrchr-ifunc.c: Likewise.
46291         * string/test-memset-ifunc.c: Likewise.
46292         * string/test-rawmemchr-ifunc.c: Likewise.
46293         * string/test-stpcpy-ifunc.c: Likewise.
46294         * string/test-stpncpy-ifunc.c: Likewise.
46295         * string/test-strcasecmp-ifunc.c: Likewise.
46296         * string/test-strcasestr-ifunc.c: Likewise.
46297         * string/test-strcat-ifunc.c: Likewise.
46298         * string/test-strchr-ifunc.c: Likewise.
46299         * string/test-strchrnul-ifunc.c: Likewise.
46300         * string/test-strcmp-ifunc.c: Likewise.
46301         * string/test-strcpy-ifunc.c: Likewise.
46302         * string/test-strcspn-ifunc.c: Likewise.
46303         * string/test-strlen-ifunc.c: Likewise.
46304         * string/test-strncasecmp-ifunc.c: Likewise.
46305         * string/test-strncat-ifunc.c: Likewise.
46306         * string/test-strncmp-ifunc.c: Likewise.
46307         * string/test-strncpy-ifunc.c: Likewise.
46308         * string/test-strnlen-ifunc.c: Likewise.
46309         * string/test-strpbrk-ifunc.c: Likewise.
46310         * string/test-strrchr-ifunc.c: Likewise.
46311         * string/test-strspn-ifunc.c: Likewise.
46312         * string/test-strstr-ifunc.c: Likewise.
46314 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46316         * benchtests/Makefile: Remove ifunc tests.
46317         * benchtests/bench-string.h: Define TEST_IFUNC.
46318         * benchtests/bench-bcopy-ifunc.c: Remove.
46319         * benchtests/bench-bzero-ifunc.c: Likewise.
46320         * benchtests/bench-memccpy-ifunc.c: Likewise.
46321         * benchtests/bench-memchr-ifunc.c: Likewise.
46322         * benchtests/bench-memcmp-ifunc.c: Likewise.
46323         * benchtests/bench-memcpy-ifunc.c: Likewise.
46324         * benchtests/bench-memmem-ifunc.c: Likewise.
46325         * benchtests/bench-memmove-ifunc.c: Likewise.
46326         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46327         * benchtests/bench-memrchr-ifunc.c: Likewise.
46328         * benchtests/bench-memset-ifunc.c: Likewise.
46329         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46330         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46331         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46332         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46333         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46334         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46335         * benchtests/bench-strcat-ifunc.c: Likewise.
46336         * benchtests/bench-strchr-ifunc.c: Likewise.
46337         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46338         * benchtests/bench-strcmp-ifunc.c: Likewise.
46339         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46340         * benchtests/bench-strcpy-ifunc.c: Likewise.
46341         * benchtests/bench-strcspn-ifunc.c: Likewise.
46342         * benchtests/bench-strlen-ifunc.c: Likewise.
46343         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46344         * benchtests/bench-strncat-ifunc.c: Likewise.
46345         * benchtests/bench-strncmp-ifunc.c: Likewise.
46346         * benchtests/bench-strncpy-ifunc.c: Likewise.
46347         * benchtests/bench-strnlen-ifunc.c: Likewise.
46348         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46349         * benchtests/bench-strrchr-ifunc.c: Likewise.
46350         * benchtests/bench-strsep-ifunc.c: Likewise.
46351         * benchtests/bench-strspn-ifunc.c: Likewise.
46352         * benchtests/bench-strstr-ifunc.c: Likewise.
46354 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46356         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46358 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46360         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46361         * rt/aio.h: Likewise.
46362         * sysdeps/gnu/bits/utmp.h: Likewise.
46363         * sysdeps/gnu/bits/utmpx.h: Likewise.
46364         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46365         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46366         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46367         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46368         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46369         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46370         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46371         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46372         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46373         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46374         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46375         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46376         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46378         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46379         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46380         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46381         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46382         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46383         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46384         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46385         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46386         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46387         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46388         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46390         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46391         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46392         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46393         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46394         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46395         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46396         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46398         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46399         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46400         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46401         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46402         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46403         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46404         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46405         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46407 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46409         [BZ #16245]
46410         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46411         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46413 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46415         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46416         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46417         Likewise.
46419 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46422         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46423         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46424         (__fesetround): Remove define.
46425         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46426         rounding and exceptions handling.
46427         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46428         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46429         (__fe_nomask_env): Likewise.
46430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46431         __fegetround instead of fegetround.
46432         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46433         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46435 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46437         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46438         it's there.
46440         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46442 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46444         [BZ #11157]
46445         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46446         (encrypt_r): Likewise.
46447         * malloc/obstack.h (obstack_free): Likewise.
46448         * posix/unistd.h (encrypt): Likewise.
46450 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46452         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46453         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46454         DL_CALL_DT_FINI() that call the functions directly.
46455         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46456         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46457         * elf/dl-fini.c: Likewise.
46459 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46461         * malloc/hooks.c (memalign_check): Add alignment rounding.
46462         * malloc/malloc.c (_mid_memalign): New function.
46463         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46464         Implement by calling _mid_memalign.
46465         * manual/probes.texi (Memory Allocation Probes): Remove
46466         memory_valloc_retry and memory_pvalloc_retry.
46468 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46470         * locale/programs/locarchive.c (open_archive): Add const
46471         qualifier to ARCHIVEFNAME and copy default fname to
46472         DEFAULT_FNAME.
46474         [BZ #15601]
46475         * libio/tst-widetext.input: Rename Oriya to Odia.
46476         * locale/iso-639.def: Likewise.
46478         * manual/probes.texi (Mathematical Function Probes): Add
46479         documentation for sin, cos, asin and acos probes.
46480         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46481         (__sin32): Add slowasin probe.
46482         (__cos32): Add slowacos probe.
46483         (__mpsin): Add slowsin probe.
46484         (__mpcos): Add slowcos probe.
46486 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46488         [BZ #15483]
46489         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46490         thread-local __sim_exceptions_thread and global
46491         __sim_exceptions_global.
46492         (__sim_disabled_exceptions): Change to thread-local
46493         __sim_disabled_exceptions_thread and global
46494         __sim_disabled_exceptions_global.
46495         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46496         and global __sim_round_mode_global.
46497         (__simulate_exceptions): Use thread-local floating-point state and
46498         set global state from it as needed.
46499         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46500         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46501         __sim_round_mode_thread.
46502         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46503         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46504         and global __sim_exceptions_global.
46505         (__sim_disabled_exceptions): Change to thread-local
46506         __sim_disabled_exceptions_thread and global
46507         __sim_disabled_exceptions_global.
46508         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46509         and global __sim_round_mode_global.
46510         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46511         (SIM_SET_GLOBAL): Likewise.
46512         * sysdeps/powerpc/soft-fp/sfp-machine.h
46513         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46514         __sim_round_mode_thread.
46515         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46516         __sim_disabled_exceptions_thread.
46517         (__sim_exceptions): Change to __sim_exceptions_thread.
46518         (__sim_disabled_exceptions): Change to
46519         __sim_disabled_exceptions_thread.
46520         (__sim_round_mode): Change to __sim_round_mode_thread.
46521         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46522         thread-local floating-point state and set global state from it as
46523         needed.
46524         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46525         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46526         (__sim_disabled_exceptions): Remove extern declaration.
46527         (feenableexcept): Use thread-local floating-point state and set
46528         global state from it as needed.
46529         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46530         extern declaration.
46531         (__sim_disabled_exceptions): Likewise.
46532         (__sim_round_mode): Likewise.
46533         (__fegetenv): Use thread-local floating-point state.
46534         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46535         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46536         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46537         floating-point state and set global state from it as needed.
46538         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46539         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46540         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46541         Likewise.
46542         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46543         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46544         Likewise.
46545         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46546         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46547         Use __sim_round_mode_thread.
46548         * math/test-fenv-tls.c: New file.
46549         * math/Makefile (tests): Add test-fenv-tls.
46550         ($(objpfx)test-fenv-tls): Depend on
46551         $(common-objpfx)nptl/libpthread.so.
46553 2013-11-19  Andreas Schwab  <schwab@suse.de>
46555         * locale/programs/locale.c (show_info): Decode wordarray elements.
46556         * locale/categories.def (LC_MONETARY): Add element for
46557         _NL_MONETARY_CRNCYSTR.
46558         * locale/C-monetary.c (conversion_rate): New variable.
46559         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46560         element.
46562 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46564         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46565         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46567 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46569         * elf/Makefile (tst-auxv): New test.
46570         * elf/tst-auxv.c: New
46571         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46573 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46575         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46576         (hidden_proto): Caller changed.
46577         (hidden_tls_proto): New macro.
46578         (libc_hidden_tls_proto): Likewise.
46579         (rtld_hidden_tls_proto): Likewise.
46580         (libm_hidden_tls_proto): Likewise.
46581         (libresolv_hidden_tls_proto): Likewise.
46582         (librt_hidden_tls_proto): Likewise.
46583         (libdl_hidden_tls_proto): Likewise.
46584         (libnss_files_hidden_tls_proto): Likewise.
46585         (libnsl_hidden_tls_proto): Likewise.
46586         (libnss_nisplus_hidden_tls_proto): Likewise.
46587         (libutil_hidden_tls_proto): Likewise.
46589 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46591         [BZ #10253]
46592         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46593         (decompose_rpath): Defer expansion to fillin_rpath.
46594         (_dl_init_paths): Pass linkmap to fillin_rpath.
46596 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46598         * benchtests/Makefile: Add strsep.
46599         * benchtests/bench-strsep.c: New file: strsep benchtest.
46600         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46602 2013-11-18  Andreas Schwab  <schwab@suse.de>
46604         * locale/programs/locale.c (show_info) [case byte]: Check for
46605         '\377' instead of '\177'.
46606         * locale/C-monetary.c (not_available): Always use "\377".
46607         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46608         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46609         detect unavailable sign_posn locale elements.
46610         * locale/localeconv.c (__localeconv): For grouping and
46611         mon_grouping handle "\177" and "\377" like no grouping.
46612         (INT_ELEM): New macro.  Use it to set all numeric members.
46613         * locale/programs/ld-monetary.c (monetary_read)
46614         <tok_mon_grouping>: Normalize single -1 to the empty string.
46615         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46616         Likewise.
46618 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46620         [BZ #16055]
46621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46622         when we match (nil).
46623         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46625 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46627         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46628         (NO_TEST_INLINE): Update value.
46629         (ERRNO_UNCHANGED): Likewise.
46630         (ERRNO_EDOM): Likewise.
46631         (ERRNO_ERANGE): Likewise.
46632         (IGNORE_RESULT): Likewise.
46633         (check_float_internal): Check signs of NaN results if
46634         TEST_NAN_SIGN used.
46635         (check_complex): Pass TEST_NAN_SIGN flag through to second
46636         check_float_internal call.
46637         (copysign_test_data): Add tests with quiet NaNs as second
46638         argument.  Use TEST_NAN_SIGN.
46639         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46640         TEST_NAN_SIGN.
46641         (signbit_test_data): Add tests of quiet NaN argument.
46642         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46644         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46645         $ignore_result.
46646         (parse_args): Handle function results specified as IGNORE.
46647         * math/libm-test.inc (IGNORE_RESULT): New macro.
46648         (check_float_internal): Do not check numerical result if flag
46649         IGNORE_RESULT set.
46650         (check_complex): Pass through IGNORE_RESULT to second
46651         check_float_internal call.
46652         (check_int): Do not check numerical result if flag IGNORE_RESULT
46653         set.
46654         (check_long): Likewise.
46655         (check_bool): Likewise.
46656         (check_longlong): Likewise.
46657         (lrint_test_data): Add tests of infinite and NaN arguments.
46658         (lrint_tonearest_test_data): Likewise.
46659         (lrint_towardzero_test_data): Likewise.
46660         (lrint_downward_test_data): Likewise.
46661         (lrint_upward_test_data): Likewise.
46662         (llrint_test_data): Likewise.
46663         (llrint_tonearest_test_data): Likewise.
46664         (llrint_towardzero_test_data): Likewise.
46665         (llrint_downward_test_data): Likewise.
46666         (llrint_upward_test_data): Likewise.
46667         (lround_test_data): Likewise.
46668         (llround_test_data): Likewise.
46670         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46671         (ERRNO_UNCHANGED): Update value.
46672         (ERRNO_EDOM): Likewise.
46673         (ERRNO_ERANGE): Likewise.
46674         (NO_TEST_INLINE_FLOAT): New macro.
46675         (NO_TEST_INLINE_DOUBLE): Likewise.
46676         (enable_test): New function.
46677         (RUN_TEST_f_f): Check enable_test before running test.
46678         (RUN_TEST_2_f): Likewise.
46679         (RUN_TEST_fff_f): Likewise.
46680         (RUN_TEST_c_f): Likewise.
46681         (RUN_TEST_f_f1): Likewise.
46682         (RUN_TEST_fF_f1): Likewise.
46683         (RUN_TEST_fI_f1): Likewise.
46684         (RUN_TEST_ffI_f1): Likewise.
46685         (RUN_TEST_c_c): Likewise.
46686         (RUN_TEST_cc_c): Likewise.
46687         (RUN_TEST_f_i): Likewise.
46688         (RUN_TEST_f_i_tg): Likewise.
46689         (RUN_TEST_ff_i_tg): Likewise.
46690         (RUN_TEST_f_b): Likewise.
46691         (RUN_TEST_f_b_tg): Likewise.
46692         (RUN_TEST_f_l): Likewise.
46693         (RUN_TEST_f_L): Likewise.
46694         (RUN_TEST_fFF_11): Likewise.
46695         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46696         conditionals.
46697         (cosh_test_data): Likewise.
46698         (exp_test_data): Likewise.
46699         (expm1_test_data): Likewise.
46700         (hypot_test_data): Likewise.
46701         (pow_test_data): Likewise.
46702         (sinh_test_data): Likewise.
46703         (tanh_test_data): Likewise.
46704         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46705         flags argument.
46707         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46708         tests with quiet NaN input and output.
46709         (acosh_test_data): Likewise.
46710         (asin_test_data): Likewise.
46711         (asinh_test_data): Likewise.
46712         (atan_test_data): Likewise.
46713         (atanh_test_data): Likewise.
46714         (atan2_test_data): Likewise.
46715         (cbrt_test_data): Likewise.
46716         (cos_test_data): Likewise.
46717         (cosh_test_data): Likewise.
46718         (erf_test_data): Likewise.
46719         (erfc_test_data): Likewise.
46720         (exp_test_data): Likewise.
46721         (exp10_test_data): Likewise.
46722         (exp2_test_data): Likewise.
46723         (expm1_test_data): Likewise.
46724         (hypot_test_data): Likewise.
46725         (j0_test_data): Likewise.
46726         (j1_test_data): Likewise.
46727         (jn_test_data): Likewise.
46728         (lgamma_test_data): Likewise.
46729         (log_test_data): Likewise.
46730         (log10_test_data): Likewise.
46731         (log1p_test_data): Likewise.
46732         (log2_test_data): Likewise.
46733         (pow_test_data): Likewise.
46734         (scalb_test_data): Likewise.
46735         (sin_test_data): Likewise.
46736         (sincos_test_data): Likewise.
46737         (sinh_test_data): Likewise.
46738         (tan_test_data): Likewise.
46739         (tanh_test_data): Likewise.
46740         (tgamma_test_data): Likewise.
46741         (y0_test_data): Likewise.
46742         (y1_test_data): Likewise.
46743         (yn_test_data): Likewise.
46745         [BZ #16167]
46746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46747         argument being NaN and avoid computations with second argument in
46748         that case.
46749         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46750         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46753 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46755         * locale/iso-639.def: Add Chitwani Tharu (the).
46757 2013-11-14  Andreas Schwab  <schwab@suse.de>
46759         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46760         word instead of empty string.
46762 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46765         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46767         (__fe_nomask_env): Likewise.
46769 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46771         * benchtests/bench-timing.h: Include time.h.
46773 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46775         [BZ #15997]
46776         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46777         to 3.4.0 for x32.
46778         * sysdeps/unix/sysv/linux/configure: Regenerated.
46780 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46782         [BZ #16151]
46783         * stdlib/strtod_l.c (round_and_return): Do not consider
46784         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46785         exponent one less than half the least subnormal exponent.
46786         * stdlib/test-strtod-round-data: Add more tests.
46787         * stdlib/tst-strtod-round.c (tests): Regenerated.
46789 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46791         [BZ #14143]
46792         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46793         (__fe_mask_env): Likewise.
46794         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46795         libm_hidden_proto and add function prototype.
46796         (__fe_mask_env): Add function prototype.
46797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46798         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46800         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46802         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46804 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46806         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46807         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46809 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46811         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46812         of htab_find_slot().
46814 2013-11-11  David S. Miller  <davem@davemloft.net>
46816         [BZ #16150]
46817         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46818         symbol in the non-vis3 case in static builds.
46819         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46820         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46821         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46822         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46824 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46826         [BZ #387]
46827         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46828         it is empty.
46830 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46832         * benchtests/Makefile: Add bench-strtod.
46833         * benchtests/bench-strtod.c: New file: strtod benchtest
46835 2013-11-11  Andreas Schwab  <schwab@suse.de>
46837         [BZ #16153]
46838         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46839         terminating NUL in key length.
46841 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46844         Add artificial ODP entry for vDSO symbol for PPC64.
46845         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46846         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46848 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46850         [BZ #15374]
46851         * nss/getent.c (services_keys): Recognize services starting with digit.
46853 2013-11-06  David S. Miller  <davem@davemloft.net>
46855         [BZ #15985]
46856         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46857         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46859 2013-11-06  Will Newton  <will.newton@linaro.org>
46861         * manual/memory.texi (Malloc Examples): Remove register
46862         keyword from examples.
46864 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46866         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46868 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46870         [BZ #6981]
46871         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46872         depending on [__GCC_IEC_559 > 0].
46873         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46874         depending on [__GCC_IEC_559_COMPLEX > 0].
46876 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46878         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46879         to iso-639.def.
46881 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46883         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46885 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46887         [BZ #16112]
46888         * malloc/malloc (malloc_info): Do not handle first bin as
46889         special case.
46891 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46893         * locale/iso-639.def: Add Central Nahuatl (nhn).
46895 2013-11-01  Bruno Haible  <bruno@clisp.org>
46897         [BZ #7003]
46898         * manual/math.texi (BSD Random): Specify range upper bound as
46899         in POSIX.
46901 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46903         * locale/iso-639.def: Add Meadow Mari (mhr).
46905 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46907         [BZ #14752], [BZ #15763]
46908         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46909         Validate name.
46910         * rt/tst_shm.c: Add test for escaping directory.
46912 2013-10-31  Andreas Schwab  <schwab@suse.de>
46914         [BZ #15917]
46915         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46916         followed by 'x' as part of digit sequence.
46917         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46919 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46921         [BZ #16037]
46922         * configure.ac: allow GNU Make 4.0 and greater.
46923         * configure: Regenerated.
46925 2013-10-30  Will Newton  <will.newton@linaro.org>
46927         [BZ #16038]
46928         * malloc/hooks.c (memalign_check): Limit alignment to the
46929         maximum representable power of two.
46930         * malloc/malloc.c (__libc_memalign): Likewise.
46931         * malloc/tst-memalign.c (do_test): Add test for very
46932         large alignment values.
46933         * malloc/tst-posix_memalign.c (do_test): Likewise.
46935 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46937         [BZ #11087]
46938         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46939         (munmap_chunk): Likewise.
46940         (mremap_chunk): Likewise.
46942 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46944         [BZ #15799]
46945         * stdlib/div.c (div): Remove obsolete code.
46946         * stdlib/ldiv.c (ldiv): Likewise.
46947         * stdlib/lldiv.c (lldiv): Likewise.
46949 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46951         [BZ #16071]
46952         * nss/nss_files/files-XXX.c (get_contents_ret): New
46953         enumerator.
46954         (get_contents): New function.
46955         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46957 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46959         * configure.in: Moved to ...
46960         * configure.ac: ... here. Change reference to configure.in
46961         to configure.ac.
46962         * sysdeps/arm/preconfigure.ac: ... here.
46963         configure.in to configure.ac.
46964         * sysdeps/gnu/configure.in: Moved to ...
46965         * sysdeps/gnu/configure.ac: ... here.
46966         * sysdeps/i386/configure.in: Moved to ...
46967         * sysdeps/i386/configure.ac: ... here.
46968         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46969         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46970         * sysdeps/mach/configure.in: Moved to ...
46971         * sysdeps/mach/configure.ac: ... here.
46972         * sysdeps/mach/hurd/configure.in: Moved to ...
46973         * sysdeps/mach/hurd/configure.ac: ... here.
46974         * sysdeps/powerpc/configure.in: Moved to ...
46975         * sysdeps/powerpc/configure.ac: ... here.
46976         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46977         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46978         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46979         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46980         * sysdeps/s390/s390-32/configure.in: Moved to ...
46981         * sysdeps/s390/s390-32/configure.ac: ... here.
46982         * sysdeps/s390/s390-64/configure.in: Moved to ...
46983         * sysdeps/s390/s390-64/configure.ac: ... here.
46984         * sysdeps/sh/configure.in: Moved to ...
46985         * sysdeps/sh/configure.ac: ... here.
46986         * sysdeps/sparc/configure.in: Moved to ...
46987         * sysdeps/sparc/configure.ac: ... here.
46988         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46989         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46990         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46991         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46992         * sysdeps/x86_64/configure.in: Moved to ...
46993         * sysdeps/x86_64/configure.ac: ... here.
46994         * sysdeps/x86_64/preconfigure.in: Moved to ...
46995         * sysdeps/x86_64/preconfigure.ac: ... here.
46996         * aclocal.m4: Change reference to configure.in to configure.ac.
46997         * config.h.in: Likewise.
46998         * manual/install.texi: Likewise.
46999         * manual/maint.texi: Likewise.
47000         * Makefile: Likewise.
47001         * malloc/Makefile: Likewise.
47002         * nscd/Makefile: Likewise.
47003         * Makeconfig: Change reference to configure.in and
47004         preconfigure.in to configure.ac and preconfigure.ac
47005         respectively.
47006         * INSTALL: Regenerated.
47007         * configure: Likewise.
47008         * sysdeps/gnu/configure: Likewise.
47009         * sysdeps/i386/configure: Likewise.
47010         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47011         * sysdeps/mach/configure: Likewise.
47012         * sysdeps/mach/hurd/configure: Likewise.
47013         * sysdeps/powerpc/configure: Likewise.
47014         * sysdeps/powerpc/powerpc32/configure: Likewise.
47015         * sysdeps/powerpc/powerpc64/configure: Likewise.
47016         * sysdeps/s390/s390-32/configure: Likewise.
47017         * sysdeps/s390/s390-64/configure: Likewise.
47018         * sysdeps/sh/configure: Likewise.
47019         * sysdeps/sparc/configure: Likewise.
47020         * sysdeps/unix/sysv/linux/configure: Likewise.
47021         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47022         * sysdeps/x86_64/configure: Likewise.
47023         * sysdeps/x86_64/preconfigure: Likewise.
47025 2013-10-29  Andreas Schwab  <schwab@suse.de>
47027         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47029 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47031         * benchtests/pow-inputs: Add new inputs.
47033         * benchtests/exp-inputs: Add new inputs.
47035         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47036         conditional check for return value.
47037         (__cos32): Likewise.
47039 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47041         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47042         to provide a boost for large inputs with word alignment.
47043         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47044         implementation based on optimized PPC64 strcpy.
47045         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47046         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47047         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47048         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47050 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47052         [BZ #2801]
47053         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47055 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47057         [BZ #14876]
47058         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47059         * time/tst-strptime.c (day_tests): Add testcase.
47061 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47063         [BZ #14029]
47064         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47066 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47068         [BZ #16074]
47069         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47070         MAP_FAILED on error.
47072 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47074         [BZ #16072]
47075         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47076         heap for large requests.
47078 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47080         [BZ #9954]
47081         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47082         result if the result has no associated interface.
47083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47084         interface for all 127.X.Y.Z addresses.
47086 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47088         * locale/iso-639.def: Add Ligurian (lij)
47090 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47092         [BZ #15825]
47093         * sunrpc/rpc_main.c: Document rpcgen -5.
47095 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47097         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47099 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47101         [BZ #10278]
47102         * posix/glob.c: Match only directories when trailing slash is present.
47103         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47104         (main): Add testcase.
47106 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47108         [BZ #15670]
47109         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47111 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47113         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47114         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47115         AUTH_DES and cindex for FIPS 140-2.
47116         (DES Encryption): Add cindex FIPS 46-3.
47118         * locale/locarchive.h (struct locarhandle): Add fname.
47119         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47120         if an optional argument was specified to --list-archive,
47121         otherwise NULL.
47122         * locale/programs/locarchive.c (show_archive_content): Take new
47123         argument fname and pass it via ah.fname to open_archive.
47124         * locale/programs/localedef.h: Update decl.
47125         (open_archive): If AH->fname is non-null, open that file
47126         rather than the default file name, and don't ignore ENOENT.
47127         (create_archive): Set AH.fname to NULL.
47128         (delete_locales_from_archive): Likewise.
47129         (add_locales_to_archive): Likewise.
47130         * locale/programs/locfile.c (write_all_categories): Likewise.
47132 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47133             Aldy Hernandez  <aldyh@redhat.com>
47135         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47136         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47137         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47138         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47139         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47143         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47144         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47147         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47148         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47149         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47150         Likewise.
47151         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47152         Likewise.
47153         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47154         Likewise.
47155         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47156         Likewise.
47157         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47158         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47159         Likewise.
47160         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47161         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47162         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47163         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47164         Likewise.
47165         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47166         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47167         * sysdeps/powerpc/preconfigure: Likewise.
47168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47169         Likewise.
47170         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47171         Replace contents of file by #include of <fenv_libc.h>.
47172         * sysdeps/powerpc/soft-fp/sfp-machine.h
47173         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47174         and <sys/prctl.h>.
47175         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47180         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47188         Allow copysignl PLT reference to be missing.
47190 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47191             Joseph Myers  <joseph@codesourcery.com
47193         [BZ #15948]
47194         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47195         single character.
47196         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47198 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47200         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47201         * elf/tst-tls1.c: Likewise.
47202         * elf/tst-tls10.h: Likewise.
47203         * elf/tst-tls14.c: Likewise.
47204         * elf/tst-tls2.c: Likewise.
47205         * elf/tst-tls3.c: Likewise.
47206         * elf/tst-tls4.c: Likewise.
47207         * elf/tst-tls5.c: Likewise.
47208         * elf/tst-tls6.c: Likewise.
47209         * elf/tst-tls7.c: Likewise.
47210         * elf/tst-tls8.c: Likewise.
47211         * elf/tst-tls9.c: Likewise.
47212         * elf/tst-tlsmod1.c: Likewise.
47213         * elf/tst-tlsmod13.c: Likewise.
47214         * elf/tst-tlsmod13a.c: Likewise.
47215         * elf/tst-tlsmod14a.c: Likewise.
47216         * elf/tst-tlsmod16a.c: Likewise.
47217         * elf/tst-tlsmod16b.c: Likewise.
47218         * elf/tst-tlsmod2.c: Likewise.
47219         * elf/tst-tlsmod3.c: Likewise.
47220         * elf/tst-tlsmod4.c: Likewise.
47221         * elf/tst-tlsmod5.c: Likewise.
47222         * elf/tst-tlsmod6.c: Likewise.
47224 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47226         [BZ #12486]
47227         * malloc/malloc.c: remove checks for statistics.
47229 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47231         [BZ #15277]
47232         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47233         * inet/tst-network.c: Add testcase.
47235 2013-10-17  Andreas Schwab  <schwab@suse.de>
47237         [BZ #15218]
47238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47239         to determine canonical name.
47241 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47243         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47244         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47245         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47246         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47249         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47251         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47252         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47253         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47254         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47255         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47256         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47258         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47260         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47261         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47266         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47267         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47268         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47269         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47270         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47271         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47272         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47273         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47275         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47276         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47277         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47278         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47279         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47280         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47281         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47282         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47283         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47284         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47285         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47286         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47287         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47288         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47289         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47290         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47291         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47292         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47293         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47294         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47295         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47296         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47298         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47300         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47302 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47304         [BZ #16041]
47305         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47306         make result into a quiet NaN.
47308 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47310         * soft-fp/adddf3.c: Fix horizontal whitespace.
47311         * soft-fp/addsf3.c: Likewise.
47312         * soft-fp/addtf3.c: Likewise.
47313         * soft-fp/divdf3.c: Likewise.
47314         * soft-fp/divsf3.c: Likewise.
47315         * soft-fp/divtf3.c: Likewise.
47316         * soft-fp/double.h: Likewise.
47317         * soft-fp/eqdf2.c: Likewise.
47318         * soft-fp/eqsf2.c: Likewise.
47319         * soft-fp/eqtf2.c: Likewise.
47320         * soft-fp/extenddftf2.c: Likewise.
47321         * soft-fp/extended.h: Likewise.
47322         * soft-fp/extendsfdf2.c: Likewise.
47323         * soft-fp/extendsftf2.c: Likewise.
47324         * soft-fp/extendxftf2.c: Likewise.
47325         * soft-fp/fixdfdi.c: Likewise.
47326         * soft-fp/fixdfsi.c: Likewise.
47327         * soft-fp/fixdfti.c: Likewise.
47328         * soft-fp/fixsfdi.c: Likewise.
47329         * soft-fp/fixsfsi.c: Likewise.
47330         * soft-fp/fixsfti.c: Likewise.
47331         * soft-fp/fixtfdi.c: Likewise.
47332         * soft-fp/fixtfsi.c: Likewise.
47333         * soft-fp/fixtfti.c: Likewise.
47334         * soft-fp/fixunsdfdi.c: Likewise.
47335         * soft-fp/fixunsdfsi.c: Likewise.
47336         * soft-fp/fixunsdfti.c: Likewise.
47337         * soft-fp/fixunssfdi.c: Likewise.
47338         * soft-fp/fixunssfsi.c: Likewise.
47339         * soft-fp/fixunssfti.c: Likewise.
47340         * soft-fp/fixunstfdi.c: Likewise.
47341         * soft-fp/fixunstfsi.c: Likewise.
47342         * soft-fp/fixunstfti.c: Likewise.
47343         * soft-fp/floatdidf.c: Likewise.
47344         * soft-fp/floatdisf.c: Likewise.
47345         * soft-fp/floatditf.c: Likewise.
47346         * soft-fp/floatsidf.c: Likewise.
47347         * soft-fp/floatsisf.c: Likewise.
47348         * soft-fp/floatsitf.c: Likewise.
47349         * soft-fp/floattidf.c: Likewise.
47350         * soft-fp/floattisf.c: Likewise.
47351         * soft-fp/floattitf.c: Likewise.
47352         * soft-fp/floatundidf.c: Likewise.
47353         * soft-fp/floatundisf.c: Likewise.
47354         * soft-fp/floatunditf.c: Likewise.
47355         * soft-fp/floatunsidf.c: Likewise.
47356         * soft-fp/floatunsisf.c: Likewise.
47357         * soft-fp/floatunsitf.c: Likewise.
47358         * soft-fp/floatuntidf.c: Likewise.
47359         * soft-fp/floatuntisf.c: Likewise.
47360         * soft-fp/floatuntitf.c: Likewise.
47361         * soft-fp/fmadf4.c: Likewise.
47362         * soft-fp/fmasf4.c: Likewise.
47363         * soft-fp/fmatf4.c: Likewise.
47364         * soft-fp/gedf2.c: Likewise.
47365         * soft-fp/gesf2.c: Likewise.
47366         * soft-fp/getf2.c: Likewise.
47367         * soft-fp/ledf2.c: Likewise.
47368         * soft-fp/lesf2.c: Likewise.
47369         * soft-fp/letf2.c: Likewise.
47370         * soft-fp/muldf3.c: Likewise.
47371         * soft-fp/mulsf3.c: Likewise.
47372         * soft-fp/multf3.c: Likewise.
47373         * soft-fp/negdf2.c: Likewise.
47374         * soft-fp/negsf2.c: Likewise.
47375         * soft-fp/negtf2.c: Likewise.
47376         * soft-fp/op-1.h: Likewise.
47377         * soft-fp/op-2.h: Likewise.
47378         * soft-fp/op-4.h: Likewise.
47379         * soft-fp/op-8.h: Likewise.
47380         * soft-fp/op-common.h: Likewise.
47381         * soft-fp/quad.h: Likewise.
47382         * soft-fp/single.h: Likewise.
47383         * soft-fp/soft-fp.h: Likewise.
47384         * soft-fp/sqrtdf2.c: Likewise.
47385         * soft-fp/sqrtsf2.c: Likewise.
47386         * soft-fp/sqrttf2.c: Likewise.
47387         * soft-fp/subdf3.c: Likewise.
47388         * soft-fp/subsf3.c: Likewise.
47389         * soft-fp/subtf3.c: Likewise.
47390         * soft-fp/truncdfsf2.c: Likewise.
47391         * soft-fp/trunctfdf2.c: Likewise.
47392         * soft-fp/trunctfsf2.c: Likewise.
47393         * soft-fp/trunctfxf2.c: Likewise.
47394         * soft-fp/unorddf2.c: Likewise.
47395         * soft-fp/unordsf2.c: Likewise.
47396         * soft-fp/unordtf2.c: Likewise.
47398 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47400         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47401         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47403 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47405         * elf/dl-libc.c: Clear initfini list after freeing.
47407 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47409         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47410         * soft-fp/addsf3.c: Likewise.
47411         * soft-fp/addtf3.c: Likewise.
47412         * soft-fp/divdf3.c: Likewise.
47413         * soft-fp/divsf3.c: Likewise.
47414         * soft-fp/divtf3.c: Likewise.
47415         * soft-fp/double.h: Likewise.
47416         * soft-fp/eqdf2.c: Likewise.
47417         * soft-fp/eqsf2.c: Likewise.
47418         * soft-fp/eqtf2.c: Likewise.
47419         * soft-fp/extenddftf2.c: Likewise.
47420         * soft-fp/extended.h: Likewise.
47421         * soft-fp/extendsfdf2.c: Likewise.
47422         * soft-fp/extendsftf2.c: Likewise.
47423         * soft-fp/extendxftf2.c: Likewise.
47424         * soft-fp/fixdfdi.c: Likewise.
47425         * soft-fp/fixdfsi.c: Likewise.
47426         * soft-fp/fixdfti.c: Likewise.
47427         * soft-fp/fixsfdi.c: Likewise.
47428         * soft-fp/fixsfsi.c: Likewise.
47429         * soft-fp/fixsfti.c: Likewise.
47430         * soft-fp/fixtfdi.c: Likewise.
47431         * soft-fp/fixtfsi.c: Likewise.
47432         * soft-fp/fixtfti.c: Likewise.
47433         * soft-fp/fixunsdfdi.c: Likewise.
47434         * soft-fp/fixunsdfsi.c: Likewise.
47435         * soft-fp/fixunsdfti.c: Likewise.
47436         * soft-fp/fixunssfdi.c: Likewise.
47437         * soft-fp/fixunssfsi.c: Likewise.
47438         * soft-fp/fixunssfti.c: Likewise.
47439         * soft-fp/fixunstfdi.c: Likewise.
47440         * soft-fp/fixunstfsi.c: Likewise.
47441         * soft-fp/fixunstfti.c: Likewise.
47442         * soft-fp/floatdidf.c: Likewise.
47443         * soft-fp/floatdisf.c: Likewise.
47444         * soft-fp/floatditf.c: Likewise.
47445         * soft-fp/floatsidf.c: Likewise.
47446         * soft-fp/floatsisf.c: Likewise.
47447         * soft-fp/floatsitf.c: Likewise.
47448         * soft-fp/floattidf.c: Likewise.
47449         * soft-fp/floattisf.c: Likewise.
47450         * soft-fp/floattitf.c: Likewise.
47451         * soft-fp/floatundidf.c: Likewise.
47452         * soft-fp/floatundisf.c: Likewise.
47453         * soft-fp/floatunsidf.c: Likewise.
47454         * soft-fp/floatunsisf.c: Likewise.
47455         * soft-fp/floatuntidf.c: Likewise.
47456         * soft-fp/floatuntisf.c: Likewise.
47457         * soft-fp/floatuntitf.c: Likewise.
47458         * soft-fp/fmadf4.c: Likewise.
47459         * soft-fp/fmasf4.c: Likewise.
47460         * soft-fp/fmatf4.c: Likewise.
47461         * soft-fp/gedf2.c: Likewise.
47462         * soft-fp/gesf2.c: Likewise.
47463         * soft-fp/getf2.c: Likewise.
47464         * soft-fp/ledf2.c: Likewise.
47465         * soft-fp/lesf2.c: Likewise.
47466         * soft-fp/letf2.c: Likewise.
47467         * soft-fp/muldf3.c: Likewise.
47468         * soft-fp/mulsf3.c: Likewise.
47469         * soft-fp/multf3.c: Likewise.
47470         * soft-fp/negdf2.c: Likewise.
47471         * soft-fp/negsf2.c: Likewise.
47472         * soft-fp/negtf2.c: Likewise.
47473         * soft-fp/op-1.h: Likewise.
47474         * soft-fp/op-2.h: Likewise.
47475         * soft-fp/op-4.h: Likewise.
47476         * soft-fp/op-8.h: Likewise.
47477         * soft-fp/op-common.h: Likewise.
47478         * soft-fp/quad.h: Likewise.
47479         * soft-fp/single.h: Likewise.
47480         * soft-fp/soft-fp.h: Likewise.
47481         * soft-fp/sqrtdf2.c: Likewise.
47482         * soft-fp/sqrtsf2.c: Likewise.
47483         * soft-fp/sqrttf2.c: Likewise.
47484         * soft-fp/subdf3.c: Likewise.
47485         * soft-fp/subsf3.c: Likewise.
47486         * soft-fp/subtf3.c: Likewise.
47487         * soft-fp/truncdfsf2.c: Likewise.
47488         * soft-fp/trunctfdf2.c: Likewise.
47489         * soft-fp/trunctfsf2.c: Likewise.
47490         * soft-fp/trunctfxf2.c: Likewise.
47491         * soft-fp/unorddf2.c: Likewise.
47492         * soft-fp/unordsf2.c: Likewise.
47493         * soft-fp/unordtf2.c: Likewise.
47495 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47497         [BZ #15672]
47498         * misc/error.c (error_tail): Fix possible buffer overflow.
47500 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47502         [BZ #13028]
47503         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47504         address.
47506 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47508         [BZ #832]
47509         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47510         testing pipefail option.
47512 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47514         * soft-fp/double.h: Indent preprocessor directives inside #if.
47515         * soft-fp/extended.h: Likewise.
47516         * soft-fp/op-2.h: Likewise.
47517         * soft-fp/op-4.h: Likewise.
47518         * soft-fp/op-common.h: Likewise.
47519         * soft-fp/quad.h: Likewise.
47520         * soft-fp/single.h: Likewise.
47521         * soft-fp/soft-fp.h: Likewise.
47523 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47525         * iconv/iconv_prog.c: Fix typos.
47526         * stdio-common/psiginfo-data.h: Likewise.
47528 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47530         [BZ #15764]
47531         * locale/setlocale.c: Fix typo.
47533 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47535         [BZ #16036]
47536         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47537         signaling NaN arguments.
47538         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47539         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47541         [BZ #14910]
47542         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47543         unordered operands.
47544         * soft-fp/gesf2.c (__gesf2): Likewise.
47545         * soft-fp/getf2.c (__getf2): Likewise.
47546         * soft-fp/ledf2.c (__ledf2): Likewise.
47547         * soft-fp/lesf2.c (__lesf2): Likewise.
47548         * soft-fp/letf2.c (__letf2): Likewise.
47550         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47551         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47552         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47553         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47554         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47555         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47556         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47557         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47558         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47559         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47560         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47561         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47562         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47563         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47564         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47565         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47566         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47567         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47568         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47569         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47570         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47571         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47572         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47573         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47574         * soft-fp/floattidf.c (__floattidf): Likewise.
47575         * soft-fp/floattisf.c (__floattisf): Likewise.
47576         * soft-fp/floattitf.c (__floattitf): Likewise.
47577         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47578         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47579         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47580         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47581         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47582         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47583         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47584         * soft-fp/gesf2.c (__gesf2): Likewise.
47585         * soft-fp/getf2.c (__getf2): Likewise.
47586         * soft-fp/ledf2.c (__ledf2): Likewise.
47587         * soft-fp/lesf2.c (__lesf2): Likewise.
47588         * soft-fp/letf2.c (__letf2): Likewise.
47590         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47591         Undefine and redefine.
47592         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47593         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47594         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47595         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47596         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47597         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47598         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47599         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47600         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47601         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47602         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47603         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47604         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47605         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47606         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47608         [BZ #16032]
47609         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47610         without decrementing exponent if mantissa >= that for the
47611         denominator, not >.
47612         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47613         denominator, not >.  Decrement exponent in < case instead of
47614         incrementing in >= case.
47615         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47616         without decrementing exponent if mantissa >= that for the
47617         denominator, not >.
47619         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47620         computing saturated result for unsigned overflow.
47622 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47623             Jeff Law  <law@redhat.com>
47625         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47626         (atan2Mp): Add systemtap probe marker.
47627         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47628         (__ieee754_log): Add systemtap probe marker.
47629         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47630         (atanMp): Add systemtap probe marker.
47631         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47632         (tanMp): Add systemtap probe marker.
47633         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47634         (__slowexp): Add systemtap probe marker.
47635         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47636         (__slowpow): Add systemtap probe marker.
47637         * manual/probes.texi: Document probes.
47639 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47641         [BZ #15362]
47642         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47643         written.
47644         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47645         written.
47646         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47647         written to buffer but not flushed.
47648         * libio/iofwrite_u.c:  Likewise.
47649         * libio/iopadn.c:  Return bytes returned even if EOF was
47650         encountered.
47651         * libio/iowpadn.c:  Likewise.
47652         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47653         if _IO_padn does not write the whole buffer.
47654         [!COMPILE_WPRINTF] (PAD): Likewise.
47656 2013-10-10  David S. Miller  <davem@davemloft.net>
47658         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47659         directory block.
47661 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47663         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47664         instead of FSF address.
47665         * soft-fp/fixdfti.c: Likewise.
47666         * soft-fp/fixsfti.c: Likewise.
47667         * soft-fp/fixtfti.c: Likewise.
47668         * soft-fp/fixunsdfti.c: Likewise.
47669         * soft-fp/fixunssfti.c: Likewise.
47670         * soft-fp/fixunstfti.c: Likewise.
47671         * soft-fp/floattidf.c: Likewise.
47672         * soft-fp/floattisf.c: Likewise.
47673         * soft-fp/floattitf.c: Likewise.
47674         * soft-fp/floatuntidf.c: Likewise.
47675         * soft-fp/floatuntisf.c: Likewise.
47676         * soft-fp/floatuntitf.c: Likewise.
47677         * soft-fp/trunctfxf2.c: Likewise.
47679         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47680         * soft-fp/fixdfti.c: Likewise.
47681         * soft-fp/fixsfti.c: Likewise.
47682         * soft-fp/fixtfti.c: Likewise.
47683         * soft-fp/fixunsdfti.c: Likewise.
47684         * soft-fp/fixunssfti.c: Likewise.
47685         * soft-fp/fixunstfti.c: Likewise.
47686         * soft-fp/floattidf.c: Likewise.
47687         * soft-fp/floattisf.c: Likewise.
47688         * soft-fp/floattitf.c: Likewise.
47689         * soft-fp/floatuntidf.c: Likewise.
47690         * soft-fp/floatuntisf.c: Likewise.
47691         * soft-fp/floatuntitf.c: Likewise.
47692         * soft-fp/trunctfxf2.c: Likewise.
47694 2013-10-10  David S. Miller  <davem@davemloft.net>
47696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47698 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47700         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47701         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47702         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47703         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47704         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47705         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47706         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47709         for NaNs before doing comparisons on argument.
47710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47711         Likewise.
47713 2013-10-10  Will Newton  <will.newton@linaro.org>
47715         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47716         passed to _int_memalign does not overflow.
47718 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47720         * scripts/bench.pl: Add include-sources directive.
47721         * benchtests/README: Update documentation.
47723 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47725         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47726         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47727         instead of FP_INIT_ROUNDMODE.
47728         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47729         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47731         [BZ #16034]
47732         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47733         copy class of input value.
47734         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47735         not handle exceptions.
47736         * soft-fp/negsf2.c (__negsf2): Likewise.
47737         * soft-fp/negtf2.c (__negtf2): Likewise.
47738         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47740 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47742         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47743         semicolon.  From Linux kernel.
47745 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47747         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47749 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47751         [BZ #156]
47752         * manual/socket.texi: Added statement about buffer
47753         for gethostbyname2_r.
47755 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47757         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47758         Use .p2align directive instead, throughout.
47759         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47760         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47761         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47763         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47764         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47765         * sysdeps/x86_64/strchr.S: Likewise.
47766         * sysdeps/x86_64/strrchr.S: Likewise.
47768 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47770         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47772         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47774         * sysdeps/generic/math_private.h (__mpsin1): Remove
47775         declaration.
47776         (__mpcos1): Likewise.
47777         (__mpsin): New argument __range_reduce.
47778         (__mpcos): Likewise.
47779         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47780         (slow): Use __mpsin and __mpcos.
47781         (slow1): Likewise.
47782         (slow2): Likewise.
47783         (sloww): Likewise.
47784         (sloww1): Likewise.
47785         (sloww2): Likewise.
47786         (bsloww): Likewise.
47787         (bsloww1): Likewise.
47788         (bsloww2): Likewise.
47789         (cslow2): Likewise.
47790         (csloww): Likewise.
47791         (csloww1): Likewise.
47792         (csloww2): Likewise.
47793         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47794         range_reduce.  Merge in __mpsin1.
47795         (__mpcos): Likewise.
47796         (__mpsin1): Remove.
47797         (__mpcos1): Likewise.
47799 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47801         * locale/loadlocale.c (_nl_intern_locale_data): Use
47802         LOCFILE_ALIGNED_P.
47803         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47804         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47805         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47806         obstack data is appropriately aligned.
47807         (obstack_int32_grow_fast): Likewise.
47808         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47809         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47810         (add_locale_uint32_array): Likewise.
47812 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47814         * benchtests/Makefile: Remove ARGLIST and RET variables.
47815         ($(objpfx)bench-%.c): Pass only function name to the script.
47816         * benchtests/README: Update documentation.
47817         * benchtests/acos-inputs: Add new directives.
47818         * benchtests/acosh-inputs: Likewise.
47819         * benchtests/asin-inputs: Likewise.
47820         * benchtests/asinh-inputs: Likewise.
47821         * benchtests/atan-inputs: Likewise.
47822         * benchtests/atanh-inputs: Likewise.
47823         * benchtests/cos-inputs: Likewise.
47824         * benchtests/cosh-inputs: Likewise.
47825         * benchtests/exp-inputs: Likewise.
47826         * benchtests/log-inputs: Likewise.
47827         * benchtests/pow-inputs: Likewise.
47828         * benchtests/rint-inputs: Likewise.
47829         * benchtests/sin-inputs: Likewise.
47830         * benchtests/sinh-inputs: Likewise.
47831         * benchtests/tan-inputs: Likewise.
47832         * benchtests/tanh-inputs: Likewise.
47833         * scripts/bench.pl: Add support for new directives.
47835 2013-10-07  Alan Modra  <amodra@gmail.com>
47837         * README: Fix careless merge.
47839 2013-10-05  Alan Modra  <amodra@gmail.com>
47841         * NEWS: Mention powerpc64le support and bugs fixed.
47842         * README: Both big-endian and little-endian powerpc64 supported.
47844 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47846         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47847         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47848         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47849         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47851 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47853         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47854         match prototype.
47856 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47858         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47859         Move -mhard-float appending from
47860         ports/sysdeps/powerpc/powerpc32/Makefile.
47861         [$(with-fp) = yes] (ASFLAGS): Likewise.
47862         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47863         * sysdeps/powerpc/nofpu: Move directory from
47864         ports/sysdeps/powerpc/nofpu.
47865         * sysdeps/powerpc/soft-fp: Move directory from
47866         ports/sysdeps/powerpc/soft-fp.
47867         * sysdeps/powerpc/powerpc32/405: Move directory from
47868         ports/sysdeps/powerpc/powerpc32/405.
47869         * sysdeps/powerpc/powerpc32/440: Move directory from
47870         ports/sysdeps/powerpc/powerpc32/440.
47871         * sysdeps/powerpc/powerpc32/464: Move directory from
47872         ports/sysdeps/powerpc/powerpc32/464.
47873         * sysdeps/powerpc/powerpc32/476: Move directory from
47874         ports/sysdeps/powerpc/powerpc32/476.
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47876         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47878         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47880         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47882         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47884         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47885         * README: Update for powerpc-*-linux-gnu software floating point
47886         support in libc.
47888         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47889         case to powerpc/powerpc32*.
47890         * sysdeps/unix/sysv/linux/configure: Regenerated.
47892         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47893         (_FPU_MASK_OM): Define as 0x04.
47894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47896         0x00c10080.
47897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47898         0x0000003c.
47899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47902         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47903         getcontext_e500.
47904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47905         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47906         setcontext_e500.
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47908         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47909         and setcontext_e500.
47911 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47913         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47915 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47917         * manual/threads.texi (Default Thread Attributes): Fix typo.
47919 2013-10-04  Will Newton  <will.newton@linaro.org>
47921         * malloc/Makefile: Add tst-memalign.
47922         * malloc/tst-memalign.c: New file.
47924         * malloc/tst-posix_memalign.c: Add comments.
47925         (do_test): Add comments and call free on all potentially
47926         allocated pointers. Add space after cast.
47928         * malloc/tst-pvalloc.c: Add comments.
47929         (do_test): Add comments and call free on all potentially
47930         allocated pointers. Remove duplicate check for NULL pointer.
47931         Add space after cast.
47933         * malloc/tst-valloc.c: Add comments.
47934         (do_test): Add comments and call free on all potentially
47935         allocated pointers. Remove duplicate check for NULL pointer.
47936         Add space after cast.
47938 2013-10-04  Alan Modra  <amodra@gmail.com>
47940         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47941         Use stdint types in rather than __attribute__((mode())).
47942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47944 2013-10-04  Alan Modra  <amodra@gmail.com>
47946         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47947         Correct handling of unaligned relocs for little-endian.
47948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47950 2013-10-04  Alan Modra  <amodra@gmail.com>
47952         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47953         * configure: Regenerate.
47954         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47955         * shlib-versions: Likewise.
47957 2013-10-04  Alan Modra  <amodra@gmail.com>
47959         * string/tester.c (test_memrchr): Increment reported test cycle.
47961 2013-10-04  Alan Modra  <amodra@gmail.com>
47963         * string/test-memcpy.c (do_one_test): When reporting errors, print
47964         string address and don't overrun end of string.
47966 2013-10-04  Alan Modra  <amodra@gmail.com>
47968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47969         insrdi.  Make better use of reg selection to speed exit slightly.
47970         Schedule entry path a little better.  Remove useless "are we done"
47971         checks on entry to main loop.  Handle wrapping around zero address.
47972         Correct main loop count.  Handle single left-over word from main
47973         loop inline rather than by using loop_small.  Remove extra word
47974         case in loop_small caused by wrong loop count.  Add little-endian
47975         support.
47976         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47977         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47978         cache hint.
47979         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47980         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47981         support.  Avoid rlwimi.
47982         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47984 2013-10-04  Alan Modra  <amodra@gmail.com>
47986         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47987         insrdi.  Formatting.
47988         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47989         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47990         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47991         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47992         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47993         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47995 2013-10-04  Alan Modra  <amodra@gmail.com>
47997         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47999         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48000         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48001         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48002         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48004         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48005         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48006         use of regs.  Use power7 mtocrf.  Tidy function tails.
48008 2013-10-04  Alan Modra  <amodra@gmail.com>
48010         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48011         Formatting.  Consistently use rXXX register defines or rN defines.
48012         Use early exit labels that avoid restoring unused non-volatile regs.
48013         Make cr field use more consistent with rWORDn compares.  Rename
48014         regs used as shift registers for unaligned loop, using rN defines
48015         for short lifetime/multiple use regs.
48016         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48018         addi 1,1,64 to pop stack frame.  Simplify return value code.
48019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48021 2013-10-04  Alan Modra  <amodra@gmail.com>
48023         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48024         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48025         rather than rlwimi.
48026         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48027         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48028         little-endian support.  Correct typos.
48029         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48030         rather than rlwimi.
48031         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48032         in loop and entry code to keep "and." results.
48033         (strchr): Add little-endian support.  Comment.  Move cntlzd
48034         earlier in tail.
48035         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48037 2013-10-04  Alan Modra  <amodra@gmail.com>
48039         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48040         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48041         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48042         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48044 2013-10-04  Alan Modra  <amodra@gmail.com>
48046         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48047         (rTMP): Define as r11.
48048         (strcmp): Add little-endian support.  Optimise tail.
48049         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48050         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48051         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48052         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48053         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48054         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48057 2013-10-04  Alan Modra  <amodra@gmail.com>
48059         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48060         little-endian support.  Remove unnecessary "are we done" tests.
48061         Handle "s" wrapping around zero and extremely large "size".
48062         Correct main loop count.  Handle single left-over word from main
48063         loop inline rather than by using small_loop.  Correct comments.
48064         Delete "zero" tail, use "end_max" instead.
48065         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48067 2013-10-04  Alan Modra  <amodra@gmail.com>
48069         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48070         support.  Don't branch over align.
48071         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48072         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48073         support.  Rearrange tmp reg use to suit.  Comment.
48074         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48076 2013-10-04  Alan Modra  <amodra@gmail.com>
48078         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48080 2013-10-04  Alan Modra  <amodra@gmail.com>
48082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48083         conditional form of branch and link when obtaining pc.
48084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48086 2013-10-04  Alan Modra  <amodra@gmail.com>
48088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48089         HIWORD/LOWORD.
48090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48093 2013-10-04  Alan Modra  <amodra@gmail.com>
48095         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48096         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48097         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48098         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48099         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48100         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48101         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48102         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48103         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48104         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48106 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48107             Alistair Popple <alistair@ozlabs.au.ibm.com>
48108             Alan Modra <amodra@gmail.com>
48110         [BZ #15723]
48111         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48112         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48113         _dl_hwcap access for little-endian.
48114         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48115         destroy vmx regs when saving unaligned.
48116         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48118         destroy vmx regs when saving unaligned.
48120 2013-10-04  Alan Modra  <amodra@gmail.com>
48122         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48123         Don't use a union to pack hi/low value.
48125 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48127         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48128         for little-endian.
48129         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48131         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48132         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48133         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48135 2013-10-04  Alan Modra  <amodra@gmail.com>
48137         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48138         constants to usual value for .cst8 section, and remove redundant
48139         high address load.
48140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48141         constant for 0x1p52.  Load little-endian words of double from
48142         correct stack offsets.
48144 2013-10-04  Alan Modra  <amodra@gmail.com>
48146         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48147         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48148         words of double from correct stack offsets.
48149         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48150         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48151         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48153         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48154         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48155         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48156         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48157         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48158         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48160         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48161         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48164         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48165         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48167 2013-10-04  Alan Modra  <amodra@gmail.com>
48169         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48170         64-bit int/double union.
48171         (_FPU_SETCW): Likewise.
48172         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48173         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48175 2013-10-04  Alan Modra  <amodra@gmail.com>
48177         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48178         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48180 2013-10-04  Alan Modra  <amodra@gmail.com>
48182         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48183         use vector int constants.
48184         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48186 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48188         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48189         array with long long.
48190         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48191         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48192         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48193         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48194         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48195         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48196         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48197         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48198         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48199         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48200         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48202         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48204 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48206         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48207         (__signbit): Likewise.  Correct for little-endian.
48208         (__signbitl): Call __signbit.
48209         (lrint): Correct for little-endian.
48210         (lrintf): Call lrint.
48212 2013-10-04  Alan Modra  <amodra@gmail.com>
48214         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48215         union 32-bit int array member with 64-bit int array.
48216         (t515, tm256): Double rather than long double.
48217         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48219 2013-10-04  Alan Modra  <amodra@gmail.com>
48221         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48222         Delete.
48223         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48225         version of math_ldbl.h.
48227 2013-10-04  Alan Modra  <amodra@gmail.com>
48229         [BZ #15734], [BZ #15735]
48230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48231         all uses of ieee875 long double macros and unions.  Simplify test
48232         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48233         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48234         normalize after ldbl_extract_mantissa, and don't add hidden bit
48235         already handled.  Don't treat low word of ieee854 mantissa like
48236         low word of IBM long double and mask off bit when testing for
48237         zero.
48238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48239         all uses of ieee875 long double macros and unions.  Simplify tests
48240         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48241         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48242         two1022, instead use their values.  Recognise that tests for large
48243         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48244         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48245         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48246         test for 0.0L and nan.  Correct negation.
48247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48248         ieee875 long double macros and unions.  Correct output for large
48249         magnitude x.  Correct absolute value calculation.
48250         (__erfcl): Likewise.
48251         * math/libm-test.inc: Add tests for errors discovered in IBM long
48252         double versions of fmodl, remainderl, erfl and erfcl.
48254 2013-10-04  Alan Modra  <amodra@gmail.com>
48256         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48257         all uses of ieee854 long double macros and unions.  Simplify tests
48258         for long doubles that are fully specified by the high double.
48259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48260         Likewise.
48261         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48262         Remove dead code too.
48263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48264         (__ieee754_ynl): Likewise.
48265         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48266         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48267         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48268         Remove dead code too.
48269         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48272         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48273         Simplify.
48274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48275         Simplify.
48276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48278         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48279         Comment on variable precision.
48280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48282         Likewise.
48283         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48286         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48289 2013-10-04  Alan Modra  <amodra@gmail.com>
48291         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48292         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48293         all uses of ieee854 long double macros and unions.
48294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48296         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48298         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48299         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48300         Likewise.
48301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48302         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48303         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48304         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48305         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48307         Simplify sign and nan test too.
48308         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48309         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48310         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48311         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48312         Likewise.
48313         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48314         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48315         Likewise.
48316         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48317         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48318         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48319         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48320         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48323 2013-10-04  Alan Modra  <amodra@gmail.com>
48325         * stdio-common/printf_size.c (__printf_size): Don't use
48326         union ieee854_long_double in fpnum union.
48327         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48328         signbit macro to retrieve sign from long double.
48329         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48330         retrieve sign from long double.
48331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48332         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48333         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48334         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48335         * math/test-misc.c (main): Don't use union ieee854_long_double.
48337 2013-10-04  Alan Modra  <amodra@gmail.com>
48339         [BZ #15680]
48340         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48341         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48342         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48343         calculation.  Remove unnecessary test for denormal exponent.
48344         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48345         Correct handling of denormals.  Avoid undefined shift behaviour.
48346         Correct normalisation of low mantissa when low double is denormal.
48347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48348         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48349         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48350         Correct normalisation of low mantissa.  Test for overflow of high
48351         mantissa and normalise.
48352         (ldbl_nearbyint): Use more readable constant for two52.
48353         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48354         (__mpn_construct_long_double): Fix test for overflow of high
48355         mantissa and correct normalisation.  Avoid undefined shift.
48357 2013-10-04  Alan Modra  <amodra@gmail.com>
48359         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48360         (union ibm_extended_long_double): Define as an array of ieee754_double.
48361         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48362         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48363         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48366         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48368         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48369         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48370         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48371         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48373 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48375         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48376         page size instead of calling getpagesize.
48378         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48379         (LOCFILE_ALIGN_MASK): Likewise.
48380         (LOCFILE_ALIGN_UP): Likewise.
48381         (LOCFILE_ALIGNED_P): Likewise.
48382         * locale/programs/ld-collate.c (collate_output): Use the new
48383         macros instead of __alignof__ (int32_t).
48384         * locale/weight.h (findidx): Likewise.
48386 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48388         [BZ #431]
48389         * manual/string.texi: Fix strncat and wcsncat.
48391 2013-10-03  Brooks Moses  <bmoses@google.com>
48393         [BZ #15915]
48394         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48395         * Makerules: ...here, and adjust associated comments.
48397 2013-10-02  Will Newton  <will.newton@linaro.org>
48399         * malloc/Makefile: Add tst-pvalloc.
48400         * malloc/tst-pvalloc.c: New file.
48402 2013-10-02  Will Newton  <will.newton@linaro.org>
48404         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48405         improve test coverage.
48407 2013-10-02  Will Newton  <will.newton@linaro.org>
48409         * malloc/Makefile: Add tst-posix_memalign.
48410         * malloc/tst-posix_memalign.c: New file.
48412 2013-10-01  Eric Blake  <eblake@redhat.com>
48414         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48415         Use __THROWNL rather than __THROW on static functions.
48417 2013-09-30  Petr Machata  <pmachata@redhat.com>
48419         * elf/elf.h (R_AARCH64_ABS16): New macro.
48420         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48421         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48422         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48423         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48424         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48425         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48426         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48427         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48428         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48429         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48430         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48431         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48432         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48433         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48434         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48435         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48436         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48437         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48438         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48439         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48440         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48441         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48442         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48443         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48444         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48445         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48446         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48447         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48448         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48449         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48450         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48451         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48452         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48453         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48454         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48455         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48456         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48457         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48458         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48459         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48460         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48461         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48462         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48463         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48464         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48465         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48466         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48467         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48468         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48469         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48470         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48471         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48472         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48473         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48474         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48475         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48476         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48477         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48478         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48479         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48480         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48481         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48482         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48483         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48484         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48485         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48486         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48487         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48488         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48489         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48490         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48491         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48492         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48493         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48494         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48495         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48496         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48497         (R_AARCH64_TLSDESC_LDR): Likewise.
48498         (R_AARCH64_TLSDESC_ADD): Likewise.
48499         (R_AARCH64_TLSDESC_CALL): Likewise.
48501 2013-09-30  Andreas Schwab  <schwab@suse.de>
48503         [BZ #15048]
48504         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48505         the nss database lookup.
48506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48509 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48511         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48513 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48515         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48516         ${Bash-specific parameter/pattern/string} parameter expansion.
48517         * sysdeps/unix/make-syscalls.sh: Likewise.
48519 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48521         * sysdeps/sh/stackguard-macros.h: New file.
48523 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48525         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48527         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48528         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48529         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48530         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48532 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48534         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48535         Fix thread ID register.
48537 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48539         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48540         [POSIX || UNIX98]: Require rather than permitting all symbols from
48541         <time.h>.
48542         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48543         element of struct sched_param.
48544         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48545         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48546         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48547         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48548         constant.
48550 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48552         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48553         argument calculation.
48555 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48557         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48558         Expect macro.
48559         [POSIX] (pthread_attr_t): Do not require type.
48560         [POSIX] (pthread_cond_t): Likewise.
48561         [POSIX] (pthread_condattr_t): Likewise.
48562         [POSIX] (pthread_key_t): Likewise.
48563         [POSIX] (pthread_mutex_t): Likewise.
48564         [POSIX] (pthread_mutexattr_t): Likewise.
48565         [POSIX] (pthread_once_t): Likewise.
48566         [POSIX] (pthread_t): Likewise.
48567         [POSIX-based standards] (pthread_atfork): Expect function.
48569 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48570             Richard Sandiford  <richard@codesourcery.com>
48572         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48573         (swap_endianness_p): New extern variable.
48574         (set_big_endian): New inline function.
48575         (maybe_swap_uint32): Likewise.
48576         (maybe_swap_uint32_array): Likewise.
48577         (maybe_swap_uint32_obstack): Likewise.
48578         * locale/programs/locfile.c: Include <stdbool.h>.
48579         (swap_endianness_p): New variable.
48580         (add_locale_uint32): Call maybe_swap_uint32.
48581         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48582         (write_locale_data): Call maybe_swap_uint32_array.
48583         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48584         maybe_swap_uint32.
48585         (obstack_int32_grow_fast): Likewise.
48586         (output_weightwc): Call maybe_swap_uint32_obstack.
48587         (collate_output): Likewise.
48588         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48589         (OPT_LITTLE_ENDIAN): Likewise.
48590         (options): Add --little-endian and --big-endian options.
48591         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48592         * locale/programs/locarchive.c: Include "locfile.h".
48593         (GET): New macro.
48594         (SET): Likewise.
48595         (INC): Likewise.
48596         (create_archive): Use the new macros to access fields of
48597         structures directly mapped from or written to locale archives.
48598         (oldlocrecentcmp): Likewise.
48599         (enlarge_archive): Likewise.
48600         (insert_name): Likewise.
48601         (add_alias): Likewise.
48602         (add_locale): Likewise.
48603         (delete_locales_from_archive): Likewise.
48604         (show_archive_content): Likewise.
48605         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48606         locale data.
48608 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48610         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48611         http://www.gnu.org/doc/freemanuals.texi.
48612         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48614 2013-09-24  Will Newton  <will.newton@linaro.org>
48616         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48617         macro.
48619 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48621         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48622         unsigned char.
48624 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48626         * manual/threads.texi (POSIX Threads): Fix a typo.
48628 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48630         [BZ #14547]
48631         * string/tst-strcoll-overflow.c: New test case.
48632         * string/Makefile (xtests): Add tst-strcoll-overflow.
48633         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48634         cache if string sizes may cause integer overflow.
48636         [BZ #14547]
48637         * string/strcoll_l.c (coll_seq): New members rule, idx,
48638         save_idx and back_us.
48639         (get_next_seq_nocache): New function.
48640         (do_compare_nocache): New function.
48641         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48642         when malloc fails.
48644 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48646         [BZ #15754]
48647         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48648         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48649         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48651         [BZ #15754]
48652         * elf/Makefile (tests): Add tst-ptrguard1.
48653         (tests-static): Add tst-ptrguard1-static.
48654         (tst-ptrguard1-ARGS): Define.
48655         (tst-ptrguard1-static-ARGS): Define.
48656         * elf/tst-ptrguard1.c: New file.
48657         * elf/tst-ptrguard1-static.c: New file.
48658         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48659         * sysdeps/i386/stackguard-macros.h: Likewise.
48660         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48661         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48662         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48663         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48664         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48665         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48667 2013-09-23  Hector Marco  <hecmargi@upv.es>
48668             Ismael Ripoll  <iripoll@disca.upv.es>
48669             Carlos O'Donell  <carlos@redhat.com>
48671         [BZ #15754]
48672         * sysdeps/generic/stackguard-macros.h: Define
48673         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48674         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48675         Define __pointer_chk_guard_local.
48676         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48677         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48679 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48681         [BZ #15859]
48682         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48684 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48686         * include/string.h (__ffs): Declare as hidden.
48687         * string/ffs.c (__ffs): Define as hidden.
48688         * sysdeps/i386/ffs.c (__ffs): Likewise.
48689         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48690         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48691         * sysdeps/s390/ffs.c (__ffs): Likewise.
48692         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48694 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48696         * NEWS: Mention malloc probes.
48698         * malloc/arena.c (new_heap): New memory_heap_new probe.
48699         (grow_heap): New memory_heap_more probe.
48700         (shrink_heap): New memory_heap_less probe.
48701         (heap_trim): New memory_heap_free probe.
48702         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48703         (systrim): New memory_sbrk_less probe.
48704         * manual/probes.texi: Document them.
48706         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48707         * manual/probes.texi: Document it.
48709         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48710         (__libc_realloc): Add memory_realloc_retry probe.
48711         (__libc_memalign): Add memory_memalign_retry probe.
48712         (__libc_valloc): Add memory_valloc_retry probe.
48713         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48714         (__libc_calloc): Add memory_calloc_retry probe.
48715         * manual/probes.texi: Document them.
48717         * malloc/arena.c (get_free_list): Add probe
48718         memory_arena_reuse_free_list.
48719         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48720         and memory_arena_reuse.
48721         (arena_get2) [!PER_THREAD]: Likewise.
48722         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48723         memory_arena_reuse_realloc.
48724         * manual/probes.texi: Document them.
48726         * malloc/malloc.c (__libc_free): Add
48727         memory_mallopt_free_dyn_thresholds probe.
48728         (__libc_mallopt): Add multiple memory_mallopt probes.
48729         * manual/probes.texi: Document them.
48731         * malloc/malloc.c: Include stap-probe.h.
48732         (__libc_mallopt): Add memory_mallopt probe.
48733         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48734         * manual/probes.texi: New.
48735         * manual/Makefile (chapters): Add probes.
48736         * manual/threads.texi: Set next node.
48738 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48740         [BZ #15963, #13985]
48741         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48742         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48743         Add `Chinese' to `nan' entry name.
48745 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48747         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48748         (POLYNOMIAL): Likewise.
48749         (TAYLOR_SINCOS): Likewise.
48750         (TAYLOR_SLOW): Likewise.
48751         (__sin): Use TAYLOR_SINCOS.
48752         (__cos): Likewise.
48753         (slow): Use TAYLOR_SLOW.
48754         (sloww): Likewise.
48755         (bsloww): Likewise.
48756         (csloww): Likewise.
48758 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48760         * stdlib/strtod_l.c: Fix buffer overrun.
48762 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48764         * benchtests/Makefile (bench): Add sincos.
48765         * benchtests/bench-sincos.c: New file.
48767         * math/libm-test.inc (cos_test_data): New test inputs.
48768         (sin_test_data): Likewise.
48770         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48771         macro.
48772         (__sin): Use it.
48773         (__cos): Likewise.
48774         (slow1): Likewise.
48775         (slow2): Likewise.
48776         (sloww1): Likewise.
48777         (sloww2): Likewise.
48778         (bsloww1): Likewise.
48779         (bsloww2): Likewise.
48780         (cslow2): Likewise.
48781         (csloww1): Likewise.
48782         (csloww2): Likewise.
48784         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48785         function.
48786         (__sin): Use it.
48787         (__cos): Likewise.
48789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48790         gotos.
48791         (__cos): Likewise.
48793 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48795         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48796         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48797         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48798         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48799         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48800         * elf/cache.c (print_entry): Handle the new cache flags.
48802 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48803             Aldy Hernandez  <aldyh@redhat.com>
48805         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48806         Change condition to [_SOFT_FLOAT].
48807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48819         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48822         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48823         declaration.
48825 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48827         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48828         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48829         (__longjmp): Use LOAD_GP to load saved GPRs.
48830         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48831         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48832         (__sigsetjmp): Use SAVE_GP to save GPRs.
48834         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48835         Do not append -msoft-float.
48836         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48838 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48840         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48842 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48844         [BZ #15966]
48845         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48846         (_FPU_GETCW): Use initial "__" on variable and field names but not
48847         on macro parameter name.
48848         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48849         parentheses around reference to macro parameter.
48851 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48853         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48854         prototype.
48855         (ctype_startup): Use uint32_t in cast and sizeof for
48856         ctype->charnames.
48858 2013-09-11  Jia Liu  <proljc@gmail.com>
48860         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48861         __daddr_t_defined.
48862         [__FreeBSD__]: Likewise.
48864 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48867         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48868         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48869         (strchr): Remove __strchr_sse42 ifunc selection.
48870         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48871         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48873 2013-09-11  Will Newton  <will.newton@linaro.org>
48875         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48876         parameter to RES. Remove hardcoded 1000 value.
48877         * benchtests/bench-skeleton.c (main): Pass RES parameter
48878         to TIMING_INIT and multiply result by 1000.
48880 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48884 2013-09-11  Andreas Schwab  <schwab@suse.de>
48886         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48887         if not defined.
48888         (O_TMPFILE) [__USE_GNU]: Define.
48889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48890         Define.
48892 2013-09-11  Will Newton  <will.newton@linaro.org>
48894         [BZ #15857]
48895         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48896         does not overflow.
48898 2013-09-11  Will Newton  <will.newton@linaro.org>
48900         [BZ #15856]
48901         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48902         does not overflow.
48904 2013-09-11  Will Newton  <will.newton@linaro.org>
48906         [BZ #15855]
48907         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48908         does not overflow.
48910 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48912         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48913         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48918 2013-09-10  Allan McRae  <allan@archlinux.org>
48920         [BZ #15748]
48921         * manual/arith.texi (Parsing of Floats): Clarify
48922         cross-reference.
48924         [BZ #15849]
48925         * manual/install.texi (Running make install): Mention
48926         --enable-pt-chown.
48927         * INSTALL: Regenerated.
48929 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48931         * csu/init-first.c (_init): Remove the !SHARED condition around
48932         FPU control word initialization.
48933         * elf/dl-support.c (_dl_fpu_control): New variable.
48934         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48935         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48936         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48937         * math/test-fpucw-static.c: New file.
48938         * math/test-fpucw-ieee.c: New file.
48939         * math/test-fpucw-ieee-static.c: New file.
48940         * math/Makefile (tests): Add `test-fpucw-ieee' and
48941         `$(tests-static)'.
48942         (tests-static): New variable.
48943         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48944         dependency to...
48945         [($(build-shared),yes)]
48946         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48947         ... this.
48948         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48949         New dependency.
48951 2013-09-09  Allan McRae  <allan@archlinux.org>
48953         [BZ #15939]
48954         * manual/string.texi (Collation Functions): Fix typo in
48955         strcoll example.
48956         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48958         [BZ #15893]
48959         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48961         [BZ #15892]
48962         * libio/memstream.c (open_memstream): Fix memory leak.
48963         * libio/wmemstream.c (open_wmemstream): Likewise.
48965         [BZ #15895]
48966         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48968 2013-09-09  Will Newton  <will.newton@linaro.org>
48970         * malloc/Makefile: Add tst-realloc to tests.
48971         * malloc/tst-realloc.c: New file.
48973 2013-09-09  Allan McRae  <allan@archlinux.org>
48975         [BZ #15844]
48976         * COPYING: Update from GNU website to fix FSF address.
48977         * COPYING.LIB: Likewise.
48979 2013-09-06  David S. Miller  <davem@davemloft.net>
48981         * po/zh_TW.po: Update Chinese (traditional) translation from
48982         translation project.
48984 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48985             Joseph Myers  <joseph@codesourcery.com>
48987         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48988         "localeinfo.h".
48989         (obstack_chunk_alloc): New macro.
48990         (obstack_chunk_free): Likewise.
48991         (record_offset): New function.
48992         (init_locale_data): Likewise.
48993         (align_locale_data): Likewise.
48994         (add_locale_empty): Likewise.
48995         (add_locale_raw_data): Likewise.
48996         (add_locale_raw_obstack): Likewise.
48997         (add_locale_string): Likewise.
48998         (add_locale_wstring): Likewise.
48999         (add_locale_uint32): Likewise.
49000         (add_locale_uint32_array): Likewise.
49001         (add_locale_char): Likewise.
49002         (start_locale_structure): Likewise.
49003         (end_locale_structure): Likewise.
49004         (start_locale_prelude): Likewise.
49005         (end_locale_prelude): Likewise.
49006         (write_locale_data): Take locale_file structure rather than an
49007         iovec.
49008         * locale/programs/locfile.h: Include "obstack.h".
49009         (struct locale_file): Change to store locale file contents instead
49010         of header.
49011         (init_locale_data): New prototype.
49012         (align_locale_data): Likewise.
49013         (add_locale_empty): Likewise.
49014         (add_locale_raw_data): Likewise.
49015         (add_locale_raw_obstack): Likewise.
49016         (add_locale_string): Likewise.
49017         (add_locale_wstring): Likewise.
49018         (add_locale_uint32): Likewise.
49019         (add_locale_uint32_array): Likewise.
49020         (add_locale_char): Likewise.
49021         (start_locale_structure): Likewise.
49022         (end_locale_structure): Likewise.
49023         (start_locale_prelude): Likewise.
49024         (end_locale_prelude): Likewise.
49025         (write_locale_data): Update prototype.
49026         * locale/programs/3level.h (struct TABLE): Remove result field.
49027         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49028         Use new locale_file interface.
49029         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49030         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49031         * locale/programs/ld-address.c (address_output): Use new
49032         locale_file interface.
49033         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49034         NO_ADD_LOCALE.
49035         (collate_finish): Don't call collseq_table_finalize.
49036         (collate_output): Use new locale_file interface.
49037         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49038         in file.
49039         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49040         (TABLE): Move defines earlier in file.
49041         (ELEMENT): Likewise.
49042         (DEFAULT): Likewise.
49043         (wctrans_table_add): Move macro and inline function earlier in
49044         file.
49045         (struct wctype_table): Move type earlier in file.
49046         (add_locale_wctype_table): New static prototype.
49047         (struct locale_ctype_t): Use logical types instead of struct iovec
49048         pointers for members.
49049         (ctype_output): Use new locale_file interface.
49050         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49051         new locale_file interface.
49052         (allocate_arrays): Update for use of new locale_file interface.
49053         * locale/programs/ld-identification.c (identification_output): Use
49054         new locale_file interface.
49055         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49056         * locale/programs/ld-messages.c (messages_output): Likewise.
49057         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49058         * locale/programs/ld-name.c (name_output): Likewise.
49059         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49060         * locale/programs/ld-paper.c (paper_output): Likewise.
49061         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49062         * locale/programs/ld-time.c (time_output): Likewise.
49064 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49066         * benchtests/Makefile: Add memrchr benchmark.
49067         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49068         benchmark as memrchr.
49069         * benchtests/bench-memrchr-ifunc.c: New file.
49070         * benchtests/bench-memrchr.c: New file.
49072 2013-09-06   Will Newton  <will.newton@linaro.org>
49074         * benchtests/Makefile (string-bench): Add memcpy.
49076 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49077             Cong Wang  <amwang@redhat.com>
49079         [BZ #15850]
49080         * sysdeps/unix/sysv/linux/bits/in.h
49081         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49082         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49083         before __USE_KERNEL_IPV6_DEFS uses.
49084         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49085         IPPROTO_BEETPH.
49086         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49087         sockaddr_in6, or ipv6_mreq.
49089 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49091         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49092         memory access for final bytes in some large inputs.
49093         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49095 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49097         * string/test-memrchr.c: New file.
49098         * string/test-memrchr-ifunc.c: New file.
49099         * string/Makefile: Add new memrchr testcase.
49101 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49103         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49104         fanotify_init returns EPERM.
49106 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49108         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49109         errors.
49110         (top level): Treat second token from macro or constant entries for
49111         allowed headers as allowed.
49112         * include/complex.h: Condition internal declarations on
49113         [!_ISOMAC].
49114         * include/fenv.h: Condition include of <stdbool.h> and internal
49115         declarations on [!_ISOMAC].
49117 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49119         [BZ #15923]
49120         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49122 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49124         * configure.in (--enable-versioning): Remove configure option.
49125         (libc_cv_asm_symver_directive): Remove configure test.
49126         (libc_cv_ld_version_script_option): Likewise.
49127         (VERSIONING): Remove variable and AC_SUBST.
49128         (DO_VERSIONING): Remove AC_DEFINE.
49129         * configure: Regenerated.
49130         * config.h.in (DO_VERSIONING): Remove macro.
49131         * Makerules [$(versioning) = yes]: Change conditionals to
49132         [$(build-shared) = yes].
49133         * config.make.in (versioning): Remove variable.
49134         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49135         [$(build-shared) = yes].
49136         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49137         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49138         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49139         [$(build-shared) = yes].
49140         * extra-lib.mk [$(versioning) = yes]: Likewise.
49141         * hurd/Makefile [$(versioning) = yes]: Likewise.
49142         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49143         [SHARED].
49144         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49145         [SHARED].
49146         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49147         [SHARED && !NO_HIDDEN].
49148         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49149         [SHARED].
49150         [SHARED && DO_VERSIONING]: Likewise..
49151         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49152         [$(build-shared) = yes].
49153         * manual/install.texi (--disable-versioning): Remove
49154         documentation.
49155         * INSTALL: Regenerated.
49156         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49157         to [SHARED].
49158         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49159         [$(build-shared) = yes].
49160         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49161         * sysdeps/i386/i686/multiarch/strstr-c.c
49162         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49163         [SHARED && !NO_HIDDEN].
49164         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49165         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49166         * sysdeps/powerpc/powerpc32/dl-machine.c
49167         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49168         * sysdeps/powerpc/powerpc32/sysdep.h
49169         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49170         to [SHARED && PIC && !NO_HIDDEN].
49171         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49172         conditional to [SHARED].
49174 2013-09-04   Will Newton  <will.newton@linaro.org>
49176         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49177         * benchtests/bench-string.h: Include bench-timing.h instead
49178         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49179         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49180         call to HP_TIMING_DIFF_INIT.
49181         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49182         instead of hp-timing.h macros.
49183         * benchtests/bench-memchr.c: Likewise.
49184         * benchtests/bench-memcmp.c: Likewise.
49185         * benchtests/bench-memcpy.c: Likewise.
49186         * benchtests/bench-memmem.c: Likewise.
49187         * benchtests/bench-memmove.c: Likewise.
49188         * benchtests/bench-memset.c: Likewise.
49189         * benchtests/bench-rawmemchr.c: Likewise.
49190         * benchtests/bench-strcasecmp.c: Likewise.
49191         * benchtests/bench-strcasestr.c: Likewise.
49192         * benchtests/bench-strcat.c: Likewise.
49193         * benchtests/bench-strchr.c: Likewise.
49194         * benchtests/bench-strcmp.c: Likewise.
49195         * benchtests/bench-strcpy.c: Likewise.
49196         * benchtests/bench-strcpy_chk.c: Likewise.
49197         * benchtests/bench-strlen.c: Likewise.
49198         * benchtests/bench-strncasecmp.c: Likewise.
49199         * benchtests/bench-strncat.c: Likewise.
49200         * benchtests/bench-strncmp.c: Likewise.
49201         * benchtests/bench-strncpy.c: Likewise.
49202         * benchtests/bench-strnlen.c: Likewise.
49203         * benchtests/bench-strpbrk.c: Likewise.
49204         * benchtests/bench-strrchr.c: Likewise.
49205         * benchtests/bench-strspn.c: Likewise.
49206         * benchtests/bench-strstr.c: Likewise.
49208 2013-09-04  Will Newton  <will.newton@linaro.org>
49210         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49212 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49214         [BZ #15427]
49215         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49216         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49217         * math/libm-test.inc (lgamma_test_data): Add more tests.
49218         * sysdeps/i386/fpu/libm-test-ulps: Update.
49219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49221 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49223         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49225         Add ifunc.
49226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49227         Add strcmp-sse2-unaligned
49228         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49230 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49232         * Versions.def (libc): Add GLIBC_2.19.
49234 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49236         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49237         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49239 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49241         [BZ #14155]
49242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49243         intermediate calculations in recurrence.
49244         (__ieee754_ynf): Likewise.
49245         * math/libm-test.inc (jn_test_data): Do not allow spurious
49246         underflow exception.  Add more tests.
49247         (yn_test_data): Add more tests.
49248         * sysdeps/i386/fpu/libm-test-ulps: Update.
49249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49251 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49255 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49257         * csu/init-first.c: Fix then/than typos.
49258         * locale/programs/ld-collate.c: Likewise.
49259         * locale/programs/linereader.h: Likewise.
49260         * manual/charset.texi: Likewise.
49261         * manual/filesys.texi: Likewise.
49262         * manual/stdio.texi: Likewise.
49263         * manual/string.texi: Likewise.
49264         * stdlib/fmtmsg.c: Likewise.
49265         * sysdeps/i386/stpncpy.S: Likewise.
49266         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49267         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49268         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49269         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49271 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49273         * elf/dl-open.c: Fix typos.
49274         * iconvdata/gbbig5.c: Likewise.
49275         * iconvdata/iso-2022-jp.c: Likewise.
49276         * iconv/gconv_int.h: Likewise.
49277         * iconv/loop.c: Likewise.
49278         * nis/rpcsvc/nis.h: Likewise.
49279         * resolv/ns_name.c: Likewise.
49280         * stdio-common/vfscanf.c: Likewise.
49281         * streams/stropts.h: Likewise.
49282         * sunrpc/rpc_thread.c: Likewise.
49283         * sysdeps/i386/strpbrk.S: Likewise.
49284         * sysdeps/ieee754/k_standard.c: Likewise.
49285         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49287         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49288         * sysdeps/mach/hurd/profil.c: Likewise.
49289         * sysdeps/s390/dl-procinfo.h: Likewise.
49290         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49291         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49292         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49293         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49296 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49298         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49301 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49303         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49304         aix specific files.
49305         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49307         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49308         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49309         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49310         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49311         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49312         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49314 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49315             Roland McGrath  <roland@hack.frob.com>
49317         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49318         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49320 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49322         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49323         __executable_start symbol instead of _start.
49325 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49327         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49328         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49329         Move macros to...
49330         * sysdeps/gnu/ldsodefs.h: ... this new file.
49332         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49333         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49334         instead of ELFOSABI_LINUX.
49336         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49337         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49338         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49339         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49340         Likewise.
49341         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49342         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49343         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49344         Likewise.
49345         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49346         (ibm_extended_long_double): Add ieee_nan member.
49347         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49348         (do_test): New function.
49350         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49351         TEST_TRUNC.
49352         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49353         functions, renamed from truncdfsf_test, trunctfsf_test,
49354         trunctfdf_test.
49355         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49356         functions.
49357         (do_test): Run all these.
49359 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49361         * argp/argp-help.c: Fix typos.
49362         * argp/argp-parse.c: Likewise.
49363         * debug/backtracesyms.c: Likewise.
49364         * elf/elf.h: Likewise.
49365         * malloc/malloc.c: Likewise.
49366         * nis/nis_print.c: Likewise.
49367         * resolv/res_comp.c: Likewise.
49368         * stdlib/stdlib.h: Likewise.
49369         * sunrpc/clnt_tcp.c: Likewise.
49370         * sunrpc/clnt_udp.c: Likewise.
49371         * sunrpc/clnt_unix.c: Likewise.
49372         * sysdeps/unix/bsd/ptsname.c: Likewise.
49373         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49374         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49376         Likewise.
49377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49378         Likewise.
49379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49380         Likewise.
49381         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49383 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49385         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49388 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49390         [BZ #15897]
49391         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49392         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49393         ($(objpfx)bug-dl-leaf): New rule.
49394         ($(objpfx)bug-dl-leaf.so): Likewise.
49395         ($(objpfx)bug-dl-leaf.out): Likewise.
49396         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49397         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49398         * dlfcn/bug-dl-leaf.c: New test.
49399         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49400         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49401         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49402         (dlclose): Likewise.
49403         (dlmopen): Likewise.
49405 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49407         * include/netdb.h [!_ISOMAC]:
49408         Don't include <tls.h>.
49409         (h_errno, __libc_h_errno): Move declaration and macros out of
49410         [_LIBC_REENTRANT].
49412         * include/resolv.h [_RESOLV_H_]:
49413         Don't include <tls.h>.
49414         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49415         * resolv/res_libc.c: Don't include <tls.h>.
49416         (_res): Use __attribute__ ((nocommon)) in place of
49417         __attribute__ ((section (".bss"))).
49419         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49420         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49422         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49424         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49425         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49427         * resolv/res_mkquery.c: Include <sys/time.h>.
49429         * inet/ifreq.c: Moved to ...
49430         * sysdeps/unix/ifreq.c: ... here.
49431         * inet/ifreq.c: New file, true stub version.
49433         * socket/sa_len.c: New file.
49434         * socket/Makefile (aux): Add it.
49435         * sysdeps/unix/sysv/linux/Makefile
49436         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49437         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49438         and #include <socket/sa_len.c>.
49439         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49440         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49442         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49443         * bits/socket.h: ... here.
49445         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49446         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49447         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49449 2013-08-27  Andreas Schwab  <schwab@suse.de>
49451         [BZ #15736]
49452         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49453         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49454         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49455         * string/test-strcasecmp.c (test_main): Run tests in several
49456         locales.
49457         * string/test-strncasecmp.c (test_main): Likewise.
49459         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49460         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49461         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49463         (__strncasecmp_ssse3) [PIC]: Likewise.
49465 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49467         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49469         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49470         instead of explicitly declaring xdecrypt.
49471         * nis/nss_nis/nis-publickey.c: Likewise.
49473 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49475         [BZ #15890]
49476         * nscd/aicache.c: Include res_hconf.h.
49477         (addhstaiX): Initialize res_hconf.
49479 2013-08-26  Andreas Schwab  <schwab@suse.de>
49481         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49482         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49484 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49486         * nscd/aicache.c (addhstaiX): Fix indentation.
49488 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49490         * configure.ac: Quote $build_pt_chown test.
49491         * configure: Regenerated.
49493 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49495         [BZ #15532]
49496         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49497         * math/s_cexpf.c (__cexpf): Likewise.
49498         * math/s_cexpl.c (__cexpl): Likewise.
49499         * math/libm-test.inc (cexp_test_data): Correct expected return
49500         value for NaN + i0.  Add another test.
49502 2013-08-22  David S. Miller  <davem@davemloft.net>
49504         * po/ca.po: Update Catalan translation from translation project.
49505         * po/uk.po: Add Ukrainian translations from translation project.
49507 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49509         [BZ #15797]
49510         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49511         is infinite, not alongside NaN test.
49512         * math/s_fdimf.c (__fdimf): Likewise.
49513         * math/s_fdiml.c (__fdiml): Likewise.
49514         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49515         errno is unchanged.
49517 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49519         * argp/argp-help.c: Fix typos.
49520         * crypt/speeds.c: Likewise.
49521         * csu/check_fds.c: Likewise.
49522         * elf/dl-load.c: Likewise.
49523         * elf/dl-open.c: Likewise.
49524         * elf/reldep3.c: Likewise.
49525         * elf/reldep.c: Likewise.
49526         * elf/sprof.c: Likewise.
49527         * iconv/iconv_charmap.c: Likewise.
49528         * iconv/skeleton.c: Likewise.
49529         * iconv/strtab.c: Likewise.
49530         * io/lockf64.c: Likewise.
49531         * libio/libioP.h: Likewise.
49532         * resolv/gai_notify.c: Likewise.
49533         * resolv/ns_name.c: Likewise.
49534         * resolv/ns_samedomain.c: Likewise.
49535         * resolv/res_send.c: Likewise.
49536         * stdlib/random.c: Likewise.
49537         * sunrpc/rpc/xdr.h: Likewise.
49538         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49540         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49541         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49543         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49545         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49546         * sysdeps/mach/hurd/check_fds.c: Likewise.
49547         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49548         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49549         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49550         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49551         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49552         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49553         * sysdeps/pthread/aio_notify.c: Likewise.
49554         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49555         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49556         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49557         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49558         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49560 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49562         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49563         version if bit_Slow_SSE4_2 is set.
49564         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49567 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49569         [BZ #15867]
49570         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49571         trampoline stack frame information.
49572         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49574         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49575         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49576         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49577         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49578         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49579         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49580         sa_flags value.
49581         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49582         interrupting a syscall and set with option SA_SIGINFO.
49584 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49586         [BZ #15531]
49587         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49588         argument is infinite.
49589         * math/s_cprojf.c (__cprojf): Likewise.
49590         * math/s_cprojl.c (__cprojl): Likewise.
49591         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49592         * math/libm-test.inc (cproj_test_data): Add more tests.
49594         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49596         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49597         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49598         size.  Use __ffs to determine corresponding shift.
49600 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49601             Roland McGrath  <roland@hack.frob.com>
49603         * Makefile (INSTALL): Remove trailing blank lines from output of
49604         makeinfo.
49606 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49608         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49609         Align 32 bit compat elf_greg to 8 bytes.
49611 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49613         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49615 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49617         * string/strcoll_l.c (coll_seq): New structure.
49618         (get_next_seq_cached): New function.
49619         (get_next_seq): New function.
49620         (do_compare): New function.
49621         (STRCOLL): Use GNU style definition.  Simplify implementation
49622         by using get_next_seq, get_next_seq_cached and do_compare.
49624 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49626         [BZ #14699]
49627         CVE-2013-4237
49628         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49629         member.
49630         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49631         member.
49632         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49633         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49634         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49635         conditional.
49636         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49637         GETDENTS_64BIT_ALIGNED.
49638         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49639         * manual/filesys.texi (Reading/Closing Directory): Document
49640         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49641         strongly.
49642         * manual/conf.texi (Limits for Files): Add portability note to
49643         NAME_MAX, PATH_MAX.
49644         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49646 2013-08-13  Andreas Schwab  <schwab@suse.de>
49648         [BZ #15749]
49649         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49650         of fabs.
49651         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49652         LDBL_MAX_EXP >= 16384]: Add tests for it.
49654 2013-08-12  David S. Miller  <davem@davemloft.net>
49656         * version.h (RELEASE): Set to "development".
49657         (VERSION): Set to "2.18.90".
49658         * NEWS: Add 2.19 section.
49660 2013-08-03  David S. Miller  <davem@davemloft.net>
49662         * po/ko.po: Update Korean translation from translation project.
49664 2013-08-01  David S. Miller  <davem@davemloft.net>
49666         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49667         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49668         Bilka.
49670 2013-07-30  David S. Miller  <davem@davemloft.net>
49672         * po/fr.po: Update French translation from translation project.
49674 2013-07-28  David S. Miller  <davem@davemloft.net>
49676         * po/cs.po: Update Czech translation from translation project.
49678         * po/sv.po: Update Swedish translation from translation project.
49680 2013-07-27  David S. Miller  <davem@davemloft.net>
49682         * po/eo.po: Update Esperanto translation from translation project.
49684         * po/vi.po: Update Vietnamese translation from translation project.
49686         * po/de.po: Update German translation from translation project.
49688 2013-07-26  David S. Miller  <davem@davemloft.net>
49690         * po/bg.po: Update Bulgarian translation from translation project.
49692         * po/nl.po: Update Dutch translation from translation project.
49693         * po/pl.po: Update Polish translation from translation project.
49694         * po/ru.po: Update Russian translation from translation project.
49696 2013-07-24  David S. Miller  <davem@davemloft.net>
49698         * po/libc.pot: Update.
49700 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49702         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49703         variable page size.
49704         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49705         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49706         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49708 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49710         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49712 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49713             Andreas Schwab  <schwab@suse.de>
49714             Roland McGrath  <roland@hack.frob.com>
49715             Joseph Myers  <joseph@codesourcery.com>
49716             Carlos O'Donell  <carlos@redhat.com>
49718         [BZ #15755]
49719         * config.h.in: Define HAVE_PT_CHOWN.
49720         * config.make.in (build-pt-chown): New variable.
49721         * configure.in (--enable-pt_chown): New configure option.
49722         * configure: Regenerate.
49723         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49724         build-pt-chown is enabled.
49725         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49726         pt_chown to fix pty ownership.
49727         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49728         CLOSE_ALL_FDS.
49729         * manual/install.texi (Configuring and compiling): Mention
49730         --enable-pt_chown. Add @findex for grantpt.
49731         * INSTALL: Regenerate.
49733 2013-07-20  David S. Miller  <davem@davemloft.net>
49735         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49736         difference between 32-bit and 64-bit.
49738 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49740         [BZ #15711]
49741         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49742         Avoid system header dependency with -ffreestanding.
49743         ($(objpfx)bits/syscall%d): Likewise.
49745 2013-07-13  David S. Miller  <davem@davemloft.net>
49747         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49748         underflows from atanl/atan2l due to bug 15319.
49749         (casinh_test_data): Likewise.
49751 2013-07-07  David S. Miller  <davem@davemloft.net>
49753         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49755 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49757         * sysdeps/i386/fpu/libm-test-ulps: Update.
49758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49760 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49762         * configure.in (--enable-lock-elision): Fix message text.
49763         * INSTALL: Regenerate.
49764         * configure: Regenerate.
49766 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49770 2013-07-03  Andreas Jaeger  <aj@suse.de>
49772         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49773         define.
49774         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49775         (ptrace_peeksiginfo_args): Add.
49776         (__ptrace_peeksiginfo_flags): Add.
49777         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49779         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49781 2013-07-03  Allan McRae  <allan@archlinux.org>
49783         * sysdeps/i386/fpu/libm-test-ulps: Update.
49785 2013-07-02  David S. Miller  <davem@davemloft.net>
49787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49789 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49793 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49795         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49798 2013-07-02  Andi Kleen <ak@linux.intel.com>
49800         * config.h.in (ENABLE_LOCK_ELISION): Add.
49801         * configure.in (--enable-lock-elision): Add option.
49802         * manual/install.texi: Document --enable lock elision.
49803         * configure: Regenerate
49804         * INSTALL: Regenerate.
49806 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49808         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49809         SSE4.2 strcasecmp for libc.a.
49810         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49812 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49814         [BZ #13304]
49815         * soft-fp/op-common.h (_FP_FMA): New macro.
49816         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49817         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49818         (_FP_MUL_MEAT_1_imm): ... here.
49819         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49820         (_FP_MUL_MEAT_1_wide): ... here.
49821         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49822         (_FP_MUL_MEAT_1_hard): ... here.
49823         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49824         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49825         (_FP_MUL_MEAT_2_wide): ... here.
49826         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49827         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49828         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49829         (_FP_MUL_MEAT_2_gmp): ... here.
49830         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49831         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49832         (_FP_MUL_MEAT_4_wide): ... here.
49833         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49834         (_FP_MUL_MEAT_4_gmp): ... here.
49835         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49836         (_FP_WFRACBITS_DW_S): Likewise.
49837         (_FP_WFRACXBITS_DW_S): Likewise.
49838         (_FP_HIGHBIT_DW_S): Likewise.
49839         (FP_FMA_S): Likewise.
49840         (_FP_FRAC_HIGH_DW_S): Likewise.
49841         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49842         (_FP_WFRACBITS_DW_D): Likewise.
49843         (_FP_WFRACXBITS_DW_D): Likewise.
49844         (_FP_HIGHBIT_DW_D): Likewise.
49845         (FP_FMA_D): Likewise.
49846         (_FP_FRAC_HIGH_DW_D): Likewise.
49847         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49848         (_FP_WFRACBITS_DW_E): Likewise.
49849         (_FP_WFRACXBITS_DW_E): Likewise.
49850         (_FP_HIGHBIT_DW_E): Likewise.
49851         (FP_FMA_E): Likewise.
49852         (_FP_FRAC_HIGH_DW_E): Likewise.
49853         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49854         (_FP_WFRACBITS_DW_Q): Likewise.
49855         (_FP_WFRACXBITS_DW_Q): Likewise.
49856         (_FP_HIGHBIT_DW_Q): Likewise.
49857         (FP_FMA_Q): Likewise.
49858         (_FP_FRAC_HIGH_DW_Q): Likewise.
49859         * soft-fp/fmasf4.c: New file.
49860         * soft-fp/fmadf4.c: Likewise.
49861         * soft-fp/fmatf4.c: Likewise.
49863 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49866         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49867         Silvermont.
49868         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49869         macro.
49870         (index_Slow_SSE4_2): Likewise.
49871         (index_Prefer_PMINUB_for_stringop): Likewise.
49872         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49873         bit_Slow_SSE4_2 is set.
49874         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49875         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49877 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49879         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49880         rtld_global._dl_hwcap2.
49881         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49882         POWER8.
49883         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49884         POWER8 feature descriptions defined in _dl_hwcap2.
49885         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49886         string handling for POWER8 feature bits.
49887         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49888         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49889         _dl_powerpc_cap_flags.
49890         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49891         * sysdeps/powerpc/rtld-global-offsets.sym
49892         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49893         _dl_hwcap2 in the rtld_global_ro structure.
49895 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49897         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49898         hardware capabilities in support of AT_HWCAP2.
49899         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49900         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49901         GLRO(dl_hwcap2).
49902         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49903         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49904         explicitly the unknown a_type display mechanism is used.
49905         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49906         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49907         struct member.
49908         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49909         to macro prototype for AT_HWCAP2 support.
49910         * sysdeps/i386/dl-procinfo.h: Likewise.
49911         * sysdeps/s390/dl-procinfo.h: Likewise.
49912         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49913         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49914         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49915         return -1 for unknown a_type display fallback.
49916         * sysdeps/sparc/dl-procinfo.h: Likewise.
49917         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49918         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49920 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49922         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49923         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49925 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49927         [BZ #12492]
49928         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49929         mprotect making __stack_prot writable.
49931 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49932             Joseph Myers  <joseph@codesourcery.com>
49934         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49935         as being properly aligned.
49937 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49939         * dlfcn/modstatic5.c: New file.
49940         * dlfcn/tststatic5.c: New file.
49941         * dlfcn/Makefile (tests): Add tststatic5.
49942         (tests-static): Likewise.
49943         (modules-names): Add modstatic5.
49944         (tststatic5-ENV): New variable.
49945         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49947         [BZ #15022]
49948         * elf/dl-support.c (_dl_main_map): New variable.
49949         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49950         (_dl_nns, _dl_load_adds): Set to 1.
49951         (_dl_initial_searchlist): Refer to _dl_main_map.
49952         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49953         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49954         call to _dl_get_origin.
49955         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49956         around call_map.
49957         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49958         * dlfcn/modstatic3.c: New file.
49959         * dlfcn/tststatic3.c: New file.
49960         * dlfcn/tststatic4.c: New file.
49961         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49962         (tests-static): Likewise.
49963         (modules-names): Add modstatic3.
49964         (tststatic3-ENV, tststatic4-ENV): New variables.
49965         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49966         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49968 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49970         * configure.in (CC): Require GCC version 4.4 or later.
49971         * configure: Regenerated.
49972         * manual/install.texi (Tools for Compilation): Update GCC version
49973         requirement.
49974         * INSTALL: Regenerated.
49976 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49978         [BZ #15674]
49979         * string/test-memcmp.c (check2): New.
49980         (main): Call check2.
49982         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49984 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49986         [BZ #15022]
49987         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49988         over to...
49989         (dl_open_worker) [!SHARED]: ... here.
49991 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49993         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49995 2013-06-25  Richard Henderson  <rth@redhat.com>
49997         * locale/programs/locarchive.c: Include <libc-internal.h>
49999 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50001         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50002         trailing whitespace removed.
50004 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50006         [BZ #10283]
50007         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50008         * locale/programs/locarchive.c: Include libc-mmap.h.
50009         (prepare_address_space): Take two new outputs (the mmap base and len).
50010         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50011         values.
50012         (create_archive): Declare new mmap base and len values for
50013         prepare_address_space, and store the result in ah.
50014         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50015         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50016         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50017         Declare new mmap base and len values for
50018         prepare_address_space, and store the result in new_ah.
50019         (open_archive): Declare new mmap base and len values for
50020         prepare_address_space, and store the result in ah.
50021         (close_archive): If ah->mmap_base is not NULL, use that and
50022         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50023         * sysdeps/generic/libc-mmap.h: New file.
50025 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50027         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50028         (ALIGN_UP): Likewise.
50029         (PTR_ALIGN_DOWN): Likewise.
50030         (PTR_ALIGN_UP): Likewise.
50032 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50034         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50035         entry mapped to PPC_PLATFORM_POWER8.
50036         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50037         POWER8.
50038         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50039         (_dl_string_platform): Add case for exporting platform position for
50040         POWER8.
50041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50042         search path to sysdeps/powerpc/powerpc32/power8 directory.
50043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50044         search path to sysdeps/powerpc/powerpc64/power8 directory.
50045         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50046         power7 directories.
50047         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50048         power7 directories.
50050 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50052         * INSTALL: Regenerate.
50054         * nscd/connections.c (nscd_init): Fix comment.
50056 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50058         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50060         [BZ #15667]
50061         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50062         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50064 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50066         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50067         DL_DST_REQ_STATIC.
50068         (DL_DST_REQ_STATIC): Remove macro.
50070 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50072         [BZ #7006]
50073         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50074         with a shift of 0 bits.
50076 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50078         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50079         $(tststatic-ENV).
50081 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50083         [BZ #15655]
50084         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50086 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50088         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50089         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50090         accepts -fno-tree-loop-distribute-patterns.
50091         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50092         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50093         recursive call.
50094         * string/memset.c (memset): Likewise.
50095         * string/test-memmove.c (simple_memmove): Disable loop transformation
50096         to library calls.
50097         * string/test-memset.c (simple_memset): Likewise.
50098         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50099         * benchtests/bench-memset.c (simple_memset): Likewise.
50100         * configure: Regenerated.
50102 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50104         * math/test-misc.c (main): Ignore fesetround failure when failures
50105         of subsequent rounding tests would be ignored.
50107         [BZ #15654]
50108         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50109         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50110         * math/fegetenv.c (__fegetenv): Return 0.
50111         * math/fegetexcept.c (fegetexcept): Return 0.
50112         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50113         FE_TONEAREST.
50114         * math/feholdexcpt.c (feholdexcept): Return 0.
50115         * math/fesetenv.c (__fesetenv): Return 0.
50116         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50117         argument FE_TONEAREST.
50118         * math/feupdateenv.c (__feupdateenv): Return 0.
50119         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50121 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50123         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50124         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50125         ($(objpfx)rtld-%.os rules): Use them.
50127 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50129         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50130         fields.
50132 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50134         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50135         length of target pattern, then descending length of dependency pattern.
50136         * configure.in (AWK): Require gawk 3.1.2 or newer.
50137         * manual/install.texi (Tools for Compilation): Say that we do.
50138         * configure: Regenerated.
50140         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50141         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50142         * scripts/sysd-rules.awk: ... this new script.
50143         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50144         than a glob-style pattern.
50146 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50148         * math/test-misc.c (main): Do not treat incorrectly rounded
50149         conversions as failure unless ROUNDING_TESTS passes.
50151 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50153         [BZ #15631]
50154         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50155         restore exception state around main square root computation, then
50156         check for inexactness explicitly.
50158         * math/libm-test.inc (fma_test_data): Add another test.
50160 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50162         * manual/threads.texi (Non-POSIX Extensions): New document
50163         node.  Document pthread_getattr_default_np and
50164         pthread_setattr_default_np.
50166         * Versions.def (libpthread): Add GLIBC_2.18.
50167         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50169         Likewise.
50170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50171         Likewise.
50172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50173         Likewise.
50174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50175         Likewise.
50176         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50177         Likewise.
50178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50179         Likewise.
50180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50181         Likewise.
50182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50183         Likewise.
50184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50185         Likewise.
50187 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50190         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50192 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50193             H.J. Lu  <hjl.tools@gmail.com>
50195         [BZ #15627]
50196         * sysdeps/x86_64/rtld-memset.c: Remove file.
50197         * sysdeps/x86_64/rtld-memset.S: New file.
50199 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50201         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50202         (test_in_one_mode): Take arguments for whether the rounding mode
50203         is supported for each floating-point type.
50204         (do_test): Pass new arguments to test_in_one_mode using
50205         ROUNDING_TESTS.
50207 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50209         * posix/tst-waitid.c (do_test): Distinguish different instances of
50210         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50211         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50212         before entering the kernel for waitpid.
50214 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50216         * NEWS: Fix note on clock function precision.  Text by Roland
50217         McGrath.
50219 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50221         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50222         it into place only when and if the sanity check passes.
50224 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50226         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50227         output for whether conversion result is exact.  Take argument
50228         indicating whether type is IBM long double.
50229         (round_for_all): Change need_exact field to ibm_ld.
50230         * stdlib/tst-strtod-round.c (struct exactness): New type.
50231         (struct test): Change bool ld_ok field to struct exactness exact.
50232         (TEST): Update all definitions for change to field.
50233         (tests): Regenerate array contents.
50234         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50235         field value.  Check for IBM long double here.
50236         (do_test): Update calls to test_in_one_mode.
50238 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50240         [BZ #12515]
50241         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50242         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50244 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50246         [BZ #15605]
50247         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50248         generated by the compiler on loop optimizations.
50249         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50250         general definitions.
50252 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50254         * math/bug-nextafter.c: Include <math-tests.h>.
50255         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50256         the relevant type.
50257         * math/bug-nexttoward.c: Include <math-tests.h>.
50258         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50259         the relevant type.
50260         * math/test-misc.c: Include <math-tests.h>.
50261         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50262         the relevant type.
50264 2013-06-12  Andreas Jaeger  <aj@suse.de>
50266         * po/ia.po: Update Interlingua translation from translation
50267         project.
50269 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50271         * include/fenv.h: Include stdbool.h.
50272         (struct rm_ctx): New structure.
50273         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50274         Define macro.
50275         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50276         (SET_RESTORE_ROUNDF): Likewise.
50277         (SET_RESTORE_ROUNDL): Likewise.
50278         (SET_RESTORE_ROUND_NOEX): Likewise.
50279         (SET_RESTORE_ROUND_NOEXF): Likewise.
50280         (SET_RESTORE_ROUND_NOEXL): Likewise.
50281         (SET_RESTORE_ROUND_53BIT): Likewise.
50282         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50283         (libc_feresetround_noexf_ctx): Likewise.
50284         (libc_feresetround_noexl_ctx): Likewise.
50285         (libc_feholdsetround_53bit_ctx): Likewise.
50286         (libc_feresetround_53bit_ctx): Likewise.
50287         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50288         (libc_feholdexcept_setround_sse_ctx): New function.
50289         (libc_fesetenv_sse_ctx): Likewise.
50290         (libc_feupdateenv_sse_ctx): Likewise.
50291         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50292         (libc_feholdexcept_setround_387_ctx): Likewise.
50293         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50294         (libc_feholdsetround_387_prec_ctx): Likewise.
50295         (libc_feholdsetround_387_ctx): Likewise.
50296         (libc_feholdsetround_387_53bit_ctx): Likewise.
50297         (libc_feholdsetround_sse_ctx): Likewise.
50298         (libc_feresetround_sse_ctx): Likewise.
50299         (libc_feresetround_387_ctx): Likewise.
50300         (libc_feupdateenv_387_ctx): Likewise.
50301         (libc_feholdexcept_setroundf_ctx): Define macro.
50302         (libc_fesetenvf_ctx): Likewise.
50303         (libc_feupdateenvf_ctx): Likewise.
50304         (libc_feholdsetroundf_ctx): Likewise.
50305         (libc_feresetroundf_ctx): Likewise.
50306         (libc_feholdexcept_setround_ctx): Likewise.
50307         (libc_fesetenv_ctx): Likewise.
50308         (libc_feupdateenv_ctx): Likewise.
50309         (libc_feholdsetround_ctx): Likewise.
50310         (libc_feresetround_ctx): Likewise.
50311         (libc_feholdexcept_setroundl_ctx): Likewise.
50312         (libc_feupdateenvl_ctx): Likewise.
50313         (libc_feholdsetroundl_ctx): Likewise.
50314         (libc_feresetroundl_ctx): Likewise.
50315         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50316         (libc_feresetround_53bit_ctx): Likewise.
50318 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50320         * locale/iso-639.def: Convert to UTF-8.
50322 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50324         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50325         (EXCEPTION_TESTS_double): Likewise.
50326         (EXCEPTION_TESTS_long_double): Likewise.
50327         (EXCEPTION_TESTS): Likewise.
50328         * math/libm-test.inc (test_exceptions): Only test exceptions if
50329         EXCEPTION_TESTS (FLOAT).
50331 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50333         * benchtests/Makefile (string-bench): Add strcpy_chk and
50334         stpcpy_chk.
50335         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50336         * benchtests/bench-stpcpy_chk.c: New file.
50337         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50338         * benchtests/bench-strcpy_chk.c: New file.
50339         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50340         code.
50341         (do_test): Likewise.
50343 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50345         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50346         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50347         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50348         with tabs where appropriate.
50349         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50350         dl-procinfo.h.
50351         [PPC_PLATFORM_PPC440]: Likewise.
50352         [PPC_PLATFORM_PPC464]: Likewise.
50353         [PPC_PLATFORM_PPC476]: Likewise.
50354         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50355         ppc464, and ppc476 platform strings merging from ports/
50356         dl-procinfo.h.
50358 2013-06-11  Andreas Schwab  <schwab@suse.de>
50360         [BZ #14991]
50361         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50362         (from_ucs4_idx): Regenerate.
50363         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50364         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50365         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50366         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50367         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50368         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50369         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50370         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50371         from FROM_LOOP and TO_LOOP specific macros.
50372         (BODY): Handle combining characters.
50373         * iconvdata/BIG5HKSCS.irreversible: Update.
50374         * iconvdata/BIG5HKSCS.precomposed: New file.
50375         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50376         characters.
50377         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50379 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50381         * include/sys/time.h: Fix indentation and add copyright header.
50383         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50384         (do_test): Likewise.
50385         * string/test-memchr.c (do_one_test): Likewise.
50386         (do_test): Likewise.
50387         * string/test-memcmp.c (do_one_test): Likewise.
50388         (do_test): Likewise.
50389         * string/test-memcpy.c (do_one_test): Likewise.
50390         (do_test): Likewise.
50391         * string/test-memmem.c (do_one_test): Likewise.
50392         (do_test): Likewise.
50393         (do_random_tests): Likewise.
50394         * string/test-memmove.c (do_one_test): Likewise.
50395         (do_test): Likewise.
50396         * string/test-memset.c (do_one_test): Likewise.
50397         (do_test): Likewise.
50398         * string/test-rawmemchr.c (do_one_test): Likewise.
50399         (do_test): Likewise.
50400         * string/test-strcasecmp.c (do_one_test): Likewise.
50401         (do_test): Likewise.
50402         * string/test-strcasestr.c (do_one_test): Likewise.
50403         (do_test): Likewise.
50404         * string/test-strcat.c (do_one_test): Likewise.
50405         (do_test): Likewise.
50406         * string/test-strchr.c (do_one_test): Likewise.
50407         (do_test): Likewise.
50408         * string/test-strcmp.c (do_one_test): Likewise.
50409         (do_test): Likewise.
50410         * string/test-strcpy.c (do_one_test): Likewise.
50411         (do_test): Likewise.
50412         * string/test-string.h: Likewise.
50413         (test_init): Likewise.
50414         * string/test-strlen.c (do_one_test): Likewise.
50415         (do_test): Likewise.
50416         * string/test-strncasecmp.c (do_one_test): Likewise.
50417         (do_test): Likewise.
50418         * string/test-strncat.c (do_one_test): Likewise.
50419         (do_test): Likewise.
50420         * string/test-strncmp.c (do_one_test): Likewise.
50421         (do_test_limit): Likewise.
50422         (do_test): Likewise.
50423         * string/test-strncpy.c (do_one_test): Likewise.
50424         (do_test): Likewise.
50425         * string/test-strnlen.c (do_one_test): Likewise.
50426         (do_test): Likewise.
50427         * string/test-strpbrk.c (do_one_test): Likewise.
50428         (do_test): Likewise.
50429         * string/test-strrchr.c (do_one_test): Likewise.
50430         (do_test): Likewise.
50431         * string/test-strspn.c (do_one_test): Likewise.
50432         (do_test): Likewise.
50433         * string/test-strstr.c (do_one_test): Likewise.
50434         (do_test): Likewise.
50436         * benchtests/Makefile (string-bench): Add string benchmarks.
50437         * benchtests/bench-bcopy-ifunc.c: New file.
50438         * benchtests/bench-bcopy.c: New file.
50439         * benchtests/bench-bzero-ifunc.c: New file.
50440         * benchtests/bench-bzero.c: New file.
50441         * benchtests/bench-memccpy-ifunc.c: New file.
50442         * benchtests/bench-memccpy.c: New file.
50443         * benchtests/bench-memchr-ifunc.c: New file.
50444         * benchtests/bench-memchr.c: New file.
50445         * benchtests/bench-memcmp-ifunc.c: New file.
50446         * benchtests/bench-memcmp.c: New file.
50447         * benchtests/bench-memmem-ifunc.c: New file.
50448         * benchtests/bench-memmem.c: New file.
50449         * benchtests/bench-memmove-ifunc.c: New file.
50450         * benchtests/bench-memmove.c: New file.
50451         * benchtests/bench-mempcpy-ifunc.c: New file.
50452         * benchtests/bench-mempcpy.c: New file.
50453         * benchtests/bench-memset-ifunc.c: New file.
50454         * benchtests/bench-memset.c: New file.
50455         * benchtests/bench-rawmemchr-ifunc.c: New file.
50456         * benchtests/bench-rawmemchr.c: New file.
50457         * benchtests/bench-stpcpy-ifunc.c: New file.
50458         * benchtests/bench-stpcpy.c: New file.
50459         * benchtests/bench-stpncpy-ifunc.c: New file.
50460         * benchtests/bench-stpncpy.c: New file.
50461         * benchtests/bench-strcasecmp-ifunc.c: New file.
50462         * benchtests/bench-strcasecmp.c: New file.
50463         * benchtests/bench-strcasestr-ifunc.c: New file.
50464         * benchtests/bench-strcasestr.c: New file.
50465         * benchtests/bench-strcat-ifunc.c: New file.
50466         * benchtests/bench-strcat.c: New file.
50467         * benchtests/bench-strchr-ifunc.c: New file.
50468         * benchtests/bench-strchr.c: New file.
50469         * benchtests/bench-strchrnul-ifunc.c: New file.
50470         * benchtests/bench-strchrnul.c: New file.
50471         * benchtests/bench-strcmp-ifunc.c: New file.
50472         * benchtests/bench-strcmp.c: New file.
50473         * benchtests/bench-strcpy-ifunc.c: New file.
50474         * benchtests/bench-strcpy.c: New file.
50475         * benchtests/bench-strcspn-ifunc.c: New file.
50476         * benchtests/bench-strcspn.c: New file.
50477         * benchtests/bench-strlen-ifunc.c: New file.
50478         * benchtests/bench-strlen.c: New file.
50479         * benchtests/bench-strncasecmp-ifunc.c: New file.
50480         * benchtests/bench-strncasecmp.c: New file.
50481         * benchtests/bench-strncat-ifunc.c: New file.
50482         * benchtests/bench-strncat.c: New file.
50483         * benchtests/bench-strncmp-ifunc.c: New file.
50484         * benchtests/bench-strncmp.c: New file.
50485         * benchtests/bench-strncpy-ifunc.c: New file.
50486         * benchtests/bench-strncpy.c: New file.
50487         * benchtests/bench-strnlen-ifunc.c: New file.
50488         * benchtests/bench-strnlen.c: New file.
50489         * benchtests/bench-strpbrk-ifunc.c: New file.
50490         * benchtests/bench-strpbrk.c: New file.
50491         * benchtests/bench-strrchr-ifunc.c: New file.
50492         * benchtests/bench-strrchr.c: New file.
50493         * benchtests/bench-strspn-ifunc.c: New file.
50494         * benchtests/bench-strspn.c: New file.
50495         * benchtests/bench-strstr-ifunc.c: New file.
50496         * benchtests/bench-strstr.c: New file.
50498         * benchtests/Makefile: Disable parallel execution of targets.
50499         (string-bench): Add memcpy.
50500         (benchset): New variable to store a list of benchmark sets.
50501         (bench-func): Renamed from bench.
50502         (bench-set): New target.
50503         (bench): Depend on bench-func and bench-set.
50504         * benchtests/README: Add section on benchmark sets.
50505         * benchtests/bench-memcpy-ifunc.c: New file.
50506         * benchtests/bench-memcpy.c: New file.
50507         * benchtests/bench-string.h: New file.
50509 2013-06-11  Andreas Schwab  <schwab@suse.de>
50511         [BZ #15577]
50512         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50513         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50514         values in the triple.
50515         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50516         terminator in the group key.
50518 2013-06-11  Andreas Jaeger  <aj@suse.de>
50520         * po/zh_TW.po: Update Chinese (traditional) translation from
50521         translation project.
50523 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50525         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50526         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50527         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50528         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50529         (clock_getcpuclockid): Likewise.
50530         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50531         Add weak_alias and libc_hidden_def.
50532         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50533         * rt/clock_gettime.c (clock_gettime): Rename to
50534         __clock_gettime.  Add weak_alias and libc_hidden_def.
50535         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50536         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50537         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50538         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50539         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50540         Likewise.
50541         * rt/clock_settime.c (clock_settime): Rename to
50542         __clock_settime.  Add weak_alias and libc_hidden_def.
50543         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50545 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50547         * mach/err_boot.sub: Remove trailing whitespace.
50548         * mach/err_ipc.sub: Likewise.
50549         * mach/err_mach.sub: Likewise.
50551         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50552         (ROUNDING_TESTS_double): Likewise.
50553         (ROUNDING_TESTS_long_double): Likewise.
50554         (ROUNDING_TESTS): Likewise.
50555         * math/libm-test.inc: Include <math-tests.h>.
50556         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50557         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50558         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50559         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50561 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50563         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50564         of assigning.
50566 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50568         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50569         otherwise empty TRANS lines.
50570         * sysdeps/gnu/errlist.c: Regenerated.
50572         * catgets/gencat.c (error_print): Use (void) in function
50573         definition.
50574         * crypt/crypt_util.c (__init_des): Likewise.
50575         * crypt/speeds.c (Stop): Likewise.
50576         (main): Likewise.
50577         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50578         * inet/ruserpass.c (token): Likewise.
50579         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50580         * intl/localealias.c (extend_alias_table): Likewise.
50581         * intl/plural-exp.c (init_germanic_plural): Likewise.
50582         * libio/fcloseall.c (__fcloseall): Likewise.
50583         * libio/genops.c (_IO_flush_all): Likewise.
50584         (_IO_flush_all_linebuffered): Likewise.
50585         (_IO_cleanup): Likewise.
50586         (_IO_iter_begin): Likewise.
50587         (_IO_iter_end): Likewise.
50588         (_IO_list_lock): Likewise.
50589         (_IO_list_unlock): Likewise.
50590         (_IO_list_resetlock): Likewise.
50591         * libio/getchar.c (getchar): Likewise.
50592         * libio/getchar_u.c (getchar_unlocked): Likewise.
50593         * libio/getwchar.c (getwchar): Likewise.
50594         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50595         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50596         * login/getpt.c (__getpt): Likewise.
50597         * login/tst-utmp.c (main): Likewise.
50598         * malloc/hooks.c (__malloc_check_init): Likewise.
50599         * malloc/malloc.c (__malloc_stats): Likewise.
50600         * malloc/mtrace.c (tr_break): Likewise.
50601         (mtrace): Likewise.
50602         (muntrace): Likewise.
50603         * misc/fstab.c (endfsent): Likewise.
50604         * misc/getclktck.c (__getclktck): Likewise.
50605         * misc/getdtsz.c (__getdtablesize): Likewise.
50606         * misc/gethostid.c (gethostid): Likewise.
50607         * misc/getpagesize.c (__getpagesize): Likewise.
50608         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50609         (__get_nprocs): Likewise.
50610         (__get_phys_pages): Likewise.
50611         (__get_avphys_pages): Likewise.
50612         * misc/getttyent.c (getttyent): Likewise.
50613         (setttyent): Likewise.
50614         (endttyent): Likewise.
50615         * misc/getusershell.c (getusershell): Likewise.
50616         (endusershell): Likewise.
50617         (setusershell): Likewise.
50618         (initshells): Likewise.
50619         * misc/hsearch.c (__hdestroy): Likewise.
50620         * misc/sync.c (sync): Likewise.
50621         * misc/syslog.c (closelog_internal): Likewise.
50622         (closelog): Likewise.
50623         * misc/ttyslot.c (ttyslot): Likewise.
50624         * misc/vhangup.c (vhangup): Likewise.
50625         * posix/fork.c (__fork): Likewise.
50626         * posix/getegid.c (__getegid): Likewise.
50627         * posix/geteuid.c (__geteuid): Likewise.
50628         * posix/getgid.c (__getgid): Likewise.
50629         * posix/getpid.c (__getpid): Likewise.
50630         * posix/getppid.c (__getppid): Likewise.
50631         * posix/getuid.c (__getuid): Likewise.
50632         * posix/pause.c (pause): Likewise.
50633         * posix/setpgrp.c (setpgrp): Likewise.
50634         * posix/setsid.c (__setsid): Likewise.
50635         * posix/test-vfork.c (noop): Likewise.
50636         * resolv/gethnamaddr.c (_endhtent): Likewise.
50637         (_gethtent): Likewise.
50638         (ht_endhostent): Likewise.
50639         (gethostent): Likewise.
50640         (dns_service): Likewise.
50641         * stdlib/drand48.c (drand48): Likewise.
50642         * stdlib/lrand48.c (lrand48): Likewise.
50643         * stdlib/mrand48.c (mrand48): Likewise.
50644         * stdlib/rand.c (rand): Likewise.
50645         * stdlib/random.c (__random): Likewise.
50646         * stdlib/setenv.c (clearenv): Likewise.
50647         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50648         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50649         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50650         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50651         (__get_nprocs): Likewise.
50652         (__get_phys_pages): Likewise.
50653         (__get_avphys_pages): Likewise.
50654         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50655         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50656         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50657         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50658         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50659         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50660         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50661         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50662         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50663         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50664         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50665         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50666         * sysdeps/posix/clock.c (clock): Likewise.
50667         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50668         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50669         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50670         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50671         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50672         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50673         (__get_nprocs_conf): Likewise.
50674         (__get_phys_pages): Likewise.
50675         (__get_avphys_pages): Likewise.
50676         * time/clock.c (clock): Likewise.
50677         * time/tzset.c (__tzname_max): Likewise.
50679 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50681         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50682         (__bswap_32): Do not use "register".
50683         * crypt/crypt.c (_ufc_doit_r): Likewise.
50684         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50685         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50686         * gmon/gmon.c (__monstartup): Likewise.
50687         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50688         * hurd/hurdmalloc.c (more_memory): Likewise.
50689         (malloc): Likewise.
50690         (free): Likewise.
50691         (realloc): Likewise.
50692         (malloc_fork_prepare): Likewise.
50693         (malloc_fork_parent): Likewise.
50694         (malloc_fork_child): Likewise.
50695         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50696         (_svcauth_des): Likewise.
50697         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50698         * inet/inet_net.c (inet_network): Likewise.
50699         * inet/inet_netof.c (inet_netof): Likewise.
50700         * inet/rcmd.c (__validuser2_sa): Likewise.
50701         * io/fts.c (fts_open): Likewise.
50702         (fts_load): Likewise.
50703         (fts_close): Likewise.
50704         (fts_read): Likewise.
50705         (fts_children): Likewise.
50706         (fts_build): Likewise.
50707         (fts_stat): Likewise.
50708         (fts_sort): Likewise.
50709         (fts_alloc): Likewise.
50710         (fts_lfree): Likewise.
50711         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50712         (_IO_file_xsgetn): Likewise.
50713         (_IO_file_xsgetn_mmap): Likewise.
50714         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50715         (_IO_cookie_write): Likewise.
50716         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50717         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50718         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50719         * malloc/obstack.c (_obstack_begin): Likewise.
50720         (_obstack_begin_1): Likewise.
50721         (_obstack_newchunk): Likewise.
50722         (_obstack_allocated_p): Likewise.
50723         (obstack_free): Likewise.
50724         (_obstack_memory_used): Likewise.
50725         * misc/getttyent.c (getttynam): Likewise.
50726         (getttyent): Likewise.
50727         (skip): Likewise.
50728         (value): Likewise.
50729         * misc/getusershell.c (initshells): Likewise.
50730         * misc/syslog.c (__vsyslog_chk): Likewise.
50731         * misc/ttyslot.c (ttyslot): Likewise.
50732         * nis/nis_hash.c (__nis_hash): Likewise.
50733         * posix/fnmatch_loop.c (FCT): Likewise.
50734         * posix/getconf.c (print_all): Likewise.
50735         (main): Likewise.
50736         * posix/getopt.c (exchange): Likewise.
50737         * posix/glob.c (globfree): Likewise.
50738         (prefix_array): Likewise.
50739         (__glob_pattern_type): Likewise.
50740         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50741         (NS_GET32): Likewise.
50742         (NS_PUT16): Likewise.
50743         (NS_PUT32): Likewise.
50744         * resolv/gethnamaddr.c (getanswer): Likewise.
50745         (gethostbyname2): Likewise.
50746         (gethostbyaddr): Likewise.
50747         (_gethtent): Likewise.
50748         (_gethtbyname2): Likewise.
50749         (_gethtbyaddr): Likewise.
50750         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50751         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50752         * resolv/res_init.c (__res_vinit): Likewise.
50753         (net_mask): Likewise.
50754         * resolv/res_mkquery.c (outchar): Likewise.
50755         (PRINT): Likewise.
50756         * stdio-common/printf_fp.c (outchar): Likewise.
50757         (PRINT): Likewise.
50758         * stdio-common/printf_fphex.c (outchar): Likewise.
50759         (PRINT): Likewise.
50760         * stdio-common/printf_size.c (outchar): Likewise.
50761         (PRINT): Likewise.
50762         * stdio-common/test_rdwr.c (main): Likewise.
50763         * stdio-common/tfformat.c (matches): Likewise.
50764         * stdio-common/vfprintf.c (outchar): Likewise.
50765         (printf_unknown): Likewise.
50766         (buffered_vfprintf): Likewise.
50767         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50768         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50769         (ReadFile): Likewise.
50770         * stdlib/qsort.c (SWAP): Likewise.
50771         (_quicksort): Likewise.
50772         * stdlib/setenv.c (__add_to_environ): Likewise.
50773         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50774         * stdlib/strtol_l.c (__strtol_l): Likewise.
50775         * stdlib/tst-strtod.c (main): Likewise.
50776         * stdlib/tst-strtol.c (main): Likewise.
50777         * stdlib/tst-strtoll.c (main): Likewise.
50778         * string/bits/string2.h (__strcmp_cc): Likewise.
50779         (__strcmp_cg): Likewise.
50780         (__strcspn_c1): Likewise.
50781         (__strcspn_c2): Likewise.
50782         (__strcspn_c3): Likewise.
50783         (__strspn_c1): Likewise.
50784         (__strspn_c2): Likewise.
50785         (__strspn_c3): Likewise.
50786         (__strsep_1c): Likewise.
50787         (__strsep_2c): Likewise.
50788         (__strsep_3c): Likewise.
50789         * string/memccpy.c (__memccpy): Likewise.
50790         * string/stpcpy.c (__stpcpy): Likewise.
50791         * string/strcmp.c (strcmp): Likewise.
50792         * string/strrchr.c (strrchr): Likewise.
50793         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50794         Likewise.
50795         * sysdeps/mach/hurd/getcwd.c
50796         (_hurd_canonicalize_directory_name_internal): Likewise.
50797         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50798         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50799         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50800         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50801         Likewise, in both definitions.
50802         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50803         definitions.
50804         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50805         64] (__bswap_64): Likewise.
50806         * time/test_time.c (main): Likewise.
50807         * time/tzfile.c (__tzfile_read): Likewise.
50808         (__tzfile_compute): Likewise.
50809         * time/tzset.c (__tzset_parse_tz): Likewise.
50810         (tzset_internal): Likewise.
50811         (compute_change): Likewise.
50812         * wcsmbs/wcscat.c (__wcscat): Likewise.
50813         * wcsmbs/wcschr.c (wcschr): Likewise.
50814         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50815         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50816         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50817         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50818         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50819         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50820         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50822         * wcsmbs/wmemset.c (wmemset): Likewise.
50824 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50826         * scripts/config.guess: Update to version 2013-05-16.
50827         * scripts/config.sub: Update to version 2013-04-24.
50828         * scripts/install-sh: Update to version 2011-11-20.07.
50829         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50830         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50832 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50834         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50835         * elf/sln.c: Likewise.
50836         * hurd/hurd/ioctl.h: Likewise.
50837         * hurd/hurdmalloc.c: Likewise.
50838         * hurd/xattr.c: Likewise.
50839         * include/shlib-compat.h: Likewise.
50840         * inet/ruserpass.c: Likewise.
50841         * libio/iofgets_u.c: Likewise.
50842         * libio/iofgetws_u.c: Likewise.
50843         * locale/programs/ld-identification.c: Likewise.
50844         * locale/programs/ld-time.c: Likewise.
50845         * mach/msg-destroy.c: Likewise.
50846         * nss/nss_files/files-netgrp.c: Likewise.
50847         * resolv/res_data.c: Likewise.
50848         * soft-fp/op-1.h: Likewise.
50849         * soft-fp/op-2.h: Likewise.
50850         * soft-fp/op-4.h: Likewise.
50851         * soft-fp/op-common.h: Likewise.
50852         * stdio-common/printf_fphex.c: Likewise.
50853         * stdlib/strtod_l.c: Likewise.
50854         * sunrpc/rpc/clnt.h: Likewise.
50855         * sysdeps/generic/framestate.c: Likewise.
50856         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50857         * sysdeps/i386/bsd-setjmp.S: Likewise.
50858         * sysdeps/i386/__longjmp.S: Likewise.
50859         * sysdeps/i386/setjmp.S: Likewise.
50860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50863         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50865         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50866         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50867         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50868         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50869         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50870         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50871         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50872         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50873         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50874         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50876         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50877         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50878         * sysdeps/ieee754/support.c: Likewise.
50879         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50880         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50881         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50882         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50883         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50884         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50885         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50886         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50887         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50888         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50889         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50890         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50891         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50893         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50894         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50898 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50900         * posix/transbug.c: Remove executable mode.
50902 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50904         * crypt/speeds.c: Remove trailing whitespace.
50905         * dlfcn/default.c: Likewise.
50906         * elf/ifuncdep2.c: Likewise.
50907         * elf/ifuncmain1.c: Likewise.
50908         * elf/ifuncmain1vis.c: Likewise.
50909         * elf/testobj.h: Likewise.
50910         * elf/tst-stackguard1.c: Likewise.
50911         * gmon/sys/gmon.h: Likewise.
50912         * hurd/hurdmsg.c: Likewise.
50913         * hurd/new-fd.c: Likewise.
50914         * hurd/ports-get.c: Likewise.
50915         * iconvdata/ibm1008_420.c: Likewise.
50916         * inet/tst-getni1.c: Likewise.
50917         * inet/tst-getni2.c: Likewise.
50918         * libio/ioungetc.c: Likewise.
50919         * libio/wfiledoalloc.c: Likewise.
50920         * manual/libm-err-tab.pl: Likewise.
50921         * math/w_dremf.c: Likewise.
50922         * misc/ftruncate.c: Likewise.
50923         * posix/bug-glob2.c: Likewise.
50924         * posix/tst-pcre.c: Likewise.
50925         * posix/wait4.c: Likewise.
50926         * resolv/README: Likewise.
50927         * resolv/res_debug.h: Likewise.
50928         * resolv/tst-inet_ntop.c: Likewise.
50929         * setjmp/bug269-setjmp.c: Likewise.
50930         * soft-fp/extended.h: Likewise.
50931         * soft-fp/op-1.h: Likewise.
50932         * soft-fp/op-2.h: Likewise.
50933         * soft-fp/op-4.h: Likewise.
50934         * soft-fp/op-8.h: Likewise.
50935         * soft-fp/testit.c: Likewise.
50936         * stdio-common/bug16.c: Likewise.
50937         * stdlib/random.c: Likewise.
50938         * sunrpc/rpcsvc/rquota.x: Likewise.
50939         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50940         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50941         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50942         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50943         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50944         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50945         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50946         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50947         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50949         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50950         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50951         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50952         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50954         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50955         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50956         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50957         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50958         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50962         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50963         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50964         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50967         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50968         * sysdeps/ieee754/s_lib_version.c: Likewise.
50969         * sysdeps/mach/hurd/check_fds.c: Likewise.
50970         * sysdeps/mach/hurd/getsockname.c: Likewise.
50971         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50972         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50973         * sysdeps/powerpc/bits/link.h: Likewise.
50974         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50975         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50976         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50977         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50978         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50979         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50980         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50981         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50982         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50983         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50984         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50985         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50986         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50987         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50988         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50989         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50992         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50994         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50995         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50996         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50997         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50998         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51000         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51001         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51002         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51005         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51006         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51007         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51008         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51009         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51010         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51011         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51012         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51013         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51014         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51015         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51016         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51017         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51018         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51019         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51020         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51021         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51022         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51023         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51026         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51027         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51028         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51029         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51030         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51031         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51032         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51033         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51035         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51036         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51037         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51038         * sysdeps/powerpc/sysdep.h: Likewise.
51039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51040         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51041         * sysdeps/sh/dl-trampoline.S: Likewise.
51042         * sysdeps/sh/memset.S: Likewise.
51043         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51044         * sysdeps/sh/strlen.S: Likewise.
51045         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51046         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51047         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51048         * sysdeps/sparc/sparc32/rem.S: Likewise.
51049         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51050         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51051         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51052         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51053         * sysdeps/sparc/sparc32/urem.S: Likewise.
51054         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51055         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51056         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51057         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51058         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51059         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51060         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51061         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51062         * sysdeps/unix/bsd/times.c: Likewise.
51063         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51064         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51069         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51070         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51071         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51072         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51075         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51076         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51077         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51078         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51079         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51080         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51081         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51082         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51083         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51084         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51085         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51086         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51087         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51088         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51089         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51090         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51091         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51092         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51093         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51094         * sysdeps/x86_64/strcspn.S: Likewise.
51096 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51098         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51099         generated file.  Regenerate properly from gen-translit.pl.
51100         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51101         locale/C-translit.h.
51103 2013-06-05  Andreas Schwab  <schwab@suse.de>
51105         [BZ #15100]
51106         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51107         week as 6 instead of -1.
51108         * time/tst-strptime.c (day_tests): Add test case.
51110 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51112         * sysdeps/generic/math_private.h
51113         (libc_feholdexcept_setround_53bit): Replace with
51114         libc_feholdsetround_53bit.
51115         (libc_feupdateenv_53bit): Replace with
51116         libc_feresetround_53bit.
51117         (SET_RESTORE_ROUND_53BIT): Adjust.
51119 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51121         * string/test-strchrnul.c: Add copyright header.
51123         * posix/tst-getaddrinfo4.c: Increase test timeout.
51125 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51127         [BZ #15536]
51128         * math/libm-test.inc (MAX_EXP): Remove
51129         (MIN_EXP): Define.
51130         (ulp): Use MIN_EXP - MANT_DIG.
51131         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51133 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51135         * po/be.po: Revert last change.
51136         * po/zh_CN.po: Likewise.
51137         * po/header.pot: Likewise.
51139 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51141         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51142         link-libc-deps to empty as target-specific variable.
51143         * Makerules (link-libc-args): New variable.
51144         (libc-for-link): Likewise.
51145         (link-libc-deps): Likewise.
51146         (lib%.so): Depend on $(link-libc-deps).  Link with
51147         $(link-libc-args).
51148         (build-module): Link with $(link-libc-args).
51149         (build-module-asneeded): Likewise.
51150         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51151         list of objects.
51152         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51153         target-specific variable.
51154         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51155         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51156         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51157         libc.
51158         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51159         libc and ld.so.
51160         ($(objpfx)libpcprofile.so): Likewise.
51161         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51162         libc_nonshared.a.
51163         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51164         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51165         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51166         $(link-libc-deps).
51167         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51168         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51169         * login/Makefile ($(objpfx)libutil.so): Likewise.
51170         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51171         * math/Makefile ($(objpfx)libm.so): Likewise.
51172         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51173         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51174         variable instead of depending directly on libc.
51175         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51176         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51177         $(link-libc-deps).
51178         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51179         libc.
51180         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51181         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51182         ($(objpfx)libanl.so): Likewise.
51183         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51184         ld.so.
51185         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51186         $(link-libc-deps).
51187         * sysdeps/i386/fpu/Makefile: Remove file.
51188         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51189         ($(objpfx)libm.so): Remove dependency on ld.so.
51191 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51193         [BZ # 15553]
51194         * nis/yp_xdr.c (XDRMAXNAME): Define.
51195         (XDRMAXRECORD): Define.
51196         (xdr_domainname): Use XDRMAXNAME.
51197         (xdr_mapname): Likewise.
51198         (xdr_peername): Likewise.
51199         (xdr_keydat): Use XDRMAXRECORD.
51200         (xdr_valdat): Likewise.
51202 2013-05-30  Jeff Law  <law@redhat.com>
51204         [BZ #14256]
51205         * manual/errno.texi (ESTALE): Update to account for more than
51206         just NFS file systems.
51207         * sysdeps/gnu/errlist.c: Regenerated.
51209 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51211         [BZ #15465]
51212         * elf/Makefile (tests): Add tst-null-argv.
51213         (modules-names):  Add tst-null-argv-lib.
51214         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51215         (tst-null-argv-ENV): Set environment for tst-null-argv.
51216         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51217         (RTLD_PROGNAME): New macro.
51218         * elf/tst-null-argv.c: New test case.
51219         * elf/tst-null-argv-lib.c: Library for test case.
51220         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51221         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51222         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51223         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51224         * elf/dl-init.c (call_init): Likewise.
51225         (_dl_init): Likewise.
51226         * elf/dl-load.c (print_search_path): Likewise.
51227         (_dl_map_object): Likewise.
51228         * elf/dl-lookup.c (do_lookup_x): Likewise.
51229         (add_dependency): Likewise.
51230         (_dl_lookup_symbol_x): Likewise.
51231         (_dl_debug_bindings): Likewise.
51232         * elf/dl-open.c (_dl_show_scope): Likewise.
51233         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51234         * elf/dl-version.c (match_symbol): Likewise.
51235         (_dl_check_map_versions): Likewise.
51236         * elf/rtld.c (dl_main): Likewise.
51237         (print_unresolved): Use RTLD_PROGNAME.
51238         (print_missing_version): Likewise.
51239         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51240         (elf_machine_rela): Likewise.
51241         * sysdeps/powerpc/powerpc32/dl-machine.c
51242         (__process_machine_rela): Likewise.
51243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51244         Likewise.
51245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51246         Likewise.
51247         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51248         Likewise.
51249         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51251         Likewise.
51252         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51253         Likewise.
51254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51256 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51258         * po/be.po: Add descriptive title.
51259         * po/zh_CN.po: Likewise.
51260         * po/header.pot: Likewise.
51262 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51264         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51265         error message.
51266         (enlarge_archive): Likewise.
51268 2013-05-28  Ben North  <ben@redfrontdoor.org>
51270         * manual/arith.texi (frexp): It is the magnitude of the return
51271         value which lies in [0.5, 1), not the return value itself.
51273 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51277 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51279         * stdio-common/bug26.c (main): Correct fscanf template.
51281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51282         declare _dl_skip_args.
51284         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51285         Don't declare.
51287         * manual/platform.texi: Add missing @end deftypefun.
51289 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51291         [BZ #15529]
51292         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51293         bit of mantissa of 2^16382.
51294         * math/libm-test.inc (hypot_test_data): Add more tests.
51296         * math/libm-test.inc: Add drem and pow10 to list of tested
51297         functions.
51298         (pow10_test): New function.
51299         (drem_test): Likewise.
51300         (drem_test_tonearest): Likewise.
51301         (drem_test_towardzero): Likewise.
51302         (drem_test_downward): Likewise.
51303         (drem_test_upward): Likewise.
51304         (main): Call the new functions.
51306         * math/libm-test.inc (finite_test_data): Remove.
51307         (finite_test): Run tests from isfinite_test_data.
51308         (gamma_test_data): Remove.
51309         (gamma_test): Run tests from lgamma_test_data.
51310         * sysdeps/i386/fpu/libm-test-ulps: Update.
51311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51313 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51315         * manual/platform.texi: Add PowerPC PPR function set documentation.
51316         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51317         implementation.
51319 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51321         * math/libm-test.inc (MAX_EXP): Define.
51322         (ULPDIFF): Define.
51323         (ulp): New function.
51324         (check_float_internal): Use ULPDIFF.
51325         (cpow_test): Disable failing test.
51326         (check_ulp): Test ulp() implemetnation.
51327         (main): Call check_ulp before starting tests.
51329 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51331         * math/gen-libm-test.pl (generate_testfile): Do not handle
51332         START_DATA and END_DATA.
51333         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51334         END_DATA.
51335         (acos_tonearest_test_data): Likewise.
51336         (acos_towardzero_test_data): Likewise.
51337         (acos_downward_test_data): Likewise.
51338         (acos_upward_test_data): Likewise.
51339         (acosh_test_data): Likewise.
51340         (asin_test_data): Likewise.
51341         (asin_tonearest_test_data): Likewise.
51342         (asin_towardzero_test_data): Likewise.
51343         (asin_downward_test_data): Likewise.
51344         (asin_upward_test_data): Likewise.
51345         (asinh_test_data): Likewise.
51346         (atan_test_data): Likewise.
51347         (atanh_test_data): Likewise.
51348         (atan2_test_data): Likewise.
51349         (cabs_test_data): Likewise.
51350         (cacos_test_data): Likewise.
51351         (cacosh_test_data): Likewise.
51352         (carg_test_data): Likewise.
51353         (casin_test_data): Likewise.
51354         (casinh_test_data): Likewise.
51355         (catan_test_data): Likewise.
51356         (catanh_test_data): Likewise.
51357         (cbrt_test_data): Likewise.
51358         (ccos_test_data): Likewise.
51359         (ccosh_test_data): Likewise.
51360         (ceil_test_data): Likewise.
51361         (cexp_test_data): Likewise.
51362         (cimag_test_data): Likewise.
51363         (clog_test_data): Likewise.
51364         (clog10_test_data): Likewise.
51365         (conj_test_data): Likewise.
51366         (copysign_test_data): Likewise.
51367         (cos_test_data): Likewise.
51368         (cos_tonearest_test_data): Likewise.
51369         (cos_towardzero_test_data): Likewise.
51370         (cos_downward_test_data): Likewise.
51371         (cos_upward_test_data): Likewise.
51372         (cosh_test_data): Likewise.
51373         (cosh_tonearest_test_data): Likewise.
51374         (cosh_towardzero_test_data): Likewise.
51375         (cosh_downward_test_data): Likewise.
51376         (cosh_upward_test_data): Likewise.
51377         (cpow_test_data): Likewise.
51378         (cproj_test_data): Likewise.
51379         (creal_test_data): Likewise.
51380         (csin_test_data): Likewise.
51381         (csinh_test_data): Likewise.
51382         (csqrt_test_data): Likewise.
51383         (ctan_test_data): Likewise.
51384         (ctan_tonearest_test_data): Likewise.
51385         (ctan_towardzero_test_data): Likewise.
51386         (ctan_downward_test_data): Likewise.
51387         (ctan_upward_test_data): Likewise.
51388         (ctanh_test_data): Likewise.
51389         (ctanh_tonearest_test_data): Likewise.
51390         (ctanh_towardzero_test_data): Likewise.
51391         (ctanh_downward_test_data): Likewise.
51392         (ctanh_upward_test_data): Likewise.
51393         (erf_test_data): Likewise.
51394         (erfc_test_data): Likewise.
51395         (exp_test_data): Likewise.
51396         (exp_tonearest_test_data): Likewise.
51397         (exp_towardzero_test_data): Likewise.
51398         (exp_downward_test_data): Likewise.
51399         (exp_upward_test_data): Likewise.
51400         (exp10_test_data): Likewise.
51401         (exp2_test_data): Likewise.
51402         (expm1_test_data): Likewise.
51403         (fabs_test_data): Likewise.
51404         (fdim_test_data): Likewise.
51405         (finite_test_data): Likewise.
51406         (floor_test_data): Likewise.
51407         (fma_test_data): Likewise.
51408         (fma_towardzero_test_data): Likewise.
51409         (fma_downward_test_data): Likewise.
51410         (fma_upward_test_data): Likewise.
51411         (fmax_test_data): Likewise.
51412         (fmin_test_data): Likewise.
51413         (fmod_test_data): Likewise.
51414         (fpclassify_test_data): Likewise.
51415         (frexp_test_data): Likewise.
51416         (gamma_test_data): Likewise.
51417         (hypot_test_data): Likewise.
51418         (ilogb_test_data): Likewise.
51419         (isfinite_test_data): Likewise.
51420         (isgreater_test_data): Likewise.
51421         (isgreaterequal_test_data): Likewise.
51422         (isinf_test_data): Likewise.
51423         (isless_test_data): Likewise.
51424         (islessequal_test_data): Likewise.
51425         (islessgreater_test_data): Likewise.
51426         (isnan_test_data): Likewise.
51427         (isnormal_test_data): Likewise.
51428         (issignaling_test_data): Likewise.
51429         (isunordered_test_data): Likewise.
51430         (j0_test_data): Likewise.
51431         (j1_test_data): Likewise.
51432         (jn_test_data): Likewise.
51433         (ldexp_test_data): Likewise.
51434         (lgamma_test_data): Likewise.
51435         (lrint_test_data): Likewise.
51436         (lrint_tonearest_test_data): Likewise.
51437         (lrint_towardzero_test_data): Likewise.
51438         (lrint_downward_test_data): Likewise.
51439         (lrint_upward_test_data): Likewise.
51440         (llrint_test_data): Likewise.
51441         (llrint_tonearest_test_data): Likewise.
51442         (llrint_towardzero_test_data): Likewise.
51443         (llrint_downward_test_data): Likewise.
51444         (llrint_upward_test_data): Likewise.
51445         (log_test_data): Likewise.
51446         (log10_test_data): Likewise.
51447         (log1p_test_data): Likewise.
51448         (log2_test_data): Likewise.
51449         (logb_test_data): Likewise.
51450         (logb_downward_test_data): Likewise.
51451         (lround_test_data): Likewise.
51452         (llround_test_data): Likewise.
51453         (modf_test_data): Likewise.
51454         (nearbyint_test_data): Likewise.
51455         (nextafter_test_data): Likewise.
51456         (nexttoward_test_data): Likewise.
51457         (pow_test_data): Likewise.
51458         (pow_tonearest_test_data): Likewise.
51459         (pow_towardzero_test_data): Likewise.
51460         (pow_downward_test_data): Likewise.
51461         (pow_upward_test_data): Likewise.
51462         (remainder_test_data): Likewise.
51463         (remainder_tonearest_test_data): Likewise.
51464         (remainder_towardzero_test_data): Likewise.
51465         (remainder_downward_test_data): Likewise.
51466         (remainder_upward_test_data): Likewise.
51467         (remquo_test_data): Likewise.
51468         (rint_test_data): Likewise.
51469         (rint_tonearest_test_data): Likewise.
51470         (rint_towardzero_test_data): Likewise.
51471         (rint_downward_test_data): Likewise.
51472         (rint_upward_test_data): Likewise.
51473         (round_test_data): Likewise.
51474         (scalb_test_data): Likewise.
51475         (scalbn_test_data): Likewise.
51476         (scalbln_test_data): Likewise.
51477         (signbit_test_data): Likewise.
51478         (sin_test_data): Likewise.
51479         (sin_tonearest_test_data): Likewise.
51480         (sin_towardzero_test_data): Likewise.
51481         (sin_downward_test_data): Likewise.
51482         (sin_upward_test_data): Likewise.
51483         (sincos_test_data): Likewise.
51484         (sinh_test_data): Likewise.
51485         (sinh_tonearest_test_data): Likewise.
51486         (sinh_towardzero_test_data): Likewise.
51487         (sinh_downward_test_data): Likewise.
51488         (sinh_upward_test_data): Likewise.
51489         (sqrt_test_data): Likewise.
51490         (tan_test_data): Likewise.
51491         (tan_tonearest_test_data): Likewise.
51492         (tan_towardzero_test_data): Likewise.
51493         (tan_downward_test_data): Likewise.
51494         (tan_upward_test_data): Likewise.
51495         (tanh_test_data): Likewise.
51496         (tgamma_test_data): Likewise.
51497         (trunc_test_data): Likewise.
51498         (y0_test_data): Likewise.
51499         (y1_test_data): Likewise.
51500         (yn_test_data): Likewise.
51501         (significand_test_data): Likewise.
51503         * math/gen-libm-test.pl (@functions): Remove variable.
51504         (generate_testfile): Don't handle START and END lines.
51505         * math/libm-test.inc (START): New macro.
51506         (END): Likewise.
51507         (END_COMPLEX): Likewise.
51508         (acos_test): Use END macro without arguments.
51509         (acos_test_tonearest): Likewise.
51510         (acos_test_towardzero): Likewise.
51511         (acos_test_downward): Likewise.
51512         (acos_test_upward): Likewise.
51513         (acosh_test): Likewise.
51514         (asin_test): Likewise.
51515         (asin_test_tonearest): Likewise.
51516         (asin_test_towardzero): Likewise.
51517         (asin_test_downward): Likewise.
51518         (asin_test_upward): Likewise.
51519         (asinh_test): Likewise.
51520         (atan_test): Likewise.
51521         (atanh_test): Likewise.
51522         (atan2_test): Likewise.
51523         (cabs_test): Likewise.
51524         (cacos_test): Use END_COMPLEX macro without arguments.
51525         (cacosh_test): Likewise.
51526         (carg_test): Use END macro without arguments.
51527         (casin_test): Use END_COMPLEX macro without arguments.
51528         (casinh_test): Likewise.
51529         (catan_test): Likewise.
51530         (catanh_test): Likewise.
51531         (cbrt_test): Use END macro without arguments.
51532         (ccos_test): Use END_COMPLEX macro without arguments.
51533         (ccosh_test): Likewise.
51534         (ceil_test): Use END macro without arguments.
51535         (cexp_test): Use END_COMPLEX macro without arguments.
51536         (cimag_test): Use END macro without arguments.
51537         (clog_test): Use END_COMPLEX macro without arguments.
51538         (clog10_test): Likewise.
51539         (conj_test): Likewise.
51540         (copysign_test): Use END macro without arguments.
51541         (cos_test): Likewise.
51542         (cos_test_tonearest): Likewise.
51543         (cos_test_towardzero): Likewise.
51544         (cos_test_downward): Likewise.
51545         (cos_test_upward): Likewise.
51546         (cosh_test): Likewise.
51547         (cosh_test_tonearest): Likewise.
51548         (cosh_test_towardzero): Likewise.
51549         (cosh_test_downward): Likewise.
51550         (cosh_test_upward): Likewise.
51551         (cpow_test): Use END_COMPLEX macro without arguments.
51552         (cproj_test): Likewise.
51553         (creal_test): Use END macro without arguments.
51554         (csin_test): Use END_COMPLEX macro without arguments.
51555         (csinh_test): Likewise.
51556         (csqrt_test): Likewise.
51557         (ctan_test): Likewise.
51558         (ctan_test_tonearest): Likewise.
51559         (ctan_test_towardzero): Likewise.
51560         (ctan_test_downward): Likewise.
51561         (ctan_test_upward): Likewise.
51562         (ctanh_test): Likewise.
51563         (ctanh_test_tonearest): Likewise.
51564         (ctanh_test_towardzero): Likewise.
51565         (ctanh_test_downward): Likewise.
51566         (ctanh_test_upward): Likewise.
51567         (erf_test): Use END macro without arguments.
51568         (erfc_test): Likewise.
51569         (exp_test): Likewise.
51570         (exp_test_tonearest): Likewise.
51571         (exp_test_towardzero): Likewise.
51572         (exp_test_downward): Likewise.
51573         (exp_test_upward): Likewise.
51574         (exp10_test): Likewise.
51575         (exp2_test): Likewise.
51576         (expm1_test): Likewise.
51577         (fabs_test): Likewise.
51578         (fdim_test): Likewise.
51579         (finite_test): Likewise.
51580         (floor_test): Likewise.
51581         (fma_test): Likewise.
51582         (fma_test_towardzero): Likewise.
51583         (fma_test_downward): Likewise.
51584         (fma_test_upward): Likewise.
51585         (fmax_test): Likewise.
51586         (fmin_test): Likewise.
51587         (fmod_test): Likewise.
51588         (fpclassify_test): Likewise.
51589         (frexp_test): Likewise.
51590         (gamma_test): Likewise.
51591         (hypot_test): Likewise.
51592         (ilogb_test): Likewise.
51593         (isfinite_test): Likewise.
51594         (isgreater_test): Likewise.
51595         (isgreaterequal_test): Likewise.
51596         (isinf_test): Likewise.
51597         (isless_test): Likewise.
51598         (islessequal_test): Likewise.
51599         (islessgreater_test): Likewise.
51600         (isnan_test): Likewise.
51601         (isnormal_test): Likewise.
51602         (issignaling_test): Likewise.
51603         (isunordered_test): Likewise.
51604         (j0_test): Likewise.
51605         (j1_test): Likewise.
51606         (jn_test): Likewise.
51607         (ldexp_test): Likewise.
51608         (lgamma_test): Likewise.
51609         (lrint_test): Likewise.
51610         (lrint_test_tonearest): Likewise.
51611         (lrint_test_towardzero): Likewise.
51612         (lrint_test_downward): Likewise.
51613         (lrint_test_upward): Likewise.
51614         (llrint_test): Likewise.
51615         (llrint_test_tonearest): Likewise.
51616         (llrint_test_towardzero): Likewise.
51617         (llrint_test_downward): Likewise.
51618         (llrint_test_upward): Likewise.
51619         (log_test): Likewise.
51620         (log10_test): Likewise.
51621         (log1p_test): Likewise.
51622         (log2_test): Likewise.
51623         (logb_test): Likewise.
51624         (logb_test_downward): Likewise.
51625         (lround_test): Likewise.
51626         (llround_test): Likewise.
51627         (modf_test): Likewise.
51628         (nearbyint_test): Likewise.
51629         (nextafter_test): Likewise.
51630         (nexttoward_test): Likewise.
51631         (pow_test): Likewise.
51632         (pow_test_tonearest): Likewise.
51633         (pow_test_towardzero): Likewise.
51634         (pow_test_downward): Likewise.
51635         (pow_test_upward): Likewise.
51636         (remainder_test): Likewise.
51637         (remainder_test_tonearest): Likewise.
51638         (remainder_test_towardzero): Likewise.
51639         (remainder_test_downward): Likewise.
51640         (remainder_test_upward): Likewise.
51641         (remquo_test): Likewise.
51642         (rint_test): Likewise.
51643         (rint_test_tonearest): Likewise.
51644         (rint_test_towardzero): Likewise.
51645         (rint_test_downward): Likewise.
51646         (rint_test_upward): Likewise.
51647         (round_test): Likewise.
51648         (scalb_test): Likewise.
51649         (scalbn_test): Likewise.
51650         (scalbln_test): Likewise.
51651         (signbit_test): Likewise.
51652         (sin_test): Likewise.
51653         (sin_test_tonearest): Likewise.
51654         (sin_test_towardzero): Likewise.
51655         (sin_test_downward): Likewise.
51656         (sin_test_upward): Likewise.
51657         (sincos_test): Likewise.
51658         (sinh_test): Likewise.
51659         (sinh_test_tonearest): Likewise.
51660         (sinh_test_towardzero): Likewise.
51661         (sinh_test_downward): Likewise.
51662         (sinh_test_upward): Likewise.
51663         (sqrt_test): Likewise.
51664         (tan_test): Likewise.
51665         (tan_test_tonearest): Likewise.
51666         (tan_test_towardzero): Likewise.
51667         (tan_test_downward): Likewise.
51668         (tan_test_upward): Likewise.
51669         (tanh_test): Likewise.
51670         (tgamma_test): Likewise.
51671         (trunc_test): Likewise.
51672         (y0_test): Likewise.
51673         (y1_test): Likewise.
51674         (yn_test): Likewise.
51675         (significand_test): Likewise.
51677 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51679         [BZ #15381]
51680         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51682 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51684         [BZ #14894]
51685         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51686         __ppc_mdoio and __ppc_mdoom.
51687         * manual/platform.texi: Document new functions __ppc_yield,
51688         __ppc_mdoio and __ppc_mdoom.
51690 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51692         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51693         (main): Mention "tls" pseudo-hwcap is legacy.
51694         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51696 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51698         * math/gen-libm-test.pl (parse_args): Output only string of
51699         arguments as text for test name, not full call or descriptions of
51700         tests for extra outputs.
51701         (generate_testfile): Do not pass function name to parse_args.
51702         Generate this_func variable from START.
51703         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51704         field to arg_str.
51705         (struct test_ff_f_data): Likewise.
51706         (test_ff_f_data_nexttoward): Likewise.
51707         (struct test_fi_f_data): Likewise.
51708         (struct test_fl_f_data): Likewise.
51709         (struct test_if_f_data): Likewise.
51710         (struct test_fff_f_data): Likewise.
51711         (struct test_c_f_data): Likewise.
51712         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51713         (struct test_fF_f1_data): Likewise.
51714         (struct test_ffI_f1_data): Likewise.
51715         (struct test_c_c_data): Rename test_name field to arg_str.
51716         (struct test_cc_c_data): Likewise.
51717         (struct test_f_i_data): Likewise.
51718         (struct test_ff_i_data): Likewise.
51719         (struct test_f_l_data): Likewise.
51720         (struct test_f_L_data): Likewise.
51721         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51722         and extra2_name.
51723         (COMMON_TEST_SETUP): New macro.
51724         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51725         (COMMON_TEST_CLEANUP): Likewise.
51726         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51727         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51728         macros.
51729         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51730         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51731         macros.
51732         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51733         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51734         cleanup macros.
51735         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51736         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51737         macros.
51738         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51739         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51740         macros.
51741         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51742         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51743         cleanup macros.
51744         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51745         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51746         cleanup macros.
51747         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51748         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51749         cleanup macros.
51750         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51751         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51752         macros.
51753         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51754         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51755         macros.
51756         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51757         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51758         macros.
51759         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51760         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51761         cleanup macros.
51762         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51763         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51764         cleanup macros.
51765         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51766         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51767         macros.
51768         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51769         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51770         cleanup macros.
51771         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51772         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51773         macros.
51774         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51775         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51776         macros.
51777         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51778         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51779         cleanup macros.
51780         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51782 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51784         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51785         to _sifields.sigfault.
51786         (si_addr_lsb): Define new macro.
51787         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51789         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51791 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51793         [BZ #15441]
51794         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51795         returns -1.
51796         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51797         null return -1.
51798         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51799         loading the domain.
51801 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51803         * math/gen-libm-test.pl (parse_args): Do not include expected
51804         result in test name.
51805         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51808         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51809         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51812 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51814         * benchtests/Makefile: Sort function entries.
51816         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51817         tanh, asinh, acosh, atanh.
51818         * benchtests/acos-inputs: New file.
51819         * benchtests/acosh-inputs: New file.
51820         * benchtests/asin-inputs: New file.
51821         * benchtests/asinh-inputs: New file.
51822         * benchtests/atanh-inputs: New file.
51823         * benchtests/cosh-inputs: New file.
51824         * benchtests/log-inputs: New file.
51825         * benchtests/sinh-inputs: New file.
51826         * benchtests/tanh-inputs: New file.
51828 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51830         [BZ #15339]
51831         * posix/tst-getaddrinfo4.c: New test.
51832         * posix/Makefile (tests): Add it.
51834 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51836         [BZ #15339]
51837         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51838         when no services were used.
51839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51840         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51842 2013-05-21  Andreas Schwab  <schwab@suse.de>
51844         [BZ #15014]
51845         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51846         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51847         successful.
51848         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51849         redundant variable declarations and reallocation of buffer when
51850         parsing as IPv6 address.  Always set NSS status when called from
51851         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51852         buffer too small.  Correct computation of needed size.
51853         * nss/Makefile (tests): Add test-digits-dots.
51854         * nss/test-digits-dots.c: New test.
51856 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51858         * benchtests/Makefile: Remove instructions for adding
51859         benchmark tests.
51860         * benchtests/README: New file to explain how to execute and
51861         enhance the benchmark tests.
51863 2013-05-21  Andreas Schwab  <schwab@suse.de>
51865         [BZ #15493]
51866         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51867         * setjmp/tst-sigsetjmp.c: New test.
51869 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51871         * sysdeps/x86_64/memset.S (memset): New implementation.
51872         (__bzero): Likewise.
51873         (__memset_tail): New function.
51875 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51877         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51878         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51879         __memcpy_sse2_unaligned ifunc selection.
51880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51881         Add memcpy-sse2-unaligned.S.
51882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51883         Add: __memcpy_sse2_unaligned.
51885 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51887         [BZ #15490]
51888         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51889         math_force_eval before restoring floating-point envrionment.
51890         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51892         Likewise.
51893         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51894         <math_private.h>.
51895         (__nearbyintl): Use math_force_eval before restoring
51896         floating-point environment.
51897         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51899         * math/gen-libm-test.pl (special_functions): Remove.
51900         (parse_args): Don't handle TEST_extra.  Handle functions with no
51901         return value.
51902         * math/libm-test.inc (struct test_sincos_data): Replace with
51903         struct test_fFF_11_data.
51904         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51905         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51906         (sincos_test_data): Change element type to struct
51907         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51908         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51909         RUN_TEST_LOOP_sincos.
51910         * math/README.libm-test: Don't mention special handling of
51911         individual functions.
51912         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51913         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51914         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51915         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51916         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51919         * math/gen-libm-test.pl (get_variable): Remove function.
51920         (parse_args): Don't show pointer parameters to call in test
51921         names.  Use "extra output N" in test names for extra outputs
51922         rather than naming variables.
51924 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51926         [BZ #15488]
51927         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51928         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51929         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51930         double tests.
51931         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51932         disable.
51933         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51934         check_long_double.
51936         * math/gen-libm-test.pl (@tests): Remove variable.
51937         ($count): Likewise.
51938         (new_test): Remove function.
51939         (show_exceptions): New function.
51940         (special_functions): Use show_exceptions instead of new_test.
51941         (parse_args): Likewise.
51942         (generate_testfile): Pass only function name in generated call to
51943         print_max_error or print_complex_max_error.
51944         (get_ulps): Do not handle complex tests specially.
51945         (output_test): Rename to ...
51946         (get_all_ulps_for_test): ... this.  Return a string rather than
51947         printing to a file.  Require ulps to be present.
51948         (output_ulps): Generate arrays rather than #defines.
51949         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51950         (struct ulp_data): New type.
51951         (BUILD_COMPLEX_ULP): Remove macro.
51952         (compare_ulp_data): New function.
51953         (find_ulps): Likewise.
51954         (find_test_ulps): Likewise.
51955         (find_function_ulps): Likewise.
51956         (find_complex_function_ulps): Likewise.
51957         (print_max_error): Determine allowed ulps using
51958         find_function_ulps.
51959         (print_complex_max_error): Determine allowed ulps using
51960         find_complex_function_ulps.
51961         (check_float_internal): Determine max ulps using find_test_ulps.
51962         (check_float): Do not take max_ulp parameter.  Update call to
51963         check_float_internal.
51964         (check_complex): Likewise.
51965         (check_int): Do not take max_ulp parameter.
51966         (check_long): Likewise.
51967         (check_bool): Likewise.
51968         (check_longlong): Likewise.
51969         (struct test_f_f_data): Remove max_ulp field.
51970         (struct test_ff_f_data): Likewise.
51971         (struct test_ff_f_data_nexttoward): Likewise.
51972         (struct test_fi_f_data): Likewise.
51973         (struct test_fl_f_data): Likewise.
51974         (struct test_if_f_data): Likewise.
51975         (struct test_fff_f_data): Likewise.
51976         (struct test_c_f_data): Likewise.
51977         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51978         (struct test_fF_f1_data): Likewise.
51979         (struct test_ffI_f1_data): Likewise.
51980         (struct test_c_c_data): Remove max_ulp field.
51981         (struct test_cc_c_data): Likewise.
51982         (struct test_f_i_data): Likewise.
51983         (struct test_ff_i_data): Likewise.
51984         (struct test_f_l_data): Likewise.
51985         (struct test_f_L_data): Likewise.
51986         (struct test_sincos_data): Likewise.
51987         (RUN_TEST_f_f): Do not handle ulps.
51988         (RUN_TEST_LOOP_f_f): Likewise.
51989         (RUN_TEST_2_f): Likewise.
51990         (RUN_TEST_LOOP_2_f): Likewise.
51991         (RUN_TEST_fff_f): Likewise.
51992         (RUN_TEST_LOOP_fff_f): Likewise.
51993         (RUN_TEST_c_f): Likewise.
51994         (RUN_TEST_LOOP_c_f): Likewise.
51995         (RUN_TEST_f_f1): Likewise.
51996         (RUN_TEST_LOOP_f_f1): Likewise.
51997         (RUN_TEST_fF_f1): Likewise.
51998         (RUN_TEST_LOOP_fF_f1): Likewise.
51999         (RUN_TEST_fI_f1): Likewise.
52000         (RUN_TEST_LOOP_fI_f1): Likewise.
52001         (RUN_TEST_ffI_f1): Likewise.
52002         (RUN_TEST_LOOP_ffI_f1): Likewise.
52003         (RUN_TEST_c_c): Likewise.
52004         (RUN_TEST_LOOP_c_c): Likewise.
52005         (RUN_TEST_cc_c): Likewise.
52006         (RUN_TEST_LOOP_cc_c): Likewise.
52007         (RUN_TEST_f_i): Likewise.
52008         (RUN_TEST_LOOP_f_i): Likewise.
52009         (RUN_TEST_f_i_tg): Likewise.
52010         (RUN_TEST_LOOP_f_i_tg): Likewise.
52011         (RUN_TEST_ff_i_tg): Likewise.
52012         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52013         (RUN_TEST_f_b): Likewise.
52014         (RUN_TEST_LOOP_f_b): Likewise.
52015         (RUN_TEST_f_b_tg): Likewise.
52016         (RUN_TEST_LOOP_f_b_tg): Likewise.
52017         (RUN_TEST_f_l): Likewise.
52018         (RUN_TEST_LOOP_f_l): Likewise.
52019         (RUN_TEST_f_L): Likewise.
52020         (RUN_TEST_LOOP_f_L): Likewise.
52021         (RUN_TEST_sincos): Likewise.
52022         (RUN_TEST_LOOP_sincos): Likewise.
52024 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #15480]
52027         [BZ #15485]
52028         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52029         main case of finite arguments, set rounding mode to FE_TONEAREST
52030         and discard exceptions.
52031         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52032         exceptions.
52033         (remainder_tonearest_test_data): New variable.
52034         (remainder_test_tonearest): New function.
52035         (remainder_towardzero_test_data): New variable.
52036         (remainder_test_towardzero): New function.
52037         (remainder_downward_test_data): New variable.
52038         (remainder_test_downward): New function.
52039         (remainder_upward_test_data): New variable.
52040         (remainder_test_upward): New function.
52041         (main): Call the new test functions.
52043         * math/libm-test.inc (struct test_f_f1_data): Remove field
52044         extra_init.
52045         (struct test_fF_f1_data): Likewise.
52046         (struct test_ffI_f1_data): Likewise.
52047         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52048         based on value of EXTRA_EXPECTED.
52049         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52050         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52051         EXTRA_VAR based on value of EXTRA_EXPECTED.
52052         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52053         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52054         EXTRA_VAR based on value of EXTRA_EXPECTED.
52055         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52056         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52057         EXTRA_VAR based on value of EXTRA_EXPECTED.
52058         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52059         * math/gen-libm-test.pl (parse_args): Don't output initializers
52060         for extra output values.
52062         * math/libm-test.inc (check_int): Expect result to be exactly
52063         equal to expected value and do not handle ulps.
52064         (check_long): Likewise.
52065         (check_longlong): Likewise.
52067         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52068         exceptions.
52069         (cimag_test_data): Likewise.
52070         (conj_test_data): Likewise.
52071         (copysign_test_data): Likewise.
52072         (cproj_test_data): Likewise.
52073         (creal_test_data): Likewise.
52074         (fabs_test_data): Likewise.
52075         (fdim_test_data): Likewise.
52076         (finite_test_data): Likewise.
52077         (floor_test_data): Likewise.
52078         (fmax_test_data): Likewise.
52079         (fmin_test_data): Likewise.
52080         (fmod_test_data): Likewise.
52081         (fpclassify_test_data): Likewise.
52082         (frexp_test_data): Likewise.
52083         (ilogb_test_data): Likewise.
52084         (isfinite_test_data): Likewise.
52085         (isgreater_test_data): Likewise.
52086         (isgreaterequal_test_data): Likewise.
52087         (isinf_test_data): Likewise.
52088         (isless_test_data): Likewise.
52089         (islessequal_test_data): Likewise.
52090         (islessgreater_test_data): Likewise.
52091         (isnan_test_data): Likewise.
52092         (isnormal_test_data): Likewise.
52093         (issignaling_test_data): Likewise.
52094         (isunordered_test_data): Likewise.
52095         (ldexp_test_data): Likewise.
52096         (lrint_test_data): Likewise.
52097         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52098         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52099         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52100         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52101         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52102         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52103         test input.
52104         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52105         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52106         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52107         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52108         that test input.
52109         (lrint_downward_test_data): Test for "inexact" exceptions.
52110         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52111         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52112         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52113         test input.
52114         (lrint_upward_test_data): Test for "inexact" exceptions.
52115         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52116         test input.
52117         (llrint_test_data): Test for "inexact" exceptions.
52118         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52119         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52120         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52121         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52122         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52123         (llrint_downward_test_data): Test for "inexact" exceptions.
52124         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52125         (llrint_upward_test_data): Test for "inexact" exceptions.
52126         (logb_test_data): Likewise.
52127         (logb_downward_test_data): Likewise.
52128         (nextafter_test_data): Likewise.
52129         (nexttoward_test_data): Likewise.
52130         (remainder_test_data): Likewise.
52131         (remquo_test_data): Likewise.
52132         (scalbn_test_data): Likewise.
52133         (scalbln_test_data): Likewise.
52134         (signbit_test_data): Likewise.
52135         (sqrt_test_data): Likewise.
52136         (significand_test_data): Likewise.
52138 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52140         [BZ #15424]
52141         * benchtests/bench-modf.c (struct args): Mark arg0 as
52142         volatile.
52143         * scripts/bench.pl: Mark members of struct args as volatile.
52145 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52147         [BZ # 15497]
52148         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52149         negative infinity on POWER6 or lower.
52150         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52152 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52154         [BZ #15442]
52155         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52156         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52157         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52158         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52159         (_FP_SETQNAN): New macro.
52160         (_FP_SETQNAN_SEMIRAW): Likewise.
52161         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52162         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52163         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52164         (FP_EXTEND): Use _FP_FRAC_SNANP.
52165         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52166         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52167         into account.
52168         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52169         New macro.
52170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52171         Likewise.
52173 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52175         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52176         with DIVIDE_BY_ZERO_EXCEPTION.
52177         (gamma_test_data): Likewise.
52178         (lgamma_test_data): Likewise.
52179         (log_test_data): Likewise.
52180         (log10_test_data): Likewise.
52181         (log2_test_data): Likewise.
52182         (tgamma_test_data): Likewise.
52184         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52185         (acos_test_tonearest): Likewise.
52186         (acos_test_towardzero): Likewise.
52187         (acos_test_downward): Likewise.
52188         (acos_test_upward): Likewise.
52189         (acosh_test): Likewise.
52190         (asin_test): Likewise.
52191         (asin_test_tonearest): Likewise.
52192         (asin_test_towardzero): Likewise.
52193         (asin_test_downward): Likewise.
52194         (asin_test_upward): Likewise.
52195         (asinh_test): Likewise.
52196         (atan_test): Likewise.
52197         (atanh_test): Likewise.
52198         (atan2_test): Likewise.
52199         (cabs_test): Likewise.
52200         (cacos_test): Likewise.
52201         (cacosh_test): Likewise.
52202         (casin_test): Likewise.
52203         (casinh_test): Likewise.
52204         (catan_test): Likewise.
52205         (catanh_test): Likewise.
52206         (cbrt_test): Likewise.
52207         (ccos_test): Likewise.
52208         (ccosh_test): Likewise.
52209         (cexp_test): Likewise.
52210         (clog_test): Likewise.
52211         (clog10_test): Likewise.
52212         (cos_test): Likewise.
52213         (cos_test_tonearest): Likewise.
52214         (cos_test_towardzero): Likewise.
52215         (cos_test_downward): Likewise.
52216         (cos_test_upward): Likewise.
52217         (cosh_test): Likewise.
52218         (cosh_test_tonearest): Likewise.
52219         (cosh_test_towardzero): Likewise.
52220         (cosh_test_downward): Likewise.
52221         (cosh_test_upward): Likewise.
52222         (cpow_test): Likewise.
52223         (csin_test): Likewise.
52224         (csinh_test): Likewise.
52225         (csqrt_test): Likewise.
52226         (ctan_test): Likewise.
52227         (ctan_test_tonearest): Likewise.
52228         (ctan_test_towardzero): Likewise.
52229         (ctan_test_downward): Likewise.
52230         (ctan_test_upward): Likewise.
52231         (ctanh_test): Likewise.
52232         (ctanh_test_tonearest): Likewise.
52233         (ctanh_test_towardzero): Likewise.
52234         (ctanh_test_downward): Likewise.
52235         (ctanh_test_upward): Likewise.
52236         (erf_test): Likewise.
52237         (erfc_test): Likewise.
52238         (exp_test): Likewise.
52239         (exp_test_tonearest): Likewise.
52240         (exp_test_towardzero): Likewise.
52241         (exp_test_downward): Likewise.
52242         (exp_test_upward): Likewise.
52243         (exp10_test): Likewise.
52244         (exp2_test): Likewise.
52245         (expm1_test): Likewise.
52246         (fmod_test): Likewise.
52247         (gamma_test): Likewise.
52248         (hypot_test): Likewise.
52249         (j0_test): Likewise.
52250         (j1_test): Likewise.
52251         (jn_test): Likewise.
52252         (lgamma_test): Likewise.
52253         (log_test): Likewise.
52254         (log10_test): Likewise.
52255         (log1p_test): Likewise.
52256         (log2_test): Likewise.
52257         (logb_test_downward): Likewise.
52258         (pow_test): Likewise.
52259         (pow_test_tonearest): Likewise.
52260         (pow_test_towardzero): Likewise.
52261         (pow_test_downward): Likewise.
52262         (pow_test_upward): Likewise.
52263         (remainder_test): Likewise.
52264         (remquo_test): Likewise.
52265         (sin_test): Likewise.
52266         (sin_test_tonearest): Likewise.
52267         (sin_test_towardzero): Likewise.
52268         (sin_test_downward): Likewise.
52269         (sin_test_upward): Likewise.
52270         (sincos_test): Likewise.
52271         (sinh_test): Likewise.
52272         (sinh_test_tonearest): Likewise.
52273         (sinh_test_towardzero): Likewise.
52274         (sinh_test_downward): Likewise.
52275         (sinh_test_upward): Likewise.
52276         (sqrt_test): Likewise.
52277         (tan_test): Likewise.
52278         (tan_test_tonearest): Likewise.
52279         (tan_test_towardzero): Likewise.
52280         (tan_test_downward): Likewise.
52281         (tan_test_upward): Likewise.
52282         (tanh_test): Likewise.
52283         (tgamma_test): Likewise.
52284         (y0_test): Likewise.
52285         (y1_test): Likewise.
52286         (yn_test): Likewise.
52288         * math/gen-libm-test.pl (adjust_arg): Remove function.
52289         (special_function): Remove argument $in_func.  Only handle
52290         generating output for tables of tests, not inside functions.
52291         (parse_args): Likewise.
52292         (generate_testfile): Remove variable $in_func.  Update call to
52293         parse_args.
52294         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52295         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52296         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52297         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52298         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52299         (MAX_VALUE_INIT): Rename macro to max_value.
52300         (MIN_VALUE_INIT): Rename macro to min_value.
52301         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52302         (plus_zero): Remove variable.
52303         (minus_zero): Likewise.
52304         (plus_infty): Likewise.
52305         (minus_infty): Likewise.
52306         (qnan_value): Likewise.
52307         (max_value): Likewise.
52308         (min_value): Likewise.
52309         (min_subnorm_value): Likewise.
52311 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52313         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52314         uint64_t or uint32_t usage.
52315         * crypt/sha256-block.c: Likewise.
52316         * crypt/sha256-crypt.c: Likewise.
52317         * crypt/sha256.c: Likewise.
52318         * crypt/sha512-block.c: Likewise.
52319         * crypt/sha512-crypt.c: Likewise.
52320         * crypt/sha512.c: Likewise.
52321         * debug/backtrace-tst.c: Likewise.
52322         * debug/pcprofiledump.c: Likewise.
52323         * elf/cache.c: Likewise.
52324         * elf/dl-cache.c: Likewise.
52325         * elf/dl-misc.c: Likewise.
52326         * elf/dl-profile.c: Likewise.
52327         * elf/dl-support.c: Likewise.
52328         * elf/ldconfig.c: Likewise.
52329         * elf/sprof.c: Likewise.
52330         * iconv/dummy-repertoire.c: Likewise.
52331         * iconv/iconv_charmap.c: Likewise.
52332         * iconv/skeleton.c: Likewise.
52333         * iconvdata/8bit-generic.c: Likewise.
52334         * iconvdata/cp737.h: Likewise.
52335         * iconvdata/cp775.h: Likewise.
52336         * iconvdata/ibm1008.h: Likewise.
52337         * iconvdata/ibm1025.h: Likewise.
52338         * iconvdata/ibm1046.h: Likewise.
52339         * iconvdata/ibm1097.h: Likewise.
52340         * iconvdata/ibm1112.h: Likewise.
52341         * iconvdata/ibm1122.h: Likewise.
52342         * iconvdata/ibm1123.h: Likewise.
52343         * iconvdata/ibm1124.h: Likewise.
52344         * iconvdata/ibm1129.h: Likewise.
52345         * iconvdata/ibm1130.h: Likewise.
52346         * iconvdata/ibm1132.h: Likewise.
52347         * iconvdata/ibm1133.h: Likewise.
52348         * iconvdata/ibm1137.h: Likewise.
52349         * iconvdata/ibm1140.h: Likewise.
52350         * iconvdata/ibm1141.h: Likewise.
52351         * iconvdata/ibm1142.h: Likewise.
52352         * iconvdata/ibm1143.h: Likewise.
52353         * iconvdata/ibm1144.h: Likewise.
52354         * iconvdata/ibm1145.h: Likewise.
52355         * iconvdata/ibm1146.h: Likewise.
52356         * iconvdata/ibm1147.h: Likewise.
52357         * iconvdata/ibm1148.h: Likewise.
52358         * iconvdata/ibm1149.h: Likewise.
52359         * iconvdata/ibm1153.h: Likewise.
52360         * iconvdata/ibm1154.h: Likewise.
52361         * iconvdata/ibm1155.h: Likewise.
52362         * iconvdata/ibm1156.h: Likewise.
52363         * iconvdata/ibm1157.h: Likewise.
52364         * iconvdata/ibm1158.h: Likewise.
52365         * iconvdata/ibm1160.h: Likewise.
52366         * iconvdata/ibm1161.h: Likewise.
52367         * iconvdata/ibm1162.h: Likewise.
52368         * iconvdata/ibm1163.h: Likewise.
52369         * iconvdata/ibm1164.h: Likewise.
52370         * iconvdata/ibm1166.h: Likewise.
52371         * iconvdata/ibm1167.h: Likewise.
52372         * iconvdata/ibm12712.h: Likewise.
52373         * iconvdata/ibm1390.h: Likewise.
52374         * iconvdata/ibm1399.h: Likewise.
52375         * iconvdata/ibm16804.h: Likewise.
52376         * iconvdata/ibm4517.h: Likewise.
52377         * iconvdata/ibm4899.h: Likewise.
52378         * iconvdata/ibm4909.h: Likewise.
52379         * iconvdata/ibm4971.h: Likewise.
52380         * iconvdata/ibm5347.h: Likewise.
52381         * iconvdata/ibm803.h: Likewise.
52382         * iconvdata/ibm856.h: Likewise.
52383         * iconvdata/ibm901.h: Likewise.
52384         * iconvdata/ibm902.h: Likewise.
52385         * iconvdata/ibm9030.h: Likewise.
52386         * iconvdata/ibm9066.h: Likewise.
52387         * iconvdata/ibm921.h: Likewise.
52388         * iconvdata/ibm922.h: Likewise.
52389         * iconvdata/ibm9448.h: Likewise.
52390         * iconvdata/isiri-3342.h: Likewise.
52391         * iconvdata/jis0201.h: Likewise.
52392         * include/link.h: Likewise.
52393         * include/netdb.h: Likewise.
52394         * inet/check_native.c: Likewise.
52395         * inet/check_pf.c: Likewise.
52396         * inet/getipv4sourcefilter.c: Likewise.
52397         * inet/getnameinfo.c: Likewise.
52398         * inet/getsourcefilter.c: Likewise.
52399         * inet/htonl.c: Likewise.
52400         * inet/setipv4sourcefilter.c: Likewise.
52401         * inet/setsourcefilter.c: Likewise.
52402         * inet/test-inet6_opt.c: Likewise.
52403         * inet/tst-network.c: Likewise.
52404         * locale/C-collate.c: Likewise.
52405         * locale/C-ctype.c: Likewise.
52406         * locale/C-time.c: Likewise.
52407         * locale/C-translit.h: Likewise.
52408         * locale/loadarchive.c: Likewise.
52409         * locale/programs/3level.h: Likewise.
52410         * locale/programs/charmap.c: Likewise.
52411         * locale/programs/charmap.h: Likewise.
52412         * locale/programs/ld-address.c: Likewise.
52413         * locale/programs/ld-collate.c: Likewise.
52414         * locale/programs/ld-ctype.c: Likewise.
52415         * locale/programs/ld-identification.c: Likewise.
52416         * locale/programs/ld-measurement.c: Likewise.
52417         * locale/programs/ld-messages.c: Likewise.
52418         * locale/programs/ld-monetary.c: Likewise.
52419         * locale/programs/ld-name.c: Likewise.
52420         * locale/programs/ld-numeric.c: Likewise.
52421         * locale/programs/ld-paper.c: Likewise.
52422         * locale/programs/ld-telephone.c: Likewise.
52423         * locale/programs/ld-time.c: Likewise.
52424         * locale/programs/linereader.c: Likewise.
52425         * locale/programs/locale.c: Likewise.
52426         * locale/programs/locarchive.c: Likewise.
52427         * locale/programs/locfile.h: Likewise.
52428         * locale/programs/repertoire.c: Likewise.
52429         * locale/programs/simple-hash.c: Likewise.
52430         * locale/programs/simple-hash.h: Likewise.
52431         * malloc/memusage.c: Likewise.
52432         * malloc/memusagestat.c: Likewise.
52433         * nis/nis_defaults.c: Likewise.
52434         * nis/nis_hash.c: Likewise.
52435         * nis/nis_print.c: Likewise.
52436         * nis/nis_xdr.c: Likewise.
52437         * nscd/connections.c: Likewise.
52438         * nscd/hstcache.c: Likewise.
52439         * nscd/nscd_gethst_r.c: Likewise.
52440         * nscd/nscd_getserv_r.c: Likewise.
52441         * nscd/nscd_helper.c: Likewise.
52442         * nscd/servicescache.c: Likewise.
52443         * nss/makedb.c: Likewise.
52444         * nss/nss_db/db-XXX.c: Likewise.
52445         * nss/nss_db/db-initgroups.c: Likewise.
52446         * nss/nss_db/db-netgrp.c: Likewise.
52447         * nss/nss_files/files-network.c: Likewise.
52448         * nss/nss_files/files-parse.c: Likewise.
52449         * posix/bug-regex5.c: Likewise.
52450         * posix/fnmatch_loop.c: Likewise.
52451         * posix/regcomp.c: Likewise.
52452         * posix/regexec.c: Likewise.
52453         * posix/tst-rfc3484-2.c: Likewise.
52454         * posix/tst-rfc3484-3.c: Likewise.
52455         * posix/tst-rfc3484.c: Likewise.
52456         * resolv/nss_dns/dns-canon.c: Likewise.
52457         * resolv/nss_dns/dns-network.c: Likewise.
52458         * resolv/res_init.c: Likewise.
52459         * resolv/res_mkquery.c: Likewise.
52460         * resolv/tst-aton.c: Likewise.
52461         * stdlib/cxa_atexit.c: Likewise.
52462         * stdlib/cxa_finalize.c: Likewise.
52463         * stdlib/gen-fpioconst.c: Likewise.
52464         * stdlib/strtol_l.c: Likewise.
52465         * string/tst-endian.c: Likewise.
52466         * sunrpc/auth_des.c: Likewise.
52467         * sunrpc/clnt_udp.c: Likewise.
52468         * sunrpc/rtime.c: Likewise.
52469         * sunrpc/svcauth_des.c: Likewise.
52470         * sunrpc/xdr.c: Likewise.
52471         * sunrpc/xdr_intXX_t.c: Likewise.
52472         * sunrpc/xdr_rec.c: Likewise.
52473         * sysdeps/generic/ldconfig.h: Likewise.
52474         * sysdeps/generic/ldsodefs.h: Likewise.
52475         * sysdeps/generic/memusage.h: Likewise.
52476         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52478         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52479         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52480         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52481         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52482         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52486         * sysdeps/posix/getaddrinfo.c: Likewise.
52487         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52488         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52489         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52491         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52492         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52493         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52494         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52495         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52496         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52497         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52498         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52499         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52500         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52501         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52502         * sysdeps/x86_64/dl-tls.h: Likewise.
52503         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52504         * time/alt_digit.c: Likewise.
52505         * time/era.c: Likewise.
52506         * wcsmbs/tst-c16c32-1.c: Likewise.
52508 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52510         * math/libm-test.inc (struct test_sincos_data): New type.
52511         (RUN_TEST_LOOP_sincos): New macro.
52512         (sincos_test_data): New variable.
52513         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52515 2013-05-16  Richard Henderson  <rth@redhat.com>
52517         * math/atest-exp2.c (LIMB64): New macro.
52518         (CONSTSZ): New macro.
52519         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52520         (hexdig): Move ...
52521         (print_mpn_fp): ... to function scope.
52522         (read_mpn_hex): Remove.
52523         (get_log2): Remove.
52524         (exp2_mpn): Use mp_log2.
52525         (main): Use mp_exp1.
52527 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52529         * math/libm-test.inc: Remove comment about not testing "inexact"
52530         exceptions.
52531         (INEXACT_EXCEPTION): New macro.
52532         (NO_INEXACT_EXCEPTION): Likewise.
52533         (INVALID_EXCEPTION_OK): Update value.
52534         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52535         (OVERFLOW_EXCEPTION_OK): Likewise.
52536         (UNDERFLOW_EXCEPTION_OK): Likewise.
52537         (IGNORE_ZERO_INF_SIGN): Likewise.
52538         (ERRNO_UNCHANGED): Likewise.
52539         (ERRNO_EDOM): Likewise.
52540         (ERRNO_ERANGE): Likewise.
52541         (test_exceptions): Handle testing "inexact" exceptions.
52542         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52543         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52544         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52545         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52546         INEXACT_EXCEPTION.
52547         (rint_towardzero_test_data): Likewise.
52548         (rint_downward_test_data): Likewise.
52549         (rint_upward_test_data): Likewise.
52551         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52552         with OVERFLOW_EXCEPTION.
52553         (exp10_test_data): Likewise.
52554         (exp2_test_data): Likewise.
52555         (expm1_test_data): Likewise.
52556         (lgamma_test_data): Likewise.
52557         (pow_test_data): Likewise.
52558         (tgamma_test_data): Likewise.
52559         (yn_test_data): Remove duplicate test of overflow.
52561         * math/libm-test.inc (struct test_cc_c_data): New type.
52562         (RUN_TEST_LOOP_cc_c): New macro.
52563         (cpow_test_data): New variable.
52564         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52566         * math/libm-test.inc (struct test_f_L_data): New type.
52567         (RUN_TEST_LOOP_f_L): New macro.
52568         (llrint_test_data): New variable.
52569         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52570         (llrint_tonearest_test_data): New variable.
52571         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52572         (llrint_towardzero_test_data): New variable.
52573         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52574         (llrint_downward_test_data): New variable.
52575         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52576         (llrint_upward_test_data): New variable.
52577         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52578         (llround_test_data): New variable.
52579         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52581 2013-05-13  Peter Collingbourne  <pcc@google.com>
52583         * math/atest-exp2.c (get_log2): Remove const attribute.
52585 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52587         * math/libm-test.inc (struct test_f_l_data): New type.
52588         (RUN_TEST_LOOP_f_l): New macro.
52589         (lrint_test_data): New variable.
52590         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52591         (lrint_tonearest_test_data): New variable.
52592         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52593         (lrint_towardzero_test_data): New variable.
52594         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52595         (lrint_downward_test_data): New variable.
52596         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52597         (lrint_upward_test_data): New variable.
52598         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52599         (lround_test_data): New variable.
52600         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52602 2013-05-15  Peter Collingbourne  <pcc@google.com>
52604         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52605         (EXTRACT_WORDS64) Use where appropriate.
52606         (INSERT_WORDS64) Likewise.
52608         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52609         constraints with x constraints.
52610         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52612         * malloc/obstack.c (_obstack_compat): Add initializer.
52614 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52617         si_trapno and add si_addr_lsb to _sifields.sigfault.
52618         (si_trapno): Remove macro.
52619         (si_addr_lsb): Define new macro.
52620         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52622 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52624         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52625         instead of TEST_f_l.
52626         (llrint_test_tonearest): Likewise.
52627         (llrint_test_towardzero): Likewise.
52628         (llrint_test_downward): Likewise.
52629         (llrint_test_upward): Likewise.
52630         (llround_test): Likewise.
52632         * math/libm-test.inc (struct test_f_i_data): Add comment.
52633         (RUN_TEST_LOOP_f_b): New macro.
52634         (RUN_TEST_LOOP_f_b_tg): Likewise.
52635         (finite_test_data): New variable.
52636         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52637         (isfinite_test_data): New variable.
52638         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52639         (isinf_test_data): New variable.
52640         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52641         (isnan_test_data): New variable.
52642         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52643         (isnormal_test_data): New variable.
52644         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52645         (issignaling_test_data): New variable.
52646         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52647         (signbit_test_data): New variable.
52648         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52650         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52651         with INVALID_EXCEPTION.
52652         (acosh_test_data): Likewise.
52653         (asin_test_data): Likewise.
52654         (atanh_test_data): Likewise.
52655         (fmod_test_data): Likewise.
52656         (log_test_data): Likewise.
52657         (log10_test_data): Likewise.
52658         (log2_test_data): Likewise.
52659         (pow_test_data): Likewise.
52660         (sqrt_test_data): Likewise.
52661         (y0_test_data): Likewise.
52662         (y1_test_data): Likewise.
52663         (yn_test_data): Likewise.
52665         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52666         function contents.
52668         * math/libm-test.inc (struct test_ff_i_data): New type.
52669         (RUN_TEST_LOOP_ff_i_tg): New macro.
52670         (isgreater_test_data): New variable.
52671         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52672         (isgreaterequal_test_data): New variable.
52673         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52674         (isless_test_data): New variable.
52675         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52676         (islessequal_test_data): New variable.
52677         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52678         (islessgreater_test_data): New variable.
52679         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52680         (isunordered_test_data): New variable.
52681         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52683 2013-05-14  David S. Miller  <davem@davemloft.net>
52685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52687 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52689         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52691         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52692         extra_test to int.
52693         (struct test_f_i_data): Change type of max_ulp to int.
52695         * math/libm-test.inc (test_ffI_f1_data): New type.
52696         (RUN_TEST_LOOP_ffI_f1): New macro.
52697         (remquo_test_data): New variable.
52698         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52700         * setjmp/tst-setjmp-fp.c: New file.
52701         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52702         (link-libm): New variable.
52703         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52705         * math/libm-test.inc (struct test_f_i_data): New type.
52706         (RUN_TEST_LOOP_f_i): New macro.
52707         (RUN_TEST_LOOP_f_i_tg): Likewise.
52708         (fpclassify_test_data): New variable.
52709         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52710         (ilogb_test_data): New variable.
52711         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52713         * math/libm-test.inc (scalbln_test): Correct function name in END
52714         call.
52716         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52717         (RUN_TEST_LOOP_fI_f1): New macro.
52718         (frexp_test_data): New variable.
52719         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52721         * math/libm-test.inc (struct test_fF_f1_data): New type.
52722         (RUN_TEST_LOOP_fF_f1): New macro.
52723         (modf_test_data): New variable.
52724         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52726         * math/libm-test.inc (struct test_f_f1_data): New type.
52727         (RUN_TEST_LOOP_f_f1): New macro.
52728         (gamma_test_data): New variable.
52729         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52730         (lgamma_test_data): New variable.
52731         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52733 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52735         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52736         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52737         (main): Comment "tls" pseudo-hwcap.
52739 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52741         * math/libm-test.inc (struct test_fl_f_data): New type.
52742         (RUN_TEST_LOOP_fl_f): New variable.
52743         (scalbln_test_data): New variable.
52744         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52746         * math/libm-test.inc (struct test_fi_f_data): New type.
52747         (RUN_TEST_LOOP_fi_f): New macro.
52748         (ldexp_test_data): New variable.
52749         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52750         (scalbn_test_data): New variable.
52751         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52753         * math/libm-test.inc (struct test_c_f_data): New type.
52754         (RUN_TEST_LOOP_c_f): New macro.
52755         (cabs_test_data): New variable.
52756         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52757         (carg_test_data): New variable.
52758         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52759         (cimag_test_data): New variable.
52760         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52761         (creal_test_data): New variable.
52762         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52764         * math/libm-test.inc (struct test_if_f_data): New type.
52765         (RUN_TEST_LOOP_if_f): New macro.
52766         (jn_test_data): New variable.
52767         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52768         (yn_test_data): New variable.
52769         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52771         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52773 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52775         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52776         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52778 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52780         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52781         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52782         (bench-deps): Add bench-timing.h.
52783         * benchtests-bench-skeleton.c: Include bench-timing.h.
52784         (main): Use TIMING_* macros instead of clock_gettime.
52785         * benchtests/bench-timing.h: New file.
52787         [BZ #14582]
52788         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52789         Renamed from _LIB_VERSION.
52790         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52792 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52794         * math/libm-test.inc (struct test_fff_f_data): New type.
52795         (RUN_TEST_LOOP_fff_f): New macro.
52796         (fma_test_data): New variable.
52797         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52798         (fma_towardzero_test_data): New variable.
52799         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52800         (fma_downward_test_data): New variable.
52801         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52802         (fma_upward_test_data): New variable.
52803         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52805         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52806         (struct test_c_c_data): New type.
52807         (RUN_TEST_LOOP_c_c): New macro.
52808         (cacos_test_data): New variable.
52809         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52810         (cacosh_test_data): New variable.
52811         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52812         (casin_test_data): New variable.
52813         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52814         (casinh_test_data): New variable.
52815         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52816         (catan_test_data): New variable.
52817         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52818         (catanh_test_data): New variable.
52819         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52820         (ccos_test_data): New variable.
52821         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52822         (ccosh_test_data): New variable.
52823         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52824         (cexp_test_data): New variable.
52825         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52826         (clog_test_data): New variable.
52827         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52828         (clog10_test_data): New variable.
52829         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52830         (conj_test_data): New variable.
52831         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52832         (cproj_test_data): New variable.
52833         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52834         (csin_test_data): New variable.
52835         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52836         (csinh_test_data): New variable.
52837         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52838         (csqrt_test_data): New variable.
52839         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52840         (ctan_test_data): New variable.
52841         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52842         (ctan_tonearest_test_data): New variable.
52843         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52844         (ctan_towardzero_test_data): New variable.
52845         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52846         (ctan_downward_test_data): New variable.
52847         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52848         (ctan_upward_test_data): New variable.
52849         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52850         (ctanh_test_data): New variable.
52851         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52852         (ctanh_tonearest_test_data): New variable.
52853         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52854         (ctanh_towardzero_test_data): New variable.
52855         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52856         (ctanh_downward_test_data): New variable.
52857         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52858         (ctanh_upward_test_data): New variable.
52859         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52860         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52861         of BUILD_COMPLEX.
52863         * math/libm-test.inc (struct test_ff_f_data): New type.
52864         (struct test_ff_f_data_nexttoward): Likewise.
52865         (RUN_TEST_LOOP_2_f): New macro.
52866         (RUN_TEST_LOOP_ff_f): Likewise.
52867         (atan2_test_data): New variable.
52868         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52869         (copysign_test_data): New variable.
52870         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52871         (fdim_test_data): New variable.
52872         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52873         (fmax_test_data): New variable.
52874         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52875         (fmin_test_data): New variable.
52876         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52877         (fmod_test_data): New variable.
52878         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52879         (hypot_test_data): New variable.
52880         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52881         (nextafter_test_data): New variable.
52882         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52883         (nexttoward_test_data): New variable.
52884         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52885         (pow_test_data): New variable.
52886         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52887         (pow_tonearest_test_data): New variable.
52888         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52889         (pow_towardzero_test_data): New variable.
52890         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52891         (pow_downward_test_data): New variable.
52892         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52893         (pow_upward_test_data): New variable.
52894         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52895         (remainder_test_data): New variable.
52896         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52897         (scalb_test_data): New variable.
52898         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52899         * sysdeps/i386/fpu/libm-test-ulps: Update.
52901 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52903         * math/libm-test.inc (fma_test): Use max_value instead of local
52904         variable fltmax.
52905         (nextafter_test): Likewise.
52907         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52908         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52909         (acos_downward_test_data): New variable.
52910         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52911         (acos_upward_test_data): New variable.
52912         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52913         (acosh_test_data): New variable.
52914         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52915         (asin_test_data): New variable.
52916         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52917         (asin_tonearest_test_data): New variable.
52918         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52919         (asin_towardzero_test_data): New variable.
52920         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52921         (asin_downward_test_data): New variable.
52922         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52923         (asin_upward_test_data): New variable.
52924         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52925         (asinh_test_data): New variable.
52926         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52927         (atan_test_data): New variable.
52928         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52929         (atanh_test_data): New variable.
52930         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52931         (cbrt_test_data): New variable.
52932         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52933         (ceil_test_data): New variable.
52934         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52935         (cos_test_data): New variable.
52936         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52937         (cos_tonearest_test_data): New variable.
52938         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52939         (cos_towardzero_test_data): New variable.
52940         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52941         (cos_downward_test_data): New variable.
52942         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52943         (cos_upward_test_data): New variable.
52944         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52945         (cosh_test_data): New variable.
52946         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52947         (cosh_tonearest_test_data): New variable.
52948         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52949         (cosh_towardzero_test_data): New variable.
52950         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52951         (cosh_downward_test_data): New variable.
52952         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52953         (cosh_upward_test_data): New variable.
52954         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52955         (erf_test_data): New variable.
52956         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52957         (erfc_test_data): New variable.
52958         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52959         (exp_test_data): New variable.
52960         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52961         (exp_tonearest_test_data): New variable.
52962         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52963         (exp_towardzero_test_data): New variable.
52964         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52965         (exp_downward_test_data): New variable.
52966         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52967         (exp_upward_test_data): New variable.
52968         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52969         (exp10_test_data): New variable.
52970         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52971         (exp2_test_data): New variable.
52972         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52973         (expm1_test_data): New variable.
52974         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52975         (fabs_test_data): New variable.
52976         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52977         (floor_test_data): New variable.
52978         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52979         (j0_test_data): New variable.
52980         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52981         (j1_test_data): New variable.
52982         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52983         (log_test_data): New variable.
52984         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52985         (log10_test_data): New variable.
52986         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52987         (log1p_test_data): New variable.
52988         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52989         (log2_test_data): New variable.
52990         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52991         (logb_test_data): New variable.
52992         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52993         (logb_downward_test_data): New variable.
52994         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52995         (nearbyint_test_data): New variable.
52996         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52997         (rint_test_data): New variable.
52998         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52999         (rint_tonearest_test_data): New variable.
53000         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53001         (rint_towardzero_test_data): New variable.
53002         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53003         (rint_downward_test_data): New variable.
53004         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53005         (rint_upward_test_data): New variable.
53006         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53007         (round_test_data): New variable.
53008         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53009         (sin_test_data): New variable.
53010         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53011         (sin_tonearest_test_data): New variable.
53012         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53013         (sin_towardzero_test_data): New variable.
53014         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53015         (sin_downward_test_data): New variable.
53016         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53017         (sin_upward_test_data): New variable.
53018         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53019         (sinh_test_data): New variable.
53020         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53021         (sinh_tonearest_test_data): New variable.
53022         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53023         (sinh_towardzero_test_data): New variable.
53024         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53025         (sinh_downward_test_data): New variable.
53026         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53027         (sinh_upward_test_data): New variable.
53028         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53029         (sqrt_test_data): New variable.
53030         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53031         (tan_test_data): New variable.
53032         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53033         (tan_tonearest_test_data): New variable.
53034         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53035         (tan_towardzero_test_data): New variable.
53036         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53037         (tan_downward_test_data): New variable.
53038         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53039         (tan_upward_test_data): New variable.
53040         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53041         (tanh_test_data): New variable.
53042         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53043         (tgamma_test_data): New variable.
53044         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53045         (trunc_test_data): New variable.
53046         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53047         (y0_test_data): New variable.
53048         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53049         (y1_test_data): New variable.
53050         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53051         (significand_test_data): New variable.
53052         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53054 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53056         [BZ #12387]
53057         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53059 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53061         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53063 2013-05-10  Andreas Jaeger  <aj@suse.de>
53065         [BZ #15448]
53066         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53067         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53069 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53071         * math/gen-libm-test.pl (adjust_arg): New function.
53072         (special_functions): Handle generating output in both functions
53073         and arrays.
53074         (parse_args): Likewise.
53075         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53076         $in_func argument to parse_args.
53077         * math/libm-test.inc (struct test_f_f_data): New type.
53078         (IF_ROUND_INIT_): New macro.
53079         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53080         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53081         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53082         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53083         (ROUND_RESTORE_): Likewise.
53084         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53085         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53086         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53087         (ROUND_RESTORE_FE_UPWARD): Likewise.
53088         (RUN_TEST_LOOP_f_f): New macro.
53089         (acos_test_data): New variable.
53090         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53091         (acos_tonearest_test_data): New variable.
53092         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53094 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53096         * benchtests/bench-skeleton.c (startup): Fix coding style.
53098 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53100         [BZ #6809]
53101         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53102         negative infinity argument.
53103         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53104         negative infinity argument.
53105         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53106         negative infinity argument.
53107         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53108         domain errors.
53110 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53112         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53113         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53114         * iconv/iconv_prog.c (main): Likewise.
53115         * locale/programs/charmap-dir.c (charmap_readdir)
53116         (fopen_uncompressed): Likewise.
53117         * locale/programs/locfile.c (siblings_uncached)
53118         (write_locale_data): Use lstat64 instead of lstat.
53119         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53120         stat.
53122 2013-05-10  Andreas Jaeger  <aj@suse.de>
53124         [BZ #15395]
53125         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53126         localization.
53127         Include <locale.h>.
53129 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53131         * elf/dl-close.c (_dl_close_worker): Add comments.
53133 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53135         [BZ #15359]
53136         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53137         high part of pi/2.
53138         (__ieee754_rem_pio2l): Update comments.
53140         [BZ #15429]
53141         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53142         high part of pi/2.
53143         (__ieee754_rem_pio2l): Update comments.
53145         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53146         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53148         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53149         M_PI_4l.
53151         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53152         (M_PI_34_LOG10El): Likewise.
53153         (M_PI2_LOG10El): Likewise.
53154         (M_PI4_LOG10El): Likewise.
53155         (M_PI_LOG10El): Likewise.
53157 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53161 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53163         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53164         (MINUS_ZERO_INIT): Likewise.
53165         (PLUS_INFTY_INIT): Likewise.
53166         (MINUS_INFTY_INIT): Likewise.
53167         (QNAN_VALUE_INIT): Likewise.
53168         (MAX_VALUE_INIT): Likewise.
53169         (MIN_VALUE_INIT): Likewise.
53170         (MIN_SUBNORM_VALUE_INIT): Likewise.
53171         (plus_zero): Initialize with PLUS_ZERO_INIT.
53172         (minus_zero): Initialize with MINUS_ZERO_INIT.
53173         (plus_infty): Initialize with PLUS_INFTY_INIT.
53174         (minus_infty): Initialize with MINUS_INFTY_INIT.
53175         (qnan_value): Initialize with QNAN_VALUE_INIT.
53176         (max_value): Initialize with MAX_VALUE_INIT.
53177         (min_value): Initialize with MIN_VALUE_INIT.
53178         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53180         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53181         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53182         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53183         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53185         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53186         (RUN_TEST_2_f): Likewise.
53187         (RUN_TEST_ff_f): Likewise.
53188         (RUN_TEST_fi_f): Likewise.
53189         (RUN_TEST_fl_f): Likewise.
53190         (RUN_TEST_fff_f): Likewise.
53191         (RUN_TEST_c_f): Likewise.
53192         (RUN_TEST_f_f1): Likewise.
53193         (RUN_TEST_fF_f1): Likewise.
53194         (RUN_TEST_fI_f1): Likewise.
53195         (RUN_TEST_ffI_f1): Likewise.
53196         (RUN_TEST_c_c): Likewise.
53197         (RUN_TEST_cc_c): Likewise.
53198         (RUN_TEST_f_i): Likewise.
53199         (RUN_TEST_f_i_tg): Likewise.
53200         (RUN_TEST_ff_i_tg): Likewise.
53201         (RUN_TEST_f_b): Likewise.
53202         (RUN_TEST_f_b_tg): Likewise.
53203         (RUN_TEST_f_l): Likewise.
53204         (RUN_TEST_f_L): Likewise.
53205         (RUN_TEST_sincos): Likewise.
53206         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53207         whether to show exceptions.  Do not include ");\n" in return
53208         value.
53209         (special_functions): Output call to RUN_TEST_sincos instead of
53210         check_float calls.  Update calls to new_test.
53211         (parse_args): Output call to single RUN_TEST_* macro instead of
53212         check_* calls and other assignments.  Update calls to new_test.
53214         [BZ #2546]
53215         [BZ #2560]
53216         [BZ #5159]
53217         [BZ #15426]
53218         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53219         input to result for tgamma overflow.
53220         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53221         (gamma_coeff): New variable.
53222         (NCOEFF): New macro.
53223         (gamma_positive): New function.
53224         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53225         underflow here.  Use gamma_positive instead of exp (lgamma) for
53226         other arguments.
53227         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53228         (gamma_coeff): New variable.
53229         (NCOEFF): New macro.
53230         (gammaf_positive): New function.
53231         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53232         underflow here.  Use gamma_positive instead of exp (lgamma) for
53233         other arguments.
53234         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53235         (gamma_coeff): New variable.
53236         (NCOEFF): New macro.
53237         (gammal_positive): New function.
53238         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53239         underflow here.  Use gamma_positive instead of exp (lgamma) for
53240         other arguments.
53241         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53242         (gamma_coeff): New variable.
53243         (NCOEFF): New macro.
53244         (gammal_positive): New function.
53245         (__ieee754_gammal_r): Handle positive infinity, overflow and
53246         underflow here.  Handle NaN the same as positive infinity.  Remove
53247         check x < 0xffffffff for negative integers.  Use gamma_positive
53248         instead of exp (lgamma) for other arguments.
53249         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53250         (gamma_coeff): New variable.
53251         (NCOEFF): New macro.
53252         (gammal_positive): New function.
53253         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53254         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53255         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53256         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53258         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53259         * sysdeps/generic/math_private.h (__gamma_productf): New
53260         prototype.
53261         (__gamma_product): Likewise.
53262         (__gamma_productl): Likewise.
53263         * math/Makefile (libm-calls): Add gamma_product.
53264         * math/libm-test.inc (tgamma_test): Add more tests.
53265         * sysdeps/i386/fpu/libm-test-ulps: Update.
53266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53268 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53270         * benchtests/bench-skeleton.c (main): Preheat CPU.
53272 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53274         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53276 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53278         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53279         and _dl_skip_args_internal.
53281 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53283         * manual/message.texi (Message Translation): Talk about users.
53284         Message to key mapping impacts design.
53286 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53288         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53290         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53292         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53293         * sysdeps/wordsize-64/glob64.c: ... here.
53295         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53296         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53297         New macros.
53299         * debug/getlogin_r_chk.c: Moved to ...
53300         * login/getlogin_r_chk.c: ... here.
53301         * debug/Makefile (routines): Move getlogin_r_chk to ...
53302         * login/Makefile (routines): ... here.
53303         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53304         * login/Versions (libc: GLIBC_2.4): ... here.
53306         * io/poll.c (__poll): Renamed from poll.
53307         Add libc_hidden_def.
53308         (poll): Define as weak alias.
53310         * debug/ptsname_r_chk.c: Moved to ...
53311         * login/ptsname_r_chk.c: ... here.
53312         * debug/Makefile (routines): Move ptsname_r_chk to ...
53313         * login/Makefile (routines): ... here.
53314         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53315         * login/Versions (libc: GLIBC_2.4): ... here.
53317         * posix/getlogin.c: Moved to ...
53318         * login/getlogin.c: ... here.
53319         * posix/getlogin_r.c: Moved to ...
53320         * login/getlogin_r.c: ... here.
53321         * posix/getlogin_r.c: Moved to ...
53322         * login/getlogin_r.c: ... here.
53323         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53324         * login/Makefile (routines): ... here.
53325         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53326         * login/Versions (libc: GLIBC_2.0): ... here.
53328         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53329         (setrlimit): Define as weak alias.
53331         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53332         Call __ names for open, ftruncate, and close.
53333         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53334         (truncate): Define as weak alias.
53336 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53338         * math/gen-libm-test.pl (parse_args): Initialize x before each
53339         test of frexp, modf and remquo.
53341         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53342         test signgam value.
53344 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53346         [BZ #15418]
53347         [BZ #15419]
53348         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53349         internal tests.
53350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53352 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53354         * elf/dl-writev.h: New file.
53355         * elf/dl-misc.c: Include it.
53356         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53357         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53359 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53361         * math/libm-test.inc (noXFails): Remove variable.
53362         (noXPasses): Likewise.
53363         (BUILD_COMPLEX_INT): Remove macro.
53364         (print_screen): Remove xfail argument.
53365         (print_screen_max_error): Likewise.
53366         (update_stats): Likewise.
53367         (print_max_error): Likewise.  Update calls to other affected
53368         functions.
53369         (print_complex_max_error): Likewise.
53370         (test_single_exception): Update calls to print_screen.
53371         (test_single_errno): Likewise.
53372         (check_float_internal): Remove xfail argument.  Update calls to
53373         other affected functions.
53374         (check_float): Likewise.
53375         (check_complex): Likewise.
53376         (check_int): Likewise.
53377         (check_long): Likewise.
53378         (check_bool): Likewise.
53379         (check_longlong): Likewise.
53380         (main): Don't print noXFails and noXPasses.
53381         * math/gen-libm-test.pl (top level): Don't mention expected
53382         failure handling in comment.
53383         (new_test): Don't handle expected failures.
53384         (parse_args): Don't mention expected failure handling in comment.
53385         (generate_testfile): Don't handle expected failures.
53386         (parse_ulps): Likewise.
53387         (print_ulps_file): Likewise.
53388         (get_failure): Remove function.
53389         (output_test): Don't handle expected failures.
53390         * make/README.libm-test: Don't mention expected failure handling.
53392         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53393         (minus_zero): Likewise.
53394         (plus_infty): Likewise.
53395         (minus_infty): Likewise.
53396         (qnan_value): Likewise.
53397         (max_value): Likewise.
53398         (min_value): Likewise.
53399         (min_subnorm_value): Likewise.
53400         (initialize): Do not initialize those variables dynamically.
53402 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53404         * io/open.c (__open_2): Moved to ...
53405         * io/open_2.c: ... this new file.
53406         * io/open64.c (__open64_2): Moved to ...
53407         * io/open64_2.c: ... this new file.
53408         * io/openat.c (__openat_2): Moved to ...
53409         * io/openat_2.c: ... this new file.
53410         * io/openat64.c (__openat64_2): Moved to ...
53411         * io/openat64_2.c: ... this new file.
53412         * io/Makefile (routines): Add them.
53413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53414         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53415         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53416         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53417         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53418         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53419         (__openat64): Add hidden_ver.
53420         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53421         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53423         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53424         Separately conditionalize setting of GLRO(dl_sysinfo) so
53425         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53426         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53428 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53430         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53431         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53432         definition.
53433         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53434         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53435         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53436         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53437         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53439 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53441         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53442         test signgam value.
53444         * math/libm-test.inc (hypot_test): Do not use
53445         IGNORE_ZERO_INF_SIGN.
53447 2013-05-03  Andreas Jaeger  <aj@suse.de>
53449         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53450         Linux 3.9.
53451         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53452         (PF_MAX): Adjust for VSOCK change.
53454 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53458 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53460         [BZ #15264]
53461         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53462         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53463         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53465 2013-05-02  David S. Miller  <davem@davemloft.net>
53467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53469 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53471         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53473 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53475         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53477 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53479         [BZ #14952]
53480         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53481         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53482         Use __attribute__ ((__gnu_inline__)).
53483         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53484         Don't use __attribute__ ((__gnu_inline__)).
53486 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53488         [BZ #15423]
53489         * math/s_catan.c (__catan): Handle small real or imaginary part of
53490         input specially to avoid spurious underflow.
53491         * math/s_catanf.c (__catanf): Likewise.
53492         * math/s_catanh.c (__catanh): Likewise.
53493         * math/s_catanhf.c (__catanhf): Likewise.
53494         * math/s_catanhl.c (__catanhl): Likewise.
53495         * math/s_catanl.c (__catanl): Likewise.
53496         * math/libm-test.inc (catan_test): Add more tests.
53497         (catanh_test): Likewise.
53498         * sysdeps/i386/fpu/libm-test-ulps: Update.
53499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53501 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53505 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53507         [BZ #15416]
53508         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53509         accurately for denominator in atan2.
53510         * math/s_catanf.c (__catanf): Likewise.
53511         * math/s_catanh.c (__catanh): Likewise.
53512         * math/s_catanhf.c (__catanhf): Likewise.
53513         * math/s_catanhl.c (__catanhl): Likewise.
53514         * math/s_catanl.c (__catanl): Likewise.
53515         * math/libm-test.inc (catan_test): Add more tests.
53516         (catanh_test): Likewise.
53517         * sysdeps/i386/fpu/libm-test-ulps: Update.
53518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53520 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53522         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53524         * benchtests/Makefile (bench): Remove slow benchmarks.
53525         * benchtests/atan-inputs: Add slow benchmark inputs.
53526         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53527         (BENCH_FUNC): Accept variant offset.
53528         (VARIANT): Define.
53529         * benchtests/bench-skeleton.c (main): Run benchmark for each
53530         variant.
53531         * benchtests/cos-inputs: Add slow benchmark inputs.
53532         * benchtests/exp-inputs: Likewise.
53533         * benchtests/pow-inputs: Likewise.
53534         * benchtests/sin-inputs: Likewise.
53535         * benchtests/slowatan-inputs: Remove.
53536         * benchtests/slowatan.c: Remove.
53537         * benchtests/slowcos-inputs: Remove.
53538         * benchtests/slowcos.c: Remove.
53539         * benchtests/slowexp-inputs: Remove.
53540         * benchtests/slowexp.c: Remove.
53541         * benchtests/slowpow-inputs: Remove.
53542         * benchtests/slowpow.c: Remove.
53543         * benchtests/slowsin-inputs: Remove.
53544         * benchtests/slowsin.c: Remove.
53545         * benchtests/slowtan-inputs: Remove.
53546         * benchtests/slowtan.c: Remove.
53547         * benchtests/tan-inputs: Add slow benchmark inputs.
53548         * scripts/bench.pl: Parse comments and directives.
53550         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53551         in CPPFLAGS.
53552         ($(objpfx)bench-%.c): Remove *-ITER.
53553         * benchtests/bench-modf.c: Remove definition of ITER.
53554         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53555         (main): Loop for DURATION seconds instead of fixed number of
53556         iterations.
53557         * scripts/bench.pl: Don't expect iterations in parameters.
53559 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53561         * io/fchdir.c (__fchdir): Renamed from fchdir.
53562         (fchdir): Define as weak alias.
53564 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53566         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53567         (ERRNO_EDOM): Likewise.
53568         (ERRNO_ERANGE): Likewise.
53569         (noErrnoTests): New variable.
53570         (init_max_error): Set errno to 0.
53571         (test_single_errno): New function.
53572         (test_errno): Likewise.
53573         (check_float_internal): Call test_errno.  Set errno to 0.
53574         (check_complex): Refer to errno tests in comment.
53575         (check_int): Call test_errno.  Set errno to 0.
53576         (check_long): Likewise.
53577         (check_bool): Likewise.
53578         (check_longlong): Likewise.
53579         (cos_test): Use ERRNO_* flags for errno tests instead of
53580         check_int.
53581         (expm1_test): Likewise.
53582         (fmod_test): Likewise.
53583         (ilogb_test): Likewise.
53584         (lgamma_test): Likewise.
53585         (pow_test): Likewise.
53586         (remainder_test): Likewise.
53587         (sin_test): Likewise.
53588         (tan_test): Likewise.
53589         (yn_test): Likewise.
53590         (initialize): Set errno to 0.
53591         (main): Print number of errno tests.
53592         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53594 2013-04-29  Andreas Jaeger  <aj@suse.de>
53596         [BZ #15084]
53597         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53598         and RES_USEVC.
53600         [BZ #15085]
53601         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53602         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53603         unimplemented.
53605         [BZ #15380]
53606         * stdlib/random.c (__initstate): Return NULL if
53607         __initstate fails.
53609         [BZ #15086]
53610         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53611         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53612         RES_SNGLKUPREOP.
53614 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53618 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53620         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53621         of individual tests.
53622         (casin_test): Likewise.
53623         (casinh_test): Likewise.
53625 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #15409]
53628         * math/s_catan.c (__catan): Handle arguments with large real or
53629         imaginary part separately without squaring.
53630         * math/s_catanf.c (__catanf): Likewise.
53631         * math/s_catanh.c (__catanh): Likewise.
53632         * math/s_catanhf.c (__catanhf): Likewise.
53633         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53634         and redefine.
53635         (__catanhl): Handle arguments with large real or imaginary part
53636         separately without squaring.
53637         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53638         and redefine.
53639         (__catanl): Handle arguments with large real or imaginary part
53640         separately without squaring.
53641         * math/libm-test.inc (catan_test): Add more tests.
53642         (catanh_test): Likewise.
53643         * sysdeps/i386/fpu/libm-test-ulps: Update.
53644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53646 2013-04-27  Andreas Jaeger  <aj@suse.de>
53648         [BZ #15007]
53649         * stdlib/stdlib.h: Update guards for qecvt.
53650         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53651         <stdlib.h>.
53653 2013-04-27  Allan McRae  <allan@archlinux.org>
53655         * sysdeps/i386/fpu/libm-test-ulps: Update.
53657 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53659         [BZ #15406]
53660         * math/s_catan.c: Include <float.h>.
53661         (__catan): Ensure underflow exception occurs for underflowed
53662         result.
53663         * math/s_catanf.c: Include <float.h>.
53664         (__catanf): Ensure underflow exception occurs for underflowed
53665         result.
53666         * math/s_catanh.c: Include <float.h>.
53667         (__catanh): Ensure underflow exception occurs for underflowed
53668         result.
53669         * math/s_catanhf.c: Include <float.h>.
53670         (__catanhf): Ensure underflow exception occurs for underflowed
53671         result.
53672         * math/s_catanhl.c: Include <float.h>.
53673         (__catanhl): Ensure underflow exception occurs for underflowed
53674         result.
53675         * math/s_catanl.c: Include <float.h>.
53676         (__catanl): Ensure underflow exception occurs for underflowed
53677         result.
53678         * math/libm-test.inc (catan_test): Add more tests.
53679         (catanh_test): Likewise.
53681         [BZ #15405]
53682         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53683         underflowed result.
53684         * math/s_ccoshf.c (__ccoshf): Likewise.
53685         * math/s_ccoshl.c (__ccoshl): Likewise.
53686         * math/s_csin.c (__csin): Likewise.
53687         * math/s_csinf.c (__csinf): Likewise.
53688         * math/s_csinh.c (__csinh): Likewise.
53689         * math/s_csinhf.c (__csinhf): Likewise.
53690         * math/s_csinhl.c (__csinhl): Likewise.
53691         * math/s_csinl.c (__csinl): Likewise.
53692         * math/libm-test.inc (ccos_test): Add more tests.
53693         (ccosh_test): Likewise.
53694         (csin_test): Likewise.
53695         (csinh_test): Likewise.
53697 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53699         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53700         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53701         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53702         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53703         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53704         powerpc/power5+/fpu folders.
53705         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53708 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53712 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53714         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53715         additions to variable.
53716         [$(config-machine) = x86_64] (modules-names): Likewise.
53717         ($(objpfx)tst-audit3): Remove dependency.
53718         ($(objpfx)tst-audit3.out): Likewise.
53719         ($(objpfx)tst-audit4): Likewise.
53720         ($(objpfx)tst-audit4.out): Likewise.
53721         ($(objpfx)tst-audit5): Likewise.
53722         ($(objpfx)tst-audit5.out): Likewise.
53723         ($(objpfx)tst-audit6): Likewise.
53724         ($(objpfx)tst-audit6.out): Likewise.
53725         ($(objpfx)tst-audit7): Likewise.
53726         ($(objpfx)tst-audit7.out): Likewise.
53727         (tst-audit3-ENV): Remove variable.
53728         (tst-audit4-ENV): Likewise.
53729         (tst-audit5-ENV): Likewise.
53730         (tst-audit6-ENV): Likewise.
53731         (tst-audit7-ENV): Likewise.
53732         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53733         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53734         addition to variable.
53735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53739         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53740         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53741         tst-audit3, tst-audit4 and tst-audit5.
53742         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53743         tst-audit6 and tst-audit7.
53744         [$(subdir) = elf] (modules-names): Add audit modules for those
53745         tests.
53746         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53747         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53748         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53749         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53750         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53751         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53752         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53753         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53754         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53755         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53756         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53757         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53758         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53759         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53760         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53761         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53762         Likewise.
53763         [$(subdir) = elf && $(config-cflags-avx) = yes]
53764         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53765         [$(subdir) = elf && $(config-cflags-avx) = yes]
53766         (CFLAGS-tst-auditmod4a.c): Likewise.
53767         [$(subdir) = elf && $(config-cflags-avx) = yes]
53768         (CFLAGS-tst-auditmod4b.c): Likewise.
53769         [$(subdir) = elf && $(config-cflags-avx) = yes]
53770         (CFLAGS-tst-auditmod6b.c): Likewise.
53771         [$(subdir) = elf && $(config-cflags-avx) = yes]
53772         (CFLAGS-tst-auditmod6c.c): Likewise.
53773         [$(subdir) = elf && $(config-cflags-avx) = yes]
53774         (CFLAGS-tst-auditmod7b.c): Likewise.
53775         * elf/tst-audit3.c: Move to ...
53776         * sysdeps/x86_64/tst-audit3.c: ... here.
53777         * elf/tst-audit4.c: Move to ...
53778         * sysdeps/x86_64/tst-audit4.c: ... here.
53779         * elf/tst-audit5.c: Move to ...
53780         * sysdeps/x86_64/tst-audit5.c: ... here.
53781         * elf/tst-audit6.c: Move to ...
53782         * sysdeps/x86_64/tst-audit6.c: ... here.
53783         * elf/tst-audit7.c: Move to ...
53784         * sysdeps/x86_64/tst-audit7.c: ... here.
53785         * elf/tst-auditmod3a.c: Move to ...
53786         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53787         * elf/tst-auditmod3b.c: Move to ...
53788         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53789         * elf/tst-auditmod4a.c: Move to ...
53790         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53791         * elf/tst-auditmod4b.c: Move to ...
53792         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53793         * elf/tst-auditmod5a.c: Move to ...
53794         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53795         * elf/tst-auditmod5b.c: Move to ...
53796         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53797         * elf/tst-auditmod6a.c: Move to ...
53798         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53799         * elf/tst-auditmod6b.c: Move to ...
53800         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53801         * elf/tst-auditmod6c.c: Move to ...
53802         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53803         * elf/tst-auditmod7a.c: Move to ...
53804         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53805         * elf/tst-auditmod7b.c: Move to ...
53806         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53808 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53810         [BZ #15366]
53811         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53812         define unconditionally.
53813         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53814         define unconditionally.
53815         (INT8_C, INT16_C, etc.): Likewise.
53817 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53819         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53820         __ehdr_start with hidden visibility.
53822         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53824 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53826         * math/libm-test.inc (cos_test): Use accurate hex constants.
53827         (sincost_test): Likewise.
53829 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53831         * math/libm-test.inc (catan_test): Add more tests.
53832         (catanh_test): Likewise.
53834         * math/s_catanf.c (__catanf): Use suffixed floating-point
53835         constants.
53836         * math/s_catanhf.c (__catanhf): Likewise.
53837         * math/s_catanhl.c (__catanhl): Likewise.
53838         * math/s_catanl.c (__catanl): Likewise.
53840         [BZ #15394]
53841         * math/s_catan.c (__catan): Calculate imaginary part of result
53842         with log1p not log unless computing log of number close to 0.
53843         * math/s_catanf.c (__catanf): Likewise.
53844         * math/s_catanl.c (__catanl): Likewise.
53845         * math/s_catanh.c (__catanh): Calculate real part of result with
53846         log1p not log unless computing log of number close to 0.
53847         * math/s_catanhf.c (__catanhf): Likewise.
53848         * math/s_catanhl.c (__catanhl): Likewise.
53849         * math/libm-test.inc (catan_test): Add more tests.
53850         (catanh_test): Likewise.
53851         * sysdeps/i386/fpu/libm-test-ulps: Update.
53852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53854 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53856         * benchtests/Makefile: Mention files in which fast and slow
53857         paths of math functions are implemented.
53859 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53861         * sysdeps/posix/timespec_get.c: New file.
53863 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53865         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53866         POWER.
53867         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53868         for POWER.
53869         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53870         powerpc/power5/fpu folders.
53871         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53872         * benchtests/Makefile: Add modf testcase.
53873         * benchtests/bench-modf.c: New file: Benchmark test for mo
53875 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53877         [BZ #14888]
53878         * time/Makefile (tests): Add tst-strptime-whitespace.
53879         * time/strptime_l.c (get_number): Use ISSPACE.
53880         (__strptime_internal): Likewise.
53881         * time/tst-strptime-whitespace.c: New test case.
53883 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53885         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53886         member.
53887         (_nss_files_init): Set it here.
53889 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53891         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53892         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53893         unsigned.
53895 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53897         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53899 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53902         size just once.
53904 2013-04-21  David S. Miller  <davem@davemloft.net>
53906         * po/ru.po: Update Russion translation from translation project.
53908 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53910         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53911         and setfsgid.
53913 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53915         * configure.in: Remove i386 configure warning. Remove i386 case.
53916         * configure: Regenerate.
53917         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53918         Add example to error message.
53919         * sysdeps/i386/configure: Regenerate.
53921 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53923         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53924         slowtan.
53925         * benchtests/cos-inputs: New file.
53926         * benchtests/slowcos-inputs: New file.
53927         * benchtests/slowcos.c: New file.
53928         * benchtests/slowtan-inputs: New file.
53929         * benchtests/slowtan.c: New file.
53930         * benchtests/tan-inputs: New file.
53932 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53934         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53935         considered kosher.
53937 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53939         * benchtests/Makefile: Include cppflags-iterator.mk to add
53940         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53942         * Makefile.in (bench-clean): New target.
53943         * benchtests/Makefile (bench-clean): Likewise.
53945 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53947         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53949 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53951         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53953 2013-04-15  Andreas Schwab  <schwab@suse.de>
53955         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53957         * nscd/pwdcache.c (cache_addpw): Likewise.
53958         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53959         more than recsize.
53961 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53963         * benchtests/Makefile (bench): Write all output to
53964         bench-out.tmp together.
53966 2013-04-15  Andreas Schwab  <schwab@suse.de>
53968         * nscd/nscd.c (main): Don't fork again after closing files.
53970 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53972         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53974         * benchtests/Rules (bench-deps): Collect dependencies into a
53975         single variable.  Add Makefile to dependencies.
53976         ($(objpfx)bench-%.c): Depend on bench-deps.
53978 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53979             Xavier Roche  <roche+kml2@exalead.com>
53981         [BZ #15361]
53982         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53983         just that it's a file descriptor.
53984         * manual/llio.texi (Synchronizing AIO Operations): Update description
53985         for EBADF error from aio_fsync.
53987 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53989         * Rules (bench): Move target definition...
53990         * benchtests/Makefile: ... here.
53992 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53994         * math/libm-test.inc (cos_test): Fix PI/2 test.
53995         (sincos_test): Likewise.
53996         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53997         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53999 2013-04-11  Andreas Schwab  <schwab@suse.de>
54001         [BZ #13988]
54002         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54003         accept exponent character only when digits were seen.
54004         * stdio-common/Makefile (tests): Add bug26.
54005         * stdio-common/bug26.c: New file.
54007         [BZ #14293]
54008         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54009         non-freeable.
54011 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54013         * Makeconfig (rtld-prefix): Define built linker prefix.
54014         * Rules (run-bench): Use it.
54015         * math/Makefile (run-regen-ulps): Likewise.
54017         * Rules (bench): Remove eval.
54019 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54020             Roland McGrath  <roland@hack.frob.com>
54021             Ondrej Bilka  <neleai@seznam.cz>
54023         [BZ #15346]
54024         * time/getdate.c: Include ctype.h and alloca.h.
54025         (__getdate_r): Trim leading and trailing spaces of input.
54026         * time/tst-getdate.c (tests): Add tests with leading and
54027         trailing spaces.
54029 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54031         [BZ #14280]
54032         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54033         when computing value.
54035 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54037         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54038         Use testrun.sh to run libm tests.
54040         [BZ #15309]
54041         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54043 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54045         [BZ #15264]
54046         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54048 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54050         * Makefile.in (regen-ulps): New target.
54051         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54052         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54053         [ifneq (no,$(PERL)] (regen-ulps): New target.
54054         [ifeq (no,$(PERL)] (regen-ulps): New target.
54055         * math/libm-test.inc (ulps_file_name): Define.
54056         (output_dir): New variable.
54057         (options): Add "output-dir" option.
54058         (parse_opt): Handle 'o' case.
54059         (main): If output_dir is non-NULL use it as a prefix
54060         otherwise use "".
54061         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54063 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54065         [BZ #10060, #10062]
54066         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54067         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54068         fail configure if __sync_val_compare_and_swap is not inlined.
54069         * sysdeps/i386/configure: Regenerate.
54070         * configure.in: Build for i686 when configured for i386.
54071         * configure: Regenerate.
54072         * README: Remove i386 reference.
54074 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54076         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54077         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54079 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54081         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54082         (lmsnanval): New variables.
54083         (F): Add conversion tests.
54084         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54085         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54087         * stdio-common/tstdiomisc.c (F): Properly collect individual
54088         tests' results.
54090         [BZ #14686, #15336]
54091         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54092         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54093         Instead, use input NaN values or generate a qNaN by arithmetic
54094         operation.  Also fix bugs to comply with the standard.
54095         * math/libm-test.inc (remainder_test): Add more tests.
54097         [BZ #15335, #15342]
54098         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54100         input NaN values or generate a qNaN by arithmetic operation.
54102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54103         unreachable code.
54105         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54106         definitions.
54108 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54110         [BZ #14478]
54111         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54112         underflowed result.
54113         * math/s_cexpf.c (__cexpf): Likewise.
54114         * math/s_cexpl.c (__cexpl): Likewise.
54115         * math/libm-test.inc (cexp_test): Add more tests.
54117 2013-04-03  Andreas Schwab  <schwab@suse.de>
54119         [BZ #15330]
54120         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54121         order arrays from heap if bigger than alloca cutoff.
54123 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54125         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54126         (SNAN_TESTS_double): Refer to GCC PR56831.
54127         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54128         GCC PR56828.
54130 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54132         * Rules (bench): Move bench.out after the run is complete.
54134         * Rules (bench): Echo currently running benchmark.
54136         * benchtests/Makefile (bench): Add atan and slowatan.
54137         * benchtests/atan-inputs: New file.
54138         * benchtests/slowatan-inputs: New file.
54139         * benchtests/slowatan.c: New file.
54141         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54143         its value.
54145         [BZ #15305]
54146         * sysdeps/unix/sysv/linux/kernel-features.h
54147         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54148         __ASSUME_XFS_RESTRICTED_CHOWN.
54149         * sysdeps/unix/sysv/linux/pathconf.c
54150         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54151         Save and restore errno.
54153 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54155         [BZ #15327]
54156         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54157         arguments using __kernel_casinh.
54158         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54159         arguments using __kernel_casinhf.
54160         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54161         arguments using __kernel_casinhl.
54162         * math/libm-test.inc (cacosh_test): Add more tests.
54163         * sysdeps/i386/fpu/libm-test-ulps: Update.
54164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54166 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54168         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54171         * bench/Makefile (bench): Add sin and slowsin.
54172         * benchtests/sin-inputs: New file.
54173         * benchtests/slowsin-inputs: New file.
54174         * benchtests/slowsin.c: New file.
54176         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54177         (bench): Add slowexp and slowpow.
54178         (exp-ITER): Increase iterations.
54179         (pow-ITER): Likewise.
54180         * benchtests/exp-inputs: Change input.
54181         * benchtests/pow-inputs: Likewise.
54182         * benchtests/slowexp-inputs: New file.
54183         * benchtests/slowexp.c: New file.
54184         * benchtests/slowpow-inputs: New file.
54185         * benchtests/slowpow.c: New file.
54187 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54189         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54190         instructions.
54191         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54192         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54193         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54194         * benchtests/Makefile: Add rint benchtest.
54195         * benchtests/rint-inputs: Input for rint benchtest.
54197 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54199         * Versions.def (libm): Add GLIBC_2.18.
54200         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54201         hidden libm prototypes.
54202         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54203         * math/Makefile (libm-calls): Add s_issignaling.
54204         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54205         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54206         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54207         declaration.
54208         * math/math.h [__USE_GNU] (issignaling): New macro.
54209         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54210         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54212         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54213         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54215         * manual/arith.texi (issignaling): New section.
54216         * manual/libm-err-tab.pl (@all_functions): Update comment.
54217         * math/gen-libm-test.pl (parse_args): Apply special handling for
54218         issignaling.
54219         * math/libm-test.inc (print_float, issignaling_test): New
54220         functions.
54221         (check_float_internal): Add issignaling checks.
54222         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54223         default definition.
54224         * sysdeps/powerpc/math-tests.h: New file.
54225         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54226         tests.
54227         * math/test-snan.c (TEST_FUNC): Likewise.
54229 2013-03-30  David S. Miller  <davem@davemloft.net>
54231         * po/de.po: Update from translation team.
54233 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54235         [BZ #10357]
54236         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54237         imaginary part less than 1.0 and real part less than 0.5
54238         specially.
54239         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54240         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54241         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54242         (cacos_test): Add more tests.
54243         (casin_test): Likewise.
54244         (casinh_test): Likewise.
54245         * sysdeps/i386/fpu/libm-test-ulps: Update.
54246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54248 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54250         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54251         ONE with its value.
54253         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54254         (__pow_mp): Replace ONE and MONE with their values.
54255         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54257         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54258         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54259         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54262         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54264         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54265         (__pow_mp): Replace ZERO and MZERO with their values.
54266         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54267         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54268         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54269         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54270         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54271         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54272         (__sqr): Likewise.
54274         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54276         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54278 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54280         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54281         Declare with __attribute__ ((weak)).
54282         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54283         Call __call_tls_dtors only if it's not NULL.
54285 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54287         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54288         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54289         magic __ehdr_start linker symbol if it's defined.
54290         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54291         them up here if it was already done.
54293         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54294         (_dl_aux_init): Use const in cast when setting it.
54295         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54296         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54297         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54299         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54300         Declare them here.
54301         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54302         * csu/libc-tls.c: Nor here.
54303         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54305         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54306         (__libc_message): Never call vsyslog.
54308 2013-03-28  Alan Modra  <amodra@gmail.com>
54310         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54311         Define as empty.
54312         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54313         Likewise.
54315 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54317         [BZ #15214]
54318         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54319         underflow.
54320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54322 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54324         [BZ #15304]
54325         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54326         Don't add gid passed as argument.
54328         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54330 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54332         [BZ #15307]
54333         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54334         imaginary part between 1.0 and 1.5 and real part less than 0.5
54335         specially.
54336         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54337         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54338         * math/libm-test.inc (cacos_test): Add more tests.
54339         (casin_test): Likewise.
54340         (casinh_test): Likewise.
54341         * sysdeps/i386/fpu/libm-test-ulps: Update.
54342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54344 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54346         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54347         constants.
54348         (norm): Likewise.
54349         (denorm): Likewise.
54350         (__dbl_mp): Likewise.
54351         (add_magnitudes): Likewise.
54352         (sub_magnitudes): Likewise.
54353         (__add): Likewise.
54354         (__sub): Likewise.
54355         (__mul): Likewise.
54356         (__sqr): Likewise.
54357         (__inv): Likewise.
54358         (__dvd): Likewise.
54360         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54361         commented code.
54362         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54363         (__dubcos): Likewise.
54364         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54365         (__ieee754_acos): Likewise.
54366         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54368         (__exp1): Likewise.
54369         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54371         (log1): Likewise.
54372         (my_log2): Likewise.
54373         (checkint): Likewise.
54374         * sysdeps/ieee754/dbl-64/e_remainder.c
54375         (__ieee754_remainder): Likewise.
54376         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54378         (bsloww): Likewise.
54379         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54381         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54382         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54383         MANTISSA_STORE_T to store computations on mantissa.  Use
54384         macros for rounding and division.
54385         (denorm): Likewise.
54386         (__dbl_mp): Likewise.
54387         (add_magnitudes): Likewise.
54388         (sub_magnitudes): Likewise.
54389         (__mul): Likewise.
54390         (__sqr): Likewise.
54391         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54392         powers of two in terms of TWOPOW macro.
54393         (mp_no): Make type of mantissa as MANTISSA_T.
54394         [!RADIXI]: Define RADIXI.
54395         [!TWO52]: Define TWO52.
54396         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54398 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54400         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54401         llroundl symbol when building for PPC32.
54403 2013-03-24  Mark H Weaver  <mhw@netris.org>
54405         * manual/arith.texi (Normalization Functions): Fix prototypes for
54406         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54408 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54410         [BZ #13889]
54411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54412         high value to check if expl overflow.
54413         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54414         to check for underflow and overflow.
54415         * math/libm-test.inc: Add exp test.
54417 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54419         [BZ #11120]
54420         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54421         with NOT_IN_libc.
54423 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54425         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54426         symbol.
54428 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54430         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54431         wrap blocks consisting of several statements.
54433         * sysdeps/generic/math-tests.h: New file.
54434         * sysdeps/i386/fpu/math-tests.h: Likewise.
54435         * math/test-snan.c: Include it.
54436         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54438 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54440         [BZ #15285]
54441         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54442         (__ieee754_j0l): Do not improve calculations using cos of twice
54443         input for inputs above LDBL_MAX / 2.0L.
54444         (__ieee754_y0l): Likewise.
54445         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54446         (__ieee754_j1l): Do not improve calculations using cos of twice
54447         input for inputs above LDBL_MAX / 2.0L.
54448         (__ieee754_y1l): Likewise.
54449         * math/libm-test.inc (j0_test): Add another test.
54450         (j1_test): Likewise.
54451         (y0_test): Likewise.
54452         (y1_test): Likewise.
54453         * sysdeps/i386/fpu/libm-test-ulps: Update.
54455 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54457         * Rules ($(objpfx)bench-%.c): Include code from a C source
54458         file.
54460 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54462         [BZ #15287]
54463         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54464         imaginary part 1.0 and real part less than 0.5 specially.
54465         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54466         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54467         * math/libm-test.inc (cacos_test): Add more tests.
54468         (casin_test): Likewise.
54469         (casinh_test): Likewise.
54470         * sysdeps/i386/fpu/libm-test-ulps: Update.
54471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54473 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54475         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54476         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54478 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54480         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54481         * config.make.in (config-cflags-sse4): Remove variable.
54482         (config-cflags-avx): Likewise.
54483         (config-cflags-sse2avx): Likewise.
54484         (config-cflags-novzeroupper): Likewise.
54485         (config-asflags-i686): Likewise.
54486         (have-mfma4): Likewise.
54487         (have-as-vis3): Likewise.
54488         (MIG): Likewise.
54489         * configure.in (MIG): Do not AC_SUBST.
54490         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54491         (libc_cv_cc_sse4): Do not AC_SUBST.
54492         (libc_cv_cc_avx): Likewise.
54493         (libc_cv_cc_sse2avx): Likewise.
54494         (libc_cv_cc_novzeroupper): Likewise.
54495         (libc_cv_cc_fma4): Likewise.
54496         (libc_cv_as_i686): Likewise.
54497         (libc_cv_sparc_as_vis3): Likewise.
54498         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54499         LIBC_CONFIG_VAR.
54500         (config-asflags-i686): Likewise.
54501         (config-cflags-avx): Likewise.
54502         (config-cflags-sse2avx): Likewise.
54503         (have-mfma4): Likewise.
54504         (config-cflags-novzeroupper): Likewise.
54505         * sysdeps/mach/configure.in (MIG): Likewise.
54506         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54507         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54508         LIBC_CONFIG_VAR.
54509         (config-cflags-avx): Likewise.
54510         (config-cflags-sse2avx): Likewise.
54511         (have-mfma4): Likewise.
54512         (config-cflags-novzeroupper): Likewise.
54513         * configure: Regenerated.
54514         * sysdeps/i386/configure: Likewise.
54515         * sysdeps/mach/configure: Likewise.
54516         * sysdeps/sparc/configure: Likewise.
54517         * sysdeps/x86_64/configure: Likewise.
54519 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54521         [BZ #14812]
54522         * locale/programs/localedef.c (options): Put N_ translation marker
54523         on argument names, not just descriptions.
54525 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54527         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54529 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54531         [BZ #14176]
54532         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54534 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54536         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54537         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54538         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54539         [!BEFORE_ABORT] (before_abort): New function.
54540         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54541         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54542         (writev_for_fatal): New function.
54543         (WRITEV_FOR_FATAL): New macro; call that.
54544         (backtrace_and_maps): New function.
54545         (BEFORE_ABORT): New macro; call that.
54546         (struct str_list): Type removed.
54547         (__libc_message, __libc_fatal): Functions removed.
54548         Include <sysdeps/posix/libc_fatal.c> instead.
54550 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54552         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54553         constants.
54554         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54555         double constants.
54557 2013-03-19  Andreas Schwab  <schwab@suse.de>
54559         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54560         * sysdeps/gnu/configure: Regenerate.
54562         * configure.in: Substitute libc_cv_rtlddir.
54563         * configure: Regenerate.
54564         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54565         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54566         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54567         * elf/Makefile (install-others, CFLAGS-interp.c)
54568         (ldso_install, common-ldd-rewrite): Likewise.
54569         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54570         $(inst_slibdir)/$(rtld-installed-name).
54571         * scripts/rellns-sh: Add -p option.
54572         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54573         for source.
54575 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54577         * manual/nptl.texi: Renamed to ...
54578         * manual/threads.texi: ... this.
54579         * manual/Makefile (chapters): Update.
54581 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54583         [BZ #14812]
54584         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54585         on argument names, not just descriptions.
54586         * malloc/memusagestat.c (options): Likewise.
54587         * nss/getent.c (options): Likewise.
54589 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54591         [BZ #14812]
54592         * iconv/iconv_prog.c (options): Put N_ translation marker
54593         on argument names, not just descriptions.
54594         * iconv/iconvconfig.c (options): Likewise.
54596 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54598         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54599         implementation which is faster on all x86_64 architectures.
54600         Tested on AMD, Intel Nehalem, SNB, IVB.
54601         * sysdeps/x86_64/strnlen.S: Likewise.
54603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54604         Remove all multiarch strlen and strnlen versions.
54605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54606         Remove strlen and strnlen related parts.
54608         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54609         Inline strlen part.
54610         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54612         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54613         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54614         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54615         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54616         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54617         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54619 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54621         * manual/memory.texi (Malloc Tunable Parameters):
54622         Sort parameters alphabetically. Add comments for missing entries.
54624 2013-03-17  David S. Miller  <davem@davemloft.net>
54626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54628 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54630         [BZ #15283]
54631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54632         for arguments at most half maximum finite value.
54633         * math/libm-test.inc (j0_test): Add more tests.
54634         (j1_test): Likewise.
54635         (y0_test): Likewise.
54636         (y1_test): Likewise.
54637         * sysdeps/i386/fpu/libm-test-ulps: Update.
54638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54640         [BZ #14155]
54641         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54642         1 / x and functions P and Q for arguments above 0x1p256L.
54643         (__ieee754_y0l): Likewise.
54644         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54645         (__ieee754_y1l): Likewise.
54646         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54647         (j1_test): Likewise.
54648         (y0_test): Likewise.
54649         (y1_test): Likewise.
54651 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54653         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54654         variable.
54656 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54658         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54659         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54660         zero since it's initialized to EXEC_PAGESIZE.
54662         * sysdeps/unix/sysv/linux/ldsodefs.h
54663         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54664         * sysdeps/generic/ldsodefs.h: ... here.
54666 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54668         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54670         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54671         math/test-snan.c.
54672         * math/test-snan.c: Renamed from
54673         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54674         * math/Makefile (tests): Add test-snan.
54675         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54676         test-powerpc-snan.
54678         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54679         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54680         functions.
54681         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54682         __builtin_nan family of functions.
54683         * math/libm-test.inc (initialize): Initialize qnan_value with
54684         __builtin_nan family of functions.
54685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54686         Remove variables.
54687         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54688         Remove functions.
54689         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54690         storage class.  Initialize qNaN_var and sNaN_var with
54691         __builtin_nan and __builtin_nans families of functions,
54692         respectively.
54694         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54695         (sqrt_test): Remove duplicate test with qNaN input.
54696         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54697         (round_test, signbit_test, significand_test): Note missing +/-Inf
54698         as well as qNaN tests.
54700         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54701         qNaN_var.  Fix a few strings, too.
54702         * math/libm-test.inc (nan_value): Rename to qnan_value.
54703         * math/gen-libm-test.pl (%beautify): Adjust to that.
54704         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54705         * math/test-misc.c (main): Likewise.
54706         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54707         to __qnan_bytes, and __qnan_union, respectively.
54708         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54709         Likewise.
54710         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54711         and lqnanval, respectively.
54712         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54713         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54714         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54715         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54717         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54718         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54719         doubles.
54721         * math/test-misc.c (main): Fix copy'n'pastos.
54722         * misc/tst-efgcvt.c (special): Likewise.
54724         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54725         Remove declarations.
54727 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54729         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54730         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54731         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54732         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54734 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54736         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54737         macro to return vdso values correctly in IFUNC implementations.
54738         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54739         Optimization by using IFUNC.
54741 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54742             Richard Henderson  <rth@redhat.com>
54743             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54745         * Makefile.in (bench): New target.
54746         * NEWS: Mention the benchmark framework.
54747         * Rules (bench): Likewise.
54748         (binaries-bench): Generate binaries for functions to
54749         benchmark.
54750         * benchtests/Makefile: New makefile for benchmark tests.
54751         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54752         programs.
54753         * benchtests/exp-inputs: New input file for EXP function.
54754         * benchtests/pow-inputs: New input file for POW function.
54755         * scripts/bench.pl: New script to generate source files for
54756         benchmark programs.
54758 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54760         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54762         computations on mantissa.  Use macros for rounding and
54763         division.
54764         (denorm): Likewise.
54765         (__dbl_mp): Likewise.
54766         (add_magnitudes): Likewise.
54767         (sub_magnitudes): Likewise.
54768         (__mul): Likewise.
54769         (__sqr): Likewise.
54770         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54771         powers of two in terms of TWOPOW macro.
54772         (mp_no): Make type of mantissa as MANTISSA_T.
54773         [!RADIXI]: Define RADIXI.
54774         [!TWO52]: Define TWO52.
54775         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54777         * manual/nptl.texi (cindex): Modify threads to pthreads.
54779 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54781         * sysdeps/x86_64/preconfigure: Regenerated.
54783 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54785         [BZ #14155]
54786         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54787         0x1p28 and above.
54788         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54789         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54790         0x1p28 and above.
54791         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54792         * math/libm-test.inc (j0_test): Do not allow one spurious
54793         underflow exception.
54794         (y1_test): Likewise.
54796 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54798         * manual/Makefile (chapters): Add nptl.
54799         * manual/debug.texi (Debugging Support): Add link to Threads
54800         chapter.
54801         * manual/nptl.texi: New file.
54803         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54805 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54807         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54808         for non-NULL pointer before the memory validity test. Pointed
54809         out by Holger Brunck <holger.brunck@keymile.com>.
54811 2013-03-13  Andreas Schwab  <schwab@suse.de>
54813         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54814         instead of .os.
54816 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54818         * timezone/zic.c: Update from tzcode 2013b.
54820 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54822         * manual/install.texi (Configuring and compiling):
54823         Mention i686 and i586.
54824         * INSTALL: Regenerate.
54826 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54828         * sysdeps/init_array/elf-init.c: New file.
54829         * csu/elf-init.c
54830         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54831         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54833         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54834         __gmon_start__ as global, but as static with a .preinit_array pointer.
54835         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54836         * sysdeps/init_array/crti.S: New file, empty except for comments.
54837         * sysdeps/init_array/crtn.S: Likewise.
54839 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54841         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54842         definining bcopy.
54843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54844         Remove Prefer_SSE_for_memop.
54845         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54846         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54847         HAS_PREFER_SSE_FOR_MEMOP.
54848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54849         memset-x86-64.
54850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54851         Remove bzero, memset ifunc support.
54852         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54853         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54857 2013-03-11  Andreas Schwab  <schwab@suse.de>
54859         [BZ #15234]
54860         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54861         by SHLIB_COMPAT.
54862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54863         (GLIBC_2.16): Remove pthread_atfork.
54865 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54867         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54868         (ptestcases.h): Likewise.
54870 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54872         * Makeconfig ($(common-objpfx)config.status): Depend on
54873         sysdeps/*/preconfigure{,.in} too.
54875 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54877         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54878         (__free_hook): Use void * instead of __malloc_ptr_t.
54879         (__malloc_hook): Likewise.
54880         (__realloc_hook): Likewise.
54881         (__memalign_hook): Likewise.
54882         (__after_morecore_hook): Likewise.
54883         * malloc/arena.c (save_malloc_hook): Likewise.
54884         (save_free_hook): Likewise.
54885         * malloc/hooks.c (malloc_hook_ini): Likewise.
54886         (realloc_hook_ini): Likewise.
54887         (memalign_hook_ini): Likewise.
54888         * malloc/malloc.c (malloc_hook_ini): Likewise.
54889         (realloc_hook_ini): Likewise.
54890         (memalign_hook_ini): Likewise.
54891         (__free_hook): Likewise.
54892         (__malloc_hook): Likewise.
54893         (__realloc_hook): Likewise.
54894         (__memalign_hook): Likewise.
54895         (__libc_malloc): Likewise.
54896         (__libc_free): Likewise.
54897         (__libc_realloc): Likewise.
54898         (__libc_memalign): Likewise.
54899         (__libc_valloc): Likewise.
54900         (__libc_pvalloc): Likewise.
54901         (__libc_calloc): Likewise.
54902         (__posix_memalign): Likewise.
54903         * malloc/morecore.c (__sbrk): Likewise.
54904         (__default_morecore): Likewise.
54906         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54908         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54909         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54910         __malloc_ptrdiff_t.
54912         * malloc/malloc.h (__malloc_size_t): Remove macro.
54913         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54914         __malloc_size_t.
54915         (old_memalign_hook): Likewise.
54916         (old_realloc_hook): Likewise.
54917         (struct hdr): Likewise.
54918         (flood): Likewise.
54919         (mallochook): Likewise.
54920         (memalignhook): Likewise.
54921         (reallochook): Likewise.
54922         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54923         (tr_old_realloc_hook): Likewise.
54924         (tr_old_memalign_hook): Likewise.
54925         (tr_mallochook): Likewise.
54926         (tr_reallochook): Likewise.
54927         (tr_memalignhook): Likewise.
54929 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54932         default_ldbl_pack and using as default implementation.
54933         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54934         implementation.
54935         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54936         redundant definition.
54937         (ldbl_insert_mantissa): Likewise.
54938         (ldbl_canonicalize): Likewise.
54939         (ldbl_nearbyint): Likewise.
54940         (ldbl_pack): Rename to ldbl_pack_ppc.
54941         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54942         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54943         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54945 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54948         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54949         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54950         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54952         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54953         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54954         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54956 2013-03-07  Andreas Jaeger  <aj@suse.de>
54958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54959         bits/mman-linux.h.
54961 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54963         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54964         Include mpa.h and declare __MPEXP.
54965         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54966         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54967         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54969         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54970         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54971         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54973         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54974         (__slowpow): Use long double EXPL and LOGL functions to
54975         compute POW.
54976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54977         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54979         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54980         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54981         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54984         intermediate variable to calculate exponent.
54985         (__sqr): Likewise.
54986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54987         Likewise.
54988         (__sqr): Likewise.
54990         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54991         [!NO__SQR]: Define __sqr.
54992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54993         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54994         sysdeps/ieee754/dbl-64/mpa.c.
54995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54997         [BZ #12723]
54998         * posix/Makefile (tests): Add tst-pathconf.
54999         * posix/tst-pathconf.c: New test case.
55000         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55001         _PC_PIPE_BUF.
55002         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55004 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55006         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55008 2013-03-06  Andreas Jaeger  <aj@suse.de>
55010         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55011         definition via __MAP_ANONYMOUS.
55013         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55014         it's not part of Linux headers.
55016         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55017         (MAP_HUGE_MASK): Define.
55019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55020         Define.
55021         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55023         Define.
55024         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55025         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55026         Define.
55027         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55029         Define.
55030         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55032         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55033         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55034         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55035         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55036         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55037         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55039         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55040         Handle f2fs.
55042         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55043         Handle f2fs and efivarfs.
55045         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55046         f2fs.
55048         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55049         (EFIVARFS_MAGIC): Add.
55050         (F2FS_LINK_MAX): Add.
55052 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55054         * stdio-common/vfprintf.c: Replace __builtin_expect with
55055         __glibc_unlikely.
55057 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55059         [BZ #13550]
55060         * sysdeps/generic/bp-sym.h: Remove file.
55061         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55062         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55063         <bp-sym.h> and <bp-asm.h>.
55064         (__longjmp): Don't use BP_SYM.
55065         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55066         and <bp-asm.h>.
55067         (memcpy): Don't use BP_SYM.
55068         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55069         <bp-sym.h> and <bp-asm.h>.
55070         (memcpy): Don't use BP_SYM.
55071         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55072         <bp-asm.h>.
55073         (memcpy): Don't use BP_SYM.
55074         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55075         <bp-asm.h>.
55076         (memset): Don't use BP_SYM.
55077         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55078         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55079         (__bzero): Don't use BP_SYM.
55080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55082         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55083         <bp-sym.h> and <bp-asm.h>.
55084         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55085         pointers.
55086         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55087         <bp-sym.h> and <bp-asm.h>.
55088         (memcpy): Don't use BP_SYM.
55089         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55090         <bp-sym.h> and <bp-asm.h>.
55091         (memset): Don't use BP_SYM.
55092         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55093         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55094         (__bzero): Don't use BP_SYM.
55095         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55096         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55097         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55098         <bp-sym.h> and <bp-asm.h>.
55099         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55100         pointers.
55101         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55102         <bp-sym.h> and <bp-asm.h>.
55103         (memcpy): Don't use BP_SYM.
55104         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55105         <bp-sym.h> and <bp-asm.h>.
55106         (memset): Don't use BP_SYM.
55107         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55108         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55109         (__bzero): Don't use BP_SYM.
55110         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55111         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55113         <bp-sym.h> and <bp-asm.h>.
55114         (__memchr): Don't use BP_SYM.
55115         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55116         <bp-sym.h> and <bp-asm.h>.
55117         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55118         pointers.
55119         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55120         <bp-sym.h> and <bp-asm.h>.
55121         (memcpy): Don't use BP_SYM.
55122         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55123         <bp-sym.h> and <bp-asm.h>.
55124         (__mempcpy): Don't use BP_SYM.
55125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55126         <bp-sym.h> and <bp-asm.h>.
55127         (__memrchr): Don't use BP_SYM.
55128         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55129         <bp-sym.h> and <bp-asm.h>.
55130         (memset): Don't use BP_SYM.
55131         (__bzero): Likewise.
55132         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55133         <bp-sym.h> and <bp-asm.h>.
55134         (__rawmemchr): Don't use BP_SYM.
55135         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55136         <bp-sym.h> and <bp-asm.h>.
55137         (__STRCMP): Don't use BP_SYM.
55138         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55139         <bp-sym.h> and <bp-asm.h>.
55140         (strchr): Don't use BP_SYM.
55141         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55142         <bp-sym.h> and <bp-asm.h>.
55143         (__strchrnul): Don't use BP_SYM.
55144         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55145         <bp-sym.h> and <bp-asm.h>.
55146         (strlen): Don't use BP_SYM.
55147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55148         <bp-sym.h> and <bp-asm.h>.
55149         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55150         pointers.
55151         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55152         <bp-sym.h> and <bp-asm.h>.
55153         (__strnlen): Don't use BP_SYM.
55154         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55155         <bp-sym.h> and <bp-asm.h>.
55156         (__GI__setjmp): Don't use BP_SYM.
55157         (_setjmp): Likewise.
55158         (__sigsetjmp): Likewise.
55159         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55160         (L(start_addresses)): Don't use BP_SYM.
55161         (_start): Likewise.
55162         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55163         <bp-asm.h>.
55164         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55165         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55166         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55167         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55168         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55169         <bp-asm.h>.
55170         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55171         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55172         about bounded pointers.
55173         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55174         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55175         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55176         <bp-asm.h>.
55177         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55178         about bounded pointers.  Remove GKM FIXME comments.
55179         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55180         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55181         <bp-asm.h>.
55182         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55183         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55184         Remove GKM FIXME comments.
55185         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55186         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55187         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55188         <bp-asm.h>.
55189         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55190         about bounded pointers.  Remove GKM FIXME comment.
55191         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55192         and <bp-asm.h>.
55193         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55194         pointers.
55195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55196         <bp-sym.h> and <bp-asm.h>.
55197         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55199         <bp-sym.h> and <bp-asm.h>.
55200         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55201         comment.
55203 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55205         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55206         call free(NULL).
55208 2013-03-05  David S. Miller  <davem@davemloft.net>
55210         * po/es.po: Update from translation team.
55212 2013-03-05  Andreas Jaeger  <aj@suse.de>
55214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55215         <bits/mman-linux.h>.
55216         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55217         is fine.
55218         * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
55223         <bits/mman-linux.h> to end of file.
55224         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55225         is fine.
55226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55227         <bits/mman-linux.h> to end of file.
55229         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55230         (MCL_CURRENT, MCL_FUTURE): Define here.
55232 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55234         [BZ #15232]
55235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55236         attribute_hidden.
55237         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55239 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55242         fourth parameter needed for rt_sigprocmask syscall.
55243         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55244         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55245         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55246         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55247         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55248         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55250 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55252         [BZ #13550]
55253         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55254         comment about bounded pointers.
55255         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55256         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55258 2013-03-04  Andreas Jaeger  <aj@suse.de>
55260         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55261         common definitions.
55263         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55264         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55265         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55266         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55267         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55268         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55270 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55272         [BZ #15055]
55273         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55274         __ieee754_sqrl instead of __sqrl.
55276 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55278         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55279         * sysdeps/powerpc/fpu_control.h: ... here.
55280         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55281         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55282         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55283         * sysdeps/powerpc/bits/mathinline.h: ... here.
55285 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55287         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55288         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55289         to just [NEED_DL_SYSINFO_DSO].
55290         * elf/dl-support.c: Likewise.
55291         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55292         * elf/rtld.c (dl_main): Likewise.
55293         * elf/setup-vdso.h (setup_vdso): Likewise.
55294         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55295         * sysdeps/unix/sysv/linux/dl-sysdep.c
55296         (_dl_discover_osversion): Likewise.
55298 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55300         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55301         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55303 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55305         * NEWS: Mention libm performance improvements and non-x86 PI
55306         futex support.
55308         * csu/libc-start.c (__pthread_initialize_minimal): Change
55309         function arguments.
55310         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55312 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55314         [BZ #13550]
55315         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55316         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55317         <bp-sym.h> and <bp-asm.h>.
55318         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55319         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55320         and <bp-asm.h>.
55321         (memcpy): Don't use BP_SYM.
55322         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55323         <bp-asm.h>.
55324         (__mpn_add_n): Don't use BP_SYM.
55325         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55326         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55327         and <bp-asm.h>.
55328         (__mpn_addmul_1): Don't use BP_SYM.
55329         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55330         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55331         <bp-sym.h>.
55332         (_setjmp): Don't use BP_SYM.
55333         (__novmx_setjmp): Likewise.
55334         (__GI__setjmp): Likewise.
55335         (__vmx_setjmp): Likewise.
55336         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55337         <bp-sym.h>.
55338         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55339         (__bzero): Don't use BP_SYM.
55340         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55341         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55342         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55343         <bp-sym.h> and <bp-asm.h>.
55344         (memcpy): Don't use BP_SYM.
55345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55346         <bp-sym.h> and <bp-asm.h>.
55347         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55349         <bp-sym.h> and <bp-asm.h>.
55350         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55351         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55352         <bp-asm.h>.
55353         (__mpn_lshift): Don't use BP_SYM.
55354         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55355         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55356         <bp-asm.h>.
55357         (memset): Don't use BP_SYM.
55358         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55359         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55360         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55361         <bp-asm.h>.
55362         (__mpn_mul_1): Don't use BP_SYM.
55363         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55365         <bp-sym.h> and <bp-asm.h>.
55366         (memcmp): Don't use BP_SYM.
55367         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55368         <bp-sym.h> and <bp-asm.h>.
55369         (memcpy): Don't use BP_SYM.
55370         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55371         <bp-sym.h> and <bp-asm.h>.
55372         (memset): Don't use BP_SYM.
55373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55374         <bp-sym.h> and <bp-asm.h>.
55375         (strncmp): Don't use BP_SYM.
55376         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55377         <bp-sym.h> and <bp-asm.h>.
55378         (memcpy): Don't use BP_SYM.
55379         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55380         <bp-sym.h> and <bp-asm.h>.
55381         (memset): Don't use BP_SYM.
55382         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55383         <bp-sym.h> and <bp-asm.h>.
55384         (__memchr): Don't use BP_SYM.
55385         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55386         <bp-sym.h> and <bp-asm.h>.
55387         (memcmp): Don't use BP_SYM.
55388         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55389         <bp-sym.h> and <bp-asm.h>.
55390         (memcpy): Don't use BP_SYM.
55391         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55392         <bp-sym.h> and <bp-asm.h>.
55393         (__mempcpy): Don't use BP_SYM.
55394         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55395         <bp-sym.h> and <bp-asm.h>.
55396         (__memrchr): Don't use BP_SYM.
55397         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55398         <bp-sym.h> and <bp-asm.h>.
55399         (memset): Don't use BP_SYM.
55400         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55401         <bp-sym.h> and <bp-asm.h>.
55402         (__rawmemchr): Don't use BP_SYM.
55403         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55404         <bp-sym.h> and <bp-asm.h>.
55405         (__STRCMP): Don't use BP_SYM.
55406         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55407         <bp-sym.h> and <bp-asm.h>.
55408         (strchr): Don't use BP_SYM.
55409         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55410         <bp-sym.h> and <bp-asm.h>.
55411         (__strchrnul): Don't use BP_SYM.
55412         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55413         <bp-sym.h> and <bp-asm.h>.
55414         (strlen): Don't use BP_SYM.
55415         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55416         <bp-sym.h> and <bp-asm.h>.
55417         (strncmp): Don't use BP_SYM.
55418         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55419         <bp-sym.h> and <bp-asm.h>.
55420         (__strnlen): Don't use BP_SYM.
55421         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55422         <bp-asm.h>.
55423         (__mpn_rshift): Don't use BP_SYM.
55424         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55425         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55426         <bp-sym.h> and <bp-asm.h>.
55427         (__sigsetjmp): Don't use BP_SYM.
55428         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55429         (L(start_addresses)): Don't use BP_SYM.
55430         (_start): Likewise.
55431         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55432         <bp-asm.h>.
55433         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55434         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55435         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55436         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55437         <bp-asm.h>.
55438         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55439         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55440         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55441         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55442         <bp-asm.h>.
55443         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55444         comments.
55445         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55446         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55447         <bp-asm.h>.
55448         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55449         FIXME comments.
55450         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55451         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55452         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55453         <bp-asm.h>.
55454         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55455         comment.
55456         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55457         and <bp-asm.h>.
55458         (strncmp): Don't use BP_SYM,
55459         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55460         <bp-asm.h>.
55461         (__mpn_sub_n): Don't use BP_SYM.
55462         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55463         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55464         and <bp-asm.h>.
55465         (__mpn_submul_1): Don't use BP_SYM.
55466         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55468         <bp-sym.h> and <bp-asm.h>.
55469         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55471         <bp-sym.h> and <bp-asm.h>.
55472         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55473         comment.
55475 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55478         Use ZK to minimize writes to Z.
55479         (sub_magnitudes): Simplify code a bit.
55480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55481         Use ZK to minimize writes to Z.
55482         (sub_magnitudes): Simplify code a bit.
55484 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55486         * csu/gmon-start.c: Add special exception to license text.
55488 2013-02-27  Richard Henderson  <rth@redhat.com>
55490         * scripts/config.guess: Update from config.git.
55491         * scripts/config.sub: Likewise.
55493 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55495         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55497         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55499         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55501         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55503         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55505 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55507         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55508         [$(build-shared = yes].
55510 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55512         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55513         (__mul): Reduce iterations for calculating mantissa.
55515         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55516         MPTWO.
55517         (__mpranred): Likewise.
55519         [BZ #15160]
55520         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55521         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55523 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55525         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55526         Define __attribute__.
55528 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55530         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55531         unused.
55532         * posix/regex_internal.h (__attribute): Remove.
55533         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55534         (re_string_context_at): Likewise.
55535         (bitset_not): Use __attribute__ and mark function as possibly
55536         unused.
55537         (bitset_merge): Likewise.
55538         (bitset_mask): Likewise.
55539         (re_string_char_size_at): Likewise.
55540         (re_string_wchar_at): Likewise.
55541         (re_string_elem_size_at): Likewise.
55543 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55545         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55546         code.
55547         (cc32): Likewise.
55549         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55550         (__acr): Likewise.
55551         (__cpy): Likewise.
55552         (norm): Likewise.
55553         (denorm): Likewise.
55554         (__dbl_mp): Likewise.
55555         (add_magnitudes): Likewise.
55556         (sub_magnitudes): Likewise.
55557         (__mul): Likewise.
55558         (__inv): Likewise.
55560         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55561         style.
55563         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55564         style.
55566         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55567         code.
55569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55570         up changes with default code.
55571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55572         Likewise.
55574 2013-02-24  Allan McRae  <allan@archlinux.org>
55576         * manual/socket.texi (The Internet Namespace): Order menu items
55577         to match that in the file.
55579         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55580         node listing of the info page menu.
55582 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55584         [BZ #13550]
55585         * sysdeps/i386/bp-asm.h: Remove file.
55586         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55587         (PARMS): Do not use macros from bp-asm.h.
55588         (S1): Likewise.
55589         (S2): Likewise.
55590         (SIZE): Likewise.
55591         (__mpn_add_n): Do not use BP_SYM
55592         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55593         "bp-asm.h".
55594         (PARMS): Do not use macros from bp-asm.h.
55595         (S1): Likewise.
55596         (SIZE): Likewise.
55597         (__mpn_addmul_1): Do not use BP_SYM
55598         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55599         "bp-asm.h".
55600         (PARMS): Do not use macros from bp-asm.h.
55601         (SIGMSK): Likewise.
55602         (_setjmp): Likewise.  Do not use BP_SYM.
55603         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55604         "bp-asm.h".
55605         (PARMS): Do not use macros from bp-asm.h.
55606         (SIGMSK): Likewise.
55607         (setjmp): Likewise.  Do not use BP_SYM.
55608         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55609         "bp-asm.h".
55610         (PARMS): Do not use macros from bp-asm.h.
55611         (__frexp): Do not use BP_SYM.
55612         (frexp): Likewise.
55613         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55614         "bp-asm.h".
55615         (PARMS): Do not use macros from bp-asm.h.
55616         (__frexpf): Do not use BP_SYM.
55617         (frexpf): Likewise.
55618         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55619         "bp-asm.h".
55620         (PARMS): Do not use macros from bp-asm.h.
55621         (__frexpl): Do not use BP_SYM.
55622         (frexpl): Likewise.
55623         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55624         "bp-asm.h".
55625         (PARMS): Do not use macros from bp-asm.h.
55626         (__remquo): Do not use BP_SYM.
55627         (remquo): Likewise.
55628         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55629         "bp-asm.h".
55630         (PARMS): Do not use macros from bp-asm.h.
55631         (__remquof): Do not use BP_SYM.
55632         (remquof): Likewise.
55633         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55634         "bp-asm.h".
55635         (PARMS): Do not use macros from bp-asm.h.
55636         (__remquol): Do not use BP_SYM.
55637         (remquol): Likewise.
55638         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55639         "bp-asm.h".
55640         (PARMS): Do not use macros from bp-asm.h.
55641         (DEST): Likewise.
55642         (SRC): Likewise.
55643         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55644         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55645         "bp-asm.h".
55646         (PARMS): Do not use macros from bp-asm.h.
55647         (strlen): Do not use BP_SYM.
55648         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55649         "bp-asm.h".
55650         (PARMS): Do not use macros from bp-asm.h.
55651         (S1): Likewise.
55652         (S2): Likewise.
55653         (SIZE): Likewise.
55654         (__mpn_add_n): Do not use BP_SYM.
55655         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55656         "bp-asm.h".
55657         (PARMS): Do not use macros from bp-asm.h.
55658         (S1): Likewise.
55659         (SIZE): Likewise.
55660         (__mpn_addmul_1): Do not use BP_SYM.
55661         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55662         weak_alias.
55663         (bzero): Likewise.
55664         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55665         "bp-asm.h".
55666         (PARMS): Do not use macros from bp-asm.h.
55667         (S): Likewise.
55668         (SIZE): Likewise.
55669         (__mpn_lshift): Do not use BP_SYM.
55670         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55671         "bp-asm.h".
55672         (PARMS): Do not use macros from bp-asm.h.
55673         (DEST): Likewise.
55674         (SRC): Likewise.
55675         (LEN): Likewise.
55676         (memcpy): Likewise.  Do not use BP_SYM.
55677         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55678         libc_hidden_def and weak_alias.
55679         (mempcpy): Do not use BP_SYM in weak_alias.
55680         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55681         "bp-asm.h".
55682         (PARMS): Do not use macros from bp-asm.h.
55683         (DEST): Likewise.
55684         (LEN): Likewise.
55685         [!BZERO_P] (CHR): Likewise.
55686         (memset): Likewise.  Do not use BP_SYM.
55687         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55688         "bp-asm.h".
55689         (PARMS): Do not use macros from bp-asm.h.
55690         (S1): Likewise.
55691         (SIZE): Likewise.
55692         (__mpn_mul_1): Do not use BP_SYM.
55693         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55694         "bp-asm.h".
55695         (PARMS): Do not use macros from bp-asm.h.
55696         (S): Likewise.
55697         (SIZE): Likewise.
55698         (__mpn_rshift): Do not use BP_SYM.
55699         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55700         "bp-asm.h".
55701         (PARMS): Do not use macros from bp-asm.h.
55702         (STR): Likewise.
55703         (CHR): Likewise.
55704         (strchr): Likewise.  Do not use BP_SYM.
55705         (index): Do not use BP_SYM in weak_alias.
55706         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55707         "bp-asm.h".
55708         (PARMS): Do not use macros from bp-asm.h.
55709         (DEST): Likewise.
55710         (SRC): Likewise.
55711         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55712         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55713         "bp-asm.h".
55714         (PARMS): Do not use macros from bp-asm.h.
55715         (strlen): Do not use BP_SYM.
55716         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55717         "bp-asm.h".
55718         (PARMS): Do not use macros from bp-asm.h.
55719         (S1): Likewise.
55720         (S2): Likewise.
55721         (SIZE): Likewise.
55722         (__mpn_sub_n): Do not use BP_SYM.
55723         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55724         "bp-asm.h".
55725         (PARMS): Do not use macros from bp-asm.h.
55726         (S1): Likewise.
55727         (SIZE): Likewise.
55728         (__mpn_submul_1): Do not use BP_SYM.
55729         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55730         "bp-asm.h".
55731         (PARMS): Do not use macros from bp-asm.h.
55732         (S1): Likewise.
55733         (S2): Likewise.
55734         (SIZE): Likewise.
55735         (__mpn_add_n): Do not use BP_SYM.
55736         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55737         weak_alias.
55738         (bzero): Likewise.
55739         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55740         "bp-asm.h".
55741         (PARMS): Do not use macros from bp-asm.h.
55742         (BLK2): Likewise.
55743         (LEN): Likewise.
55744         (memcmp): Do not use BP_SYM.
55745         (bcmp): Do not use BP_SYM in weak_alias.
55746         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55747         "bp-asm.h".
55748         (PARMS): Do not use macros from bp-asm.h.
55749         (DEST): Likewise.
55750         (SRC): Likewise.
55751         (LEN): Likewise.
55752         (memcpy): Likewise.  Do not use BP_SYM.
55753         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55754         "bp-asm.h".
55755         (PARMS): Do not use macros from bp-asm.h.
55756         (DEST): Likewise.
55757         (SRC): Likewise.
55758         (LEN): Likewise.
55759         (memmove): Likewise.  Do not use BP_SYM.
55760         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55761         "bp-asm.h".
55762         (PARMS): Do not use macros from bp-asm.h.
55763         (DEST): Likewise.
55764         (SRC): Likewise.
55765         (LEN): Likewise.
55766         (__mempcpy): Likewise.  Do not use BP_SYM.
55767         (mempcpy): Do not use BP_SYM in weak_alias.
55768         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55769         "bp-asm.h".
55770         (PARMS): Do not use macros from bp-asm.h.
55771         (DEST): Likewise.
55772         (LEN): Likewise.
55773         [!BZERO_P] (CHR): Likewise.
55774         (memset): Likewise.  Do not use BP_SYM.
55775         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55776         "bp-asm.h".
55777         (PARMS): Do not use macros from bp-asm.h.
55778         (STR2): Likewise.
55779         (strcmp): Do not use BP_SYM.
55780         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55781         "bp-asm.h".
55782         (PARMS): Do not use macros from bp-asm.h.
55783         (STR): Likewise.
55784         (DELIM): Likewise.
55785         [USE_AS_STRTOK_R] (SAVE): Likewise.
55786         (FUNCTION): Likewise.  Do not use BP_SYM.
55787         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55788         aliases.
55789         (strtok_r): Likewise.
55790         (__GI___strtok_r): Likewise.
55791         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55792         (PARMS): Do not use macros from bp-asm.h.
55793         (S): Likewise.
55794         (SIZE): Likewise.
55795         (__mpn_lshift): Do not use BP_SYM.
55796         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55797         (PARMS): Do not use macros from bp-asm.h.
55798         (STR): Likewise.
55799         (CHR): Likewise.
55800         (__memchr): Do not use BP_SYM.
55801         (memchr): Do not use BP_SYM in weak_alias.
55802         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55803         (PARMS): Do not use macros from bp-asm.h.
55804         (BLK2): Likewise.
55805         (LEN): Likewise.
55806         (memcmp): Do not use BP_SYM.
55807         (bcmp): Do not use BP_SYM in weak_alias.
55808         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55809         (PARMS): Do not use macros from bp-asm.h.
55810         (S1): Likewise.
55811         (SIZE): Likewise.
55812         (__mpn_mul_1): Do not use BP_SYM.
55813         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55814         "bp-asm.h".
55815         (PARMS): Do not use macros from bp-asm.h.
55816         (STR): Likewise.
55817         (CHR): Likewise.
55818         (__rawmemchr): Do not use BP_SYM.
55819         (rawmemchr): Do not use BP_SYM in weak_alias.
55820         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55821         (PARMS): Do not use macros from bp-asm.h.
55822         (S): Likewise.
55823         (SIZE): Likewise.
55824         (__mpn_rshift): Do not use BP_SYM.
55825         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55826         (PARMS): Do not use macros from bp-asm.h.
55827         (SIGMSK): Likewise.
55828         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55829         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55830         (_start): Do not use BP_SYM.
55831         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55832         (PARMS): Do not use macros from bp-asm.h.
55833         (DEST): Likewise.
55834         (SRC): Likewise.
55835         (__stpcpy): Likewise.  Do not use BP_SYM.
55836         (stpcpy): Do not use BP_SYM in weak_alias.
55837         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55838         "bp-asm.h".
55839         (PARMS): Do not use macros from bp-asm.h.
55840         (DEST): Likewise.
55841         (SRC): Likewise.
55842         (LEN): Likewise.
55843         (__stpncpy): Likewise.  Do not use BP_SYM.
55844         (stpncpy): Do not use BP_SYM in weak_alias.
55845         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55846         (PARMS): Do not use macros from bp-asm.h.
55847         (STR): Likewise.
55848         (CHR): Likewise.
55849         (strchr): Likewise.  Do not use BP_SYM.
55850         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55851         "bp-asm.h".
55852         (PARMS): Do not use macros from bp-asm.h.
55853         (STR): Likewise.
55854         (CHR): Likewise.
55855         (__strchrnul): Likewise.  Do not use BP_SYM.
55856         (strchrnul): Do not use BP_SYM in weak_alias.
55857         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55858         "bp-asm.h".
55859         (PARMS): Do not use macros from bp-asm.h.
55860         (STOP): Likewise.
55861         (strcspn): Do not use BP_SYM.
55862         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55863         "bp-asm.h".
55864         (PARMS): Do not use macros from bp-asm.h.
55865         (STR): Likewise.
55866         (STOP): Likewise.
55867         (strpbrk): Likewise.  Do not use BP_SYM.
55868         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55869         "bp-asm.h".
55870         (PARMS): Do not use macros from bp-asm.h.
55871         (STR): Likewise.
55872         (CHR): Likewise.
55873         (strrchr): Likewise.  Do not use BP_SYM.
55874         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55875         (PARMS): Do not use macros from bp-asm.h.
55876         (SKIP): Likewise.
55877         (strspn): Do not use BP_SYM.
55878         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55879         (PARMS): Do not use macros from bp-asm.h.
55880         (STR): Likewise.
55881         (DELIM): Likewise.
55882         (SAVE): Likewise.
55883         (FUNCTION): Likewise.  Do not use BP_SYM.
55884         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55885         aliases.
55886         (strtok_r): Likewise.
55887         (__GI___strtok_r): Likewise.
55888         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55889         (PARMS): Do not use macros from bp-asm.h.
55890         (S1): Likewise.
55891         (S2): Likewise.
55892         (SIZE): Likewise.
55893         (__mpn_sub_n): Do not use BP_SYM.
55894         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55895         "bp-asm.h".
55896         (PARMS): Do not use macros from bp-asm.h.
55897         (S1): Likewise.
55898         (SIZE): Likewise.
55899         (__mpn_submul_1): Do not use BP_SYM.
55900         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55901         <bp-sym.h>.
55902         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55903         and <bp-asm.h>.
55904         (PARMS): Do not use macros from bp-asm.h.
55905         (FLAGS): Likewise.
55906         (PTID): Likewise.
55907         (TLS): Likewise.
55908         (CTID): Likewise.
55909         (__clone): Do not use BP_SYM.
55910         (clone): Do not use BP_SYM in weak_alias.
55911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55912         and <bp-asm.h>.
55913         (PARMS): Do not use macros from bp-asm.h.
55914         (LEN): Likewise.
55915         (__mmap64): Do not use BP_SYM.
55916         (mmap64): Do not use BP_SYM in weak_alias.
55917         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55918         <bp-sym.h> and <bp-asm.h>.
55919         (PARMS): Do not use macros from bp-asm.h.
55920         (__posix_fadvise64_l64): Do not use BP_SYM.
55921         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55922         (PARMS): Do not use macros from bp-asm.h.
55923         (NSOPS): Likewise.
55924         (semtimedop): Do not use BP_SYM.
55925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55926         and <bp-asm.h>.
55928 2013-02-21  Allan McRae  <allan@archlinux.org>
55930         * manual/message.texi (Charset conversion in gettext):
55931         Move @end statement to beginning of line.
55933 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55936         static.
55937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55938         Likewise.
55940         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55941         (denorm): Likewise.
55942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55945 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55947         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55948         tail-call to the resolved function if pltexit isn't needed.
55950 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55953         or Y being zero as being unlikely.
55954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55955         Likewise.
55957 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55959         * manual/nss.texi (System Databases and Name Service Switch):
55960         Remove frobnicate @pxref.
55962 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55964         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55965         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55967 2013-02-20  Petr Machata  <pmachata@redhat.com>
55969         * elf/elf.h (R_ARM_TARGET1): New macro.
55970         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55971         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55972         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55973         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55974         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55975         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55976         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55977         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55978         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55979         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55980         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55981         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55982         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55983         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55984         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55985         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55986         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55987         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55988         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55989         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55990         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55991         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55992         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55993         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55994         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55995         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55996         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55997         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55998         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55999         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56000         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56001         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56002         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56003         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56004         (R_ARM_THM_GOT_BREL12): Likewise.
56005         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56006         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56007         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56008         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56009         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56010         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56011         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56012         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56013         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56015 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56017         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56018         __attribute_used__ to __attribute__ ((unused)).
56020 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56022         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56023         powerpc mpa.c.
56024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56025         comment formatting.
56026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56028 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56030         [BZ #13550]
56031         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56032         Remove macro.
56033         (ENTER): Remove both macro definitions.
56034         (LEAVE): Likewise.
56035         (CHECK_BOUNDS_LOW): Likewise.
56036         (CHECK_BOUNDS_HIGH): Likewise.
56037         (CHECK_BOUNDS_BOTH): Likewise.
56038         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56039         (RETURN_BOUNDED_POINTER): Likewise.
56040         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56041         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56042         (POP_ERRNO_LOCATION_RETURN): Likewise.
56043         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56044         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56045         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56046         macros.
56047         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56048         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56049         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56050         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56051         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56052         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56053         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56054         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56055         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56056         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56057         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56058         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56059         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56060         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56061         removed macros.
56062         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56063         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56064         macros.
56065         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56066         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56067         * sysdeps/i386/i586/memset.S (memset): Likewise.
56068         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56069         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56070         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56071         macros.
56072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56073         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56074         Change uses of L(2) to L(out).
56075         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56076         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56077         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56078         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56079         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56080         removed macros.
56081         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56082         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56083         macros.
56084         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56085         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56086         (RETURN): Do not use macro LEAVE.
56087         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56088         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56089         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56090         * sysdeps/i386/i686/memset.S (memset): Likewise.
56091         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56092         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56093         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56094         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56095         Likewise.
56096         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56097         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56098         L(1_2) and L(1_3) into L(1).
56099         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56100         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56101         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56102         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56103         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56104         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56105         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56106         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56107         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56108         macros.
56109         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56110         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56111         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56112         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56113         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56114         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56115         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56116         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56117         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56118         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56119         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56120         * sysdeps/i386/strspn.S (strspn): Likewise.
56121         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56122         conditional code.
56123         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56124         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56125         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56126         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56127         L(1_3) into L(1_1).
56128         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56129         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56130         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56131         macros.
56132         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56134 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56136         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56137         macro.
56139 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56141         * math/atest-exp.c (exp_mpn): Remove ROUND.
56142         * math/atest-exp2.c (exp_mpn): Likewise.
56143         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56145         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56146         * stdlib/tst-tls-atexit-lib.c: Likewise.
56147         * stdlib/tst-tls-atexit.c: Likewise.
56149 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56151         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56152         and __attribute_alloc_size__.
56154 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56156         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56157         __attribute_alloc_size__.
56158         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56159         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56161 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56163         * include/programs/xmalloc.h: New file.
56164         * catgets/gencat.c: Include it.
56165         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56166         * elf/pldd.c: Likewise.
56167         * iconv/iconv_charmap.c: Likewise.
56168         * iconv/iconvconfig.c: Likewise.
56169         * iconv/strtab.c: Likewise.
56170         * locale/programs/locale.c: Likewise.
56171         * locale/programs/localedef.h: Likewise.
56172         * locale/programs/simple-hash.c: Likewise.
56173         * nscd/nscd.h: Likewise.
56174         * nss/makedb.c: Likewise.
56175         * sysdeps/generic/ldconfig.h: Likewise.
56177 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56179         * Versions.def: Add GLIBC_2.18.
56180         * include/link.h (struct link_map): New member l_tls_dtor_count.
56181         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56182         (__call_tls_dtors): Likewise.
56183         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56184         __cxa_thread_atexit_impl.
56185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56186         Likewise.
56187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56188         Likewise.
56189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56190         Likewise.
56191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56192         Likewise.
56193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56195         Likewise.
56196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56197         Likewise.
56198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56200         Likewise.
56201         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56202         (tests): Add test case tst-tls-atexit.
56203         (modules-names): Add shared library for tst-tls-atexit.
56204         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56205         (GLIBC_PRIVATE): Add __call_tls_dtors.
56206         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56207         for libstdc++.
56208         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56209         * stdlib/tst-tls-atexit.c: New test case.
56210         * stdlib/tst-tls-atexit-lib.c: New test case.
56212         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56214         * elf/Versions (ld): Add _dl_find_dso_for_object.
56215         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56216         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56217         (dl_open_worker): Use _dl_find_dso_for_object.
56218         * elf/dl-sym.c (do_sym): Likewise.
56219         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56221 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56223         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56224         Syntactic changes only.
56225         (_dl_runtime_profile): Do a tail-call to the resolved function.
56227 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56229         [BZ #13550]
56230         * sysdeps/x86_64/bp-asm.h: Remove file.
56231         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56232         <bp-sym.h> and <bp-asm.h>.
56233         (__clone): Do not use BP_SYM.
56234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56235         <bp-sym.h> and <bp-asm.h>.
56236         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56237         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56238         "bp-asm.h".
56239         (_setjmp): Do not use BP_SYM.
56240         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56241         "bp-asm.h".
56242         (setjmp): Do not use BP_SYM.
56243         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56244         libc_hidden_def.
56245         (mempcpy): Do not use BP_SYM in weak_alias.
56246         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56247         "bp-asm.h".
56248         (strchr): Do not use BP_SYM.
56249         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56250         "bp-asm.h".
56251         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56252         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56253         (_start): Do not use BP_SYM.
56254         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56255         "bp-asm.h".
56256         (strcat): Do not use BP_SYM.
56257         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56258         "bp-asm.h".
56259         (STRCMP): Do not use BP_SYM.
56260         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56261         "bp-asm.h".
56262         (STRCPY): Do not use BP_SYM.
56263         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56264         "bp-asm.h".
56265         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56266         "bp-asm.h".
56267         (FUNCTION): Do not use BP_SYM.
56268         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56269         weak_alias.
56270         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56272 2013-02-17  Andreas Jaeger  <aj@suse.de>
56274         * time/Versions: Sort entries.
56275         * string/Versions: Likewise.
56276         * resolv/Versions: Likewise.
56277         * posix/Versions: Likewise.
56278         * iconv/Versions: Likewise.
56279         * elf/Versions: Likewise.
56280         * wcsmbs/Versions: Likewise.
56282 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56284         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56285         loop termination condition.
56287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56288         variable to calculate EZ.
56289         (__sqr): Likewise.
56291         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56292         the lower precision input.
56294 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56296         [BZ #13550]
56297         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56298         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56299         (run-via-rtld-prefix): Do not handle %-bp tests.
56300         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56301         (all-object-suffixes): Remove .ob.
56302         (bppfx): Remove variable.
56303         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56304         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56305         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56306         [$(build-bounded) = yes] (libtype.ob): Likewise.
56307         * Makerules (elide-routines.ob): Remove variable.
56308         (do-tests-clean): Do not handle *-bp.out.
56309         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56310         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56311         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56312         (tests): Do not include $(tests-bp.out).
56313         (xtests): Do not include $(xtests-bp.out).
56314         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56315         [$(build-bounded) = yes] ($(addprefix
56316         $(objpfx),$(binaries-bounded))): Remove rule.
56317         ($(objpfx)%-bp.out): Remove rule.
56318         * config.make.in (build-bounded): Remove variable.
56319         * crypt/Makefile [$(build-bounded) = yes]
56320         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56321         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56322         append to variable.
56323         [$(build-bounded) = yes] (install-lib): Likewise.
56324         [$(build-bounded) = yes] (generated): Likewise.
56325         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56326         Remove rule.
56327         * intl/Makefile [$(build-bounded) = yes]
56328         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56329         * math/Makefile [$(build-bounded) = yes]
56330         ($(tests:%=$(objpfx)%-bp): Likewise.
56331         * misc/Makefile [$(build-bounded) = yes]
56332         ($(objpfx)tst-tsearch-bp): Likewise.
56333         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56334         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56335         Remove dependency.
56336         * string/Makefile (o-objects.ob): Remove variable.
56337         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56338         (CFLAGS-.ob): Remove variable.
56339         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56340         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56341         both definitions of variable.
56342         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56343         (ASFLAGS-.ob): Remove variable.
56345 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56347         [BZ #13550]
56348         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56349         Remove __BOUNDED_POINTERS__ from condition.
56350         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56351         * string/bits/string2.h [!__NO_STRING_INLINES &&
56352         !__BOUNDED_POINTERS__]: Likewise.
56353         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56354         Likewise.
56355         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56356         Remove conditional code.
56357         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56358         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56359         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56360         condition.
56362         [BZ #13550]
56363         * csu/libc-start.c: Do not include <bp-sym.h>.
56364         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56365         * elf/dl-open.c: Do not include <bp-sym.h>.
56366         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56367         * math/fegetenv.c: Do not include <bp-sym.h>.
56368         (fegetenv): Do not use BP_SYM in versioned symbols.
56369         * nptl/sysdeps/pthread/bits/libc-lockP.h
56370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56371         <bp-sym.h>.
56372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56373         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56375         (__pthread_mutex_destroy): Likewise.
56376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56377         (__pthread_mutex_lock): Likewise.
56378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56379         (__pthread_mutex_trylock): Likewise.
56380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56381         (__pthread_mutex_unlock): Likewise.
56382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56383         (__pthread_mutexattr_init): Likewise.
56384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56385         (__pthread_mutexattr_destroy): Likewise.
56386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56387         (__pthread_mutexattr_settype): Likewise.
56388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56389         (__pthread_rwlock_init): Likewise.
56390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56391         (__pthread_rwlock_destroy): Likewise.
56392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56393         (__pthread_rwlock_rdlock): Likewise.
56394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56395         (__pthread_rwlock_tryrdlock): Likewise.
56396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56397         (__pthread_rwlock_wrlock): Likewise.
56398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56399         (__pthread_rwlock_trywrlock): Likewise.
56400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56401         (__pthread_rwlock_unlock): Likewise.
56402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56403         (__pthread_key_create): Likewise.
56404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56405         (__pthread_setspecific): Likewise.
56406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56407         (__pthread_getspecific): Likewise.
56408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56409         Likewise.
56410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56411         (_pthread_cleanup_push_defer): Likewise.
56412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56413         (_pthread_cleanup_pop_restore): Likewise.
56414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56415         (pthread_setcancelstate): Likewise.
56416         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56417         <bp-sym.h>.
56418         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56419         (memchr): Do not use BP_SYM in weak_alias.
56420         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56421         (fegetenv): Do not use BP_SYM in versioned symbols.
56422         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56423         (fesetenv): Do not use BP_SYM in versioned symbols.
56424         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56425         (feupdateenv): Do not use BP_SYM in versioned symbols.
56426         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56427         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56428         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56429         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56430         (open64): Do not use BP_SYM in weak_alias.
56431         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56432         (fegetenv): Do not use BP_SYM in versioned symbols.
56433         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56434         (fesetenv): Do not use BP_SYM in versioned symbols.
56435         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56436         (feupdateenv): Do not use BP_SYM in versioned symbols.
56437         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56438         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56439         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56440         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56441         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56442         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56443         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56444         <bp-sym.h>.
56445         (__libc_start_main): Do not use BP_SYM.
56447 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56450         redundant return line.
56451         (norm): Likewise.
56452         (denorm): Likewise.
56453         (dbl_mp): Likewise.
56454         (sub_magnitudes): Likewise.
56455         (__add): Likewise.
56456         (__sub): Likewise.
56457         (__mul): Likewise.
56458         (__inv): Likewise.
56459         (__dvd): Likewise.
56460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56461         (norm): Likewise.
56462         (denorm): Likewise.
56463         (dbl_mp): Likewise.
56464         (sub_magnitudes): Likewise.
56465         (__add): Likewise.
56466         (__sub): Likewise.
56467         (__mul): Likewise.
56468         (__inv): Likewise.
56469         (__dvd): Likewise.
56471         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56472         instead of __mul.
56473         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56474         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56475         (cc32): Likewise.
56477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56478         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56479         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56480         of __mul for squares.
56481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56482         function
56483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56484         Likewise.
56485         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56486         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56488 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56490         [BZ #13550]
56491         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56492         code.
56493         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56494         prototype or function definition.  Rename ubp_* variables and
56495         parameters.  Remove argv definitions conditional on
56496         [__BOUNDED_POINTERS__].
56497         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56498         * elf/dl-runtime.c (_dl_fixup): Likewise.
56499         * include/set-hooks.h (RUN_HOOK): Likewise.
56500         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56501         definition.
56502         * string/strcpy.c (strcpy): Do not use __unbounded.
56503         * sysdeps/generic/frame.h (struct layout): Likewise.
56504         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56505         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56506         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56507         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56508         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56509         (__backtrace): Likewise.
56510         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56511         use __ptrvalue.
56512         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56514         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56515         Likewise.
56516         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56517         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56519         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56520         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56521         Do not use __unbounded.
56522         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56523         Rename __unboundedrlimits parameter to rlimits in prototype.
56524         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56525         Do not use __unbounded.
56526         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56527         not use __ptrvalue.
56528         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56529         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56530         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56531         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56532         __ptrvalue or __unbounded.
56533         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56534         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56535         use __unbounded.
56536         (__new_msgctl): Do not use __ptrvalue.
56537         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56538         __unbounded.
56539         (__libc_msgrcv): Do not use __ptrvalue.
56540         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56541         startup_info): Do not use __unbounded.
56542         (__libc_start_main): Likewise.  Rename ubp_* variables and
56543         parameters.  Remove argv definitions conditional on
56544         [__BOUNDED_POINTERS__].
56545         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56546         __ptrvalue.
56547         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56548         use __unbounded.
56549         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56550         or __ptrvalue.
56551         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56552         use __unbounded.
56553         (__new_shmctl): Do not use __ptrvalue.
56554         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56555         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56556         Likewise.
56557         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56558         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56559         (__libc_sigaction): Likewise.
56560         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56561         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56562         Likewise.
56563         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56565 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56567         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56569         * string/mempcpy.c: Implement by calling memcpy.
56571 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56576         evaluation.
56578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56579         values in the mantissa.
56581         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56582         minimize writes to Z.
56583         (sub_magnitudes): Simplify code a bit.
56585 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56587         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56588         from the message.  The linker prefixes all warnings with that already.
56590 2013-02-12  Andreas Schwab  <schwab@suse.de>
56592         [BZ #15078]
56593         * posix/regexec.c (extend_buffers): Add parameter min_len.
56594         (check_matching): Pass minimum needed length.
56595         (clean_state_log_if_needed): Likewise.
56596         (get_subexp): Likewise.
56597         * posix/Makefile (tests): Add bug-regex34.
56598         (bug-regex34-ENV): Define.
56599         * posix/bug-regex34.c: New file.
56601         [BZ #11561]
56602         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56603         elements compare against the byte sequence of it, not its name.
56604         * posix/Makefile (tests): Add bug-regex35.
56605         (bug-regex35-ENV): Define.
56606         * posix/bug-regex35.c: New file.
56608 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56610         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56611         comment.
56612         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56613         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56614         (CHECK_EOL): Add undef.
56616 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56618         * bits/stdlib-bsearch.h: New file.
56619         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56620         * stdlib/stdlib.h: Likewise.
56622 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56624         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56625         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56626         declaration.
56627         * manual/search.texi (Array Search Function): Add missing const in
56628         lfind prototype.
56629         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56630         declaration to use rlim_t.
56631         (Basic Scheduling Functions): Remove erroneous const from
56632         sched_getparam prototype.  Remove erroneous * from
56633         sched_get_priority_max and sched_get_priority_min prototypes.
56634         (Resource Usage): Fix summary @comment on vtimes to refer to
56635         sys/vtimes.h rather than vtimes.h.
56636         Add missing *s in vtimes prototype.
56637         (Limits on Resources): Fix ulimit prototype to return long int.
56638         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56639         prototypes to use long int rather than double.
56640         (BSD Random): Fix initstate and setstate to use char *, not void *.
56641         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56642         prototype to make second argument 'struct aiocb64 *const[]'.
56643         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56644         (Status of AIO Operations): Remove erroneous const in aio_return and
56645         aio_return64 prototypes.
56646         (Synchronizing I/O): Fix sync prototype to return void.
56647         * manual/startup.texi (Suboptions): Remove an erroneous const in
56648         getsubopt prototype.
56649         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56650         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56651         use size_t rather than int.
56652         (Scanning All Users): Likewise for getpwent_r.
56653         (Setting Groups): Add missing const to setgroups prototype.
56654         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56655         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56656         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56657         'const void *' rather than 'const char *'.
56658         (Host Address Functions): Likewise for inet_ntop.
56659         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56660         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56661         ssize_t for return value.
56662         (Sending Data): Likewise for send, sendto, sendmsg.
56663         (Socket Option Functions): Add a missing const in setsockopt prototype.
56664         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56665         use wchar_t for the argument.
56666         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56667         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56668         take no arguments.
56669         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56670         double/float/long double for second argument.
56671         Fix return types of significand, significandf, significandl.
56672         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56673         argument in fchmod prototype.
56674         (File Owner): Use uid_t and gid_t in fchown prototype.
56675         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56676         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56677         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56678         use 'const struct dirent **' as argument types to CMP function pointer
56679         argument.
56680         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56681         (File Times): Fix summary magic @comment for struct utimbuf and utime
56682         to refer to utime.h, not time.h.
56683         * manual/string.texi (Argz Functions): Add missing const in
56684         argz_extract and argz_next prototypes.
56685         (Finding Tokens in a String): Likewise for basename.
56686         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56687         (Copying and Concatenation): Fix typo in wmemmove prototype.
56688         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56689         (Signal Stack): Remove erroneous const in sigstack prototype.
56690         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56691         prototype.
56692         (Simple Calendar Time): Likewise for stime.
56693         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56694         prototype.
56695         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56696         say sys/sysctl.h instead.
56697         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56698         and vsyslog prototypes.
56700 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56702         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56703         Remove.
56705 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56707         * misc/sys/mman.h: Fix typo in mremap comment.
56709 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56711         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56712         the '\0' terminator.
56714 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56716         [BZ #13550]
56717         * debug/segfault.c: Don't include <bp-checks.h>.
56718         * sysdeps/generic/bp-checks.h: Remove file.
56719         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56720         (__GETDENTS): Don't use CHECK_N.
56721         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56722         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56723         (__getgroups): Don't use CHECK_N.
56724         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56725         (setgroups): Don't use CHECK_N.
56726         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56727         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56728         (__libc_msgrcv): Don't use CHECK_N.
56729         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56730         (__libc_msgsnd): Don't use CHECK_N.
56731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56732         <bp-checks.h>.
56733         (__libc_pread): Don't use CHECK_N.
56734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56735         include <bp-checks.h>.
56736         (__libc_pread64): Don't use CHECK_N.
56737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56738         include <bp-checks.h>.
56739         (__libc_pwrite): Don't use CHECK_N.
56740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56741         include <bp-checks.h>.
56742         (__libc_pwrite64): Don't use CHECK_N.
56743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56744         <bp-checks.h>.
56745         (__libc_pread): Don't use CHECK_N.
56746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56747         include <bp-checks.h>.
56748         (__libc_pread64): Don't use CHECK_N.
56749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56750         include <bp-checks.h>.
56751         (__libc_pwrite): Don't use CHECK_N.
56752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56753         include <bp-checks.h>.
56754         (__libc_pwrite64): Don't use CHECK_N.
56755         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56756         (do_pread): Don't use CHECK_N.
56757         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56758         (do_pread64): Don't use CHECK_N.
56759         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56760         (do_pwrite): Don't use CHECK_N.
56761         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56762         (do_pwrite64): Don't use CHECK_N.
56763         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56764         (__libc_readv): Don't use CHECK_N.
56765         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56766         (semop): Don't use CHECK_N.
56767         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56768         <bp-checks.h>.
56769         (semtimedop): Don't use CHECK_N.
56770         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56771         (__libc_pread): Don't use CHECK_N.
56772         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56773         <bp-checks.h>.
56774         (__libc_pread64): Don't use CHECK_N.
56775         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56776         <bp-checks.h>.
56777         (__libc_pwrite): Don't use CHECK_N.
56778         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56779         <bp-checks.h>.
56780         (__libc_pwrite64): Don't use CHECK_N.
56781         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56782         <bp-checks.h>.
56783         (__libc_msgrcv): Don't use CHECK_N.
56784         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56785         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56786         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56787         (__libc_writev): Don't use CHECK_N.
56789 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56791         * string/strcpy.c: Removed unused variable.
56793         * Makeconfig (+sysdep-includes): Define with := rather than =.
56794         Use an existing include/ subdir of each sysdeps dir before it.
56796 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56798         * nscd/connection.c (register_traced_file): Comment function.
56799         [HAVE_INOTIFY] (union __inev): Define.
56800         [HAVE_INOTIFY] (inotify_check_files): New function.
56801         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56802         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56803         clear_db_cache.
56804         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56806 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56808         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56809         loaded if not already and that a failure is permanent.
56811 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56813         [BZ #15006]
56814         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56815         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56817 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56819         [BZ #13550]
56820         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56821         (CHECK_1_NULL_OK): Likewise.
56822         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56823         (__fxstat): Do not use CHECK_1.
56824         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56825         <bp-checks.h>.
56826         (___fxstat64): Do not use CHECK_1.
56827         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56828         <bp-checks.h>.
56829         (__fxstatat): Do not use CHECK_1.
56830         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56831         <bp-checks.h>.
56832         (__fxstatat64): Do not use CHECK_1.
56833         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56834         <bp-checks.h>.
56835         (__fxstat): Do not use CHECK_1.
56836         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56837         <bp-checks.h>.
56838         (__fxstatat): Do not use CHECK_1.
56839         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56840         <bp-checks.h>.
56841         (__getresgid): Do not use CHECK_1.
56842         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56843         <bp-checks.h>.
56844         (__getresuid): Do not use CHECK_1.
56845         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56846         <bp-checks.h>.
56847         (__lxstat): Do not use CHECK_1.
56848         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56849         <bp-checks.h>.
56850         (__old_msgctl): Do not use CHECK_1.
56851         (__new_msgctl): Likewise.
56852         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56853         <bp-checks.h>.
56854         (__new_setrlimit): Do not use CHECK_1.
56855         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56856         <bp-checks.h>.
56857         (__old_shmctl): Do not use CHECK_1.
56858         (__new_shmctl): Likewise.
56859         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56860         <bp-checks.h>.
56861         (__xstat): Do not use CHECK_1.
56862         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56863         (__lxstat): Do not use CHECK_1.
56864         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56865         <bp-checks.h>.
56866         (___lxstat64): Do not use CHECK_1.
56867         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56868         (__old_msgctl): Do not use CHECK_1.
56869         (__new_msgctl): Likewise.
56870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56871         <bp-checks.h>.
56872         (__gettimeofday): Do not use CHECK_1.
56873         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56874         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56875         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56876         <bp-checks.h>.
56877         (__gettimeofday): Do not use CHECK_1.
56878         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56879         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56880         (__new_shmctl): Do not use CHECK_1.
56881         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56882         <bp-checks.h>.
56883         (do_sigtimedwait): Do not use CHECK_1.
56884         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56885         <bp-checks.h>.
56886         (do_sigwaitinfo): Do not use CHECK_1.
56887         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56888         <bp-checks.h>.
56889         (msgctl): Do not use CHECK_1.
56890         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56891         <bp-checks.h>.
56892         (shmctl): Do not use CHECK_1.
56893         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56894         (ustat): Do not use CHECK_1.
56895         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56896         <bp-checks.h>.
56897         (__fxstat): Do not use CHECK_1.
56898         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56899         <bp-checks.h>.
56900         (__fxstatat): Do not use CHECK_1.
56901         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56902         <bp-checks.h>.
56903         (__lxstat): Do not use CHECK_1.
56904         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56905         <bp-checks.h>.
56906         (__xstat): Do not use CHECK_1.
56907         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56908         (__xstat): Do not use CHECK_1.
56909         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56910         (___xstat64): Do not use CHECK_1.
56912         [BZ #13550]
56913         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56914         definitions.
56915         (CHECK_BOUNDS_HIGH): Likewise.
56916         * string/strcpy.c: Do not include <bp-checks.h>.
56917         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56919 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56921         * nscd/nscd-client.h (__nscd_drop_map_ref):
56922         Add __attribute__ ((unused)).
56923         * nis/nss-nisplus.h (niserr2nss): Likewise.
56925         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56926         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56928         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56929         Remove inline keyword.
56930         * include/rounding-mode.h (round_away): Likewise.
56931         * libio/wfileops.c (adjust_wide_data): Likewise.
56932         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56933         (__m128i_strloadu_tolower): Likewise.
56934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56935         (__m128i_strloadu_tolower): Likewise.
56936         * time/mktime.c (ydhms_diff): Likewise.
56937         * locale/elem-hash.h (elem_hash): Likewise.
56938         * locale/setlocale.c (setdata): Likewise.
56939         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56940         (re_string_wchar_at): Likewise.
56941         (bitset_not, bitset_merge, bitset_mask): Likewise.
56942         [!(__GNUC__ > 3)] (inline): Remove macro.
56943         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56944         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56945         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56946         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56947         * string/memcmp.c (memcmp_bytes): Likewise.
56948         * locale/programs/locarchive.c (compute_hashval): Likewise.
56949         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56950         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56951         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56952         * nss/getent.c (print_rpc, print_protocols): Likewise.
56953         (print_passwd, print_group, print_aliases): Likewise.
56954         * nis/nss-nisplus.h (niserr2nss): Likewise.
56955         * nscd/connections.c (restart_p): Likewise.
56956         Change return type to bool.
56958 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56960         * Makeconfig (all-Depend-files): Add existing
56961         $(sorted-subdirs:=/Depend) files.
56962         (all-subdirs): Remove nss.
56963         * sysdeps/unix/inet/Subdirs: Add it here instead.
56964         * hesiod/Depend: New file.
56966         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56967         instead of calling alloca.
56969         * io/lseek.c (__lseek): Rename to __libc_lseek.
56970         Define __lseek as an alias.
56972         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56974 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56976         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56977         else clause and remove check for non-standard endianness.
56979 2013-02-04  David S. Miller  <davem@davemloft.net>
56981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56983 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56985         [BZ #13550]
56986         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56987         (__ubp_memchr): Remove prototype.
56988         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56989         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56990         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56991         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56992         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56993         Remove alias.
56994         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56995         (__ubp_memchr): Likewise.
56996         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56997         (__ubp_memchr): Likewise.
56998         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56999         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57000         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57001         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57002         CHECK_STRING.
57003         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57004         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57005         (__getcwd): Do not use CHECK_STRING.
57006         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57007         <bp-checks.h>.
57008         (__real_chown): Do not use CHECK_STRING.
57009         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57010         <bp-checks.h>.
57011         (fchownat): Do not use CHECK_STRING.
57012         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57013         CHECK_STRING.
57014         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57015         <bp-checks.h>.
57016         (__lchown): Do not use CHECK_STRING.
57017         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57018         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57019         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57020         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57022         include <bp-checks.h>.
57023         (truncate64): Do not use CHECK_STRING.
57024         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57025         <bp-checks.h>.
57026         (__real_chown): Do not use CHECK_STRING.
57027         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57028         <bp-checks.h>.
57029         (__lchown): Do not use CHECK_STRING.
57030         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57031         <bp-checks.h>.
57032         (__chown): Do not use CHECK_STRING.
57033         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57034         <bp-checks.h>.
57035         (truncate64): Do not use CHECK_STRING.
57036         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57037         Likewise.
57038         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57039         (__xmknod): Do not use CHECK_STRING.
57040         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57041         <bp-checks.h>.
57042         (__xmknodat): Do not use CHECK_STRING.
57043         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57044         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57046 2013-02-04  Andreas Schwab  <schwab@suse.de>
57048         [BZ #14142]
57049         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57050         * include/netdb.h: Likewise for h_errno.
57051         * elf/tst-stackguard1.c: Include <tls.h>.
57053 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57055         * elf/link.h (struct link_map): Extend the l_addr comment.
57056         * include/link.h (struct link_map): Likewise.
57058 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57060         [BZ #13550]
57061         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57062         (BOUNDED_1): Remove macro.
57063         * debug/backtrace.c: Don't include <bp-checks.h>.
57064         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57065         (__backtrace): Likewise.
57066         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57067         <bp-checks.h>.
57068         (__backtrace): Don't use BOUNDED_1.
57069         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57070         <bp-checks.h>.
57071         (__backtrace): Don't use BOUNDED_1.
57072         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57073         (__backtrace): Don't use BOUNDED_1.
57074         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57075         (shmat): Don't use BOUNDED_N.
57077 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57079         [BZ #13550]
57080         * sysdeps/generic/bp-start.h: Remove file.
57081         * csu/libc-start.c: Don't include <bp-start.h>.
57082         (LIBC_START_MAIN): Set up __environ directly instead of using
57083         INIT_ARGV_and_ENVIRON.
57084         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57085         <bp-start.h>.
57087         [BZ #13550]
57088         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57089         definitions.
57090         (CHECK_FCNTL): Likewise.
57091         (CHECK_N_PAGES): Likewise.
57093         [BZ #13550]
57094         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57095         definitions.
57096         (CHECK_SIGSET_NULL_OK): Likewise.
57097         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57098         <bp-checks.h>.
57099         (sigpending): Don't use CHECK_SIGSET.
57100         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57101         <bp-checks.h>.
57102         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57103         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57104         <bp-checks.h>.
57105         (do_sigsuspend): Don't use CHECK_SIGSET.
57106         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57107         use CHECK_SIGSET.
57108         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57109         (do_sigwait): Don't use CHECK_SIGSET.
57110         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57111         use CHECK_SIGSET.
57112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57113         include <bp-checks.h>.
57114         (sigpending): Don't use CHECK_SIGSET.
57115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57116         include <bp-checks.h>.
57117         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57118         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57119         <bp-checks.h>.
57120         (sigpending): Don't use CHECK_SIGSET.
57121         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57122         <bp-checks.h>.
57123         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57125         [BZ #13550]
57126         * sysdeps/generic/bp-semctl.h: Remove file.
57127         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57128         <bp-checks.h> and <bp-semctl.h>.
57129         (__old_semctl): Don't use CHECK_SEMCTL.
57130         (__new_semctl): Likewise.
57131         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57132         and <bp-semctl.h>.
57133         (__old_semctl): Don't use CHECK_SEMCTL.
57134         (__new_semctl): Likewise.
57135         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57136         <bp-checks.h> and <bp-semctl.h>.
57137         (__old_semctl): Don't use CHECK_SEMCTL.
57138         (__new_semctl): Likewise.
57139         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57140         <bp-checks.h> and <bp-semctl.h>.
57141         (semctl): Don't use CHECK_SEMCTL.
57143         [BZ #13550]
57144         * Makerules (elide-bp-thunks): Remove variable.
57145         (elide-routines.oS): Don't use $(elide-bp-thunks).
57146         (elide-routines.os): Likewise.
57147         (elide-routines.o): Likewise.
57148         (elide-routines.op): Likewise.
57149         (elide-routines.og): Likewise.
57150         (objects): Don't use $(bp-thunks).
57151         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57152         include.
57153         (common-generated): Do not add s-proto-bp.d.
57154         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57155         (int): Likewise.
57156         (typ): Likewise.
57157         Do not generate makefile rules for bounded-pointer thunks.
57158         * sysdeps/generic/bp-thunks.h: Remove file.
57159         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57160         * sysdeps/unix/s-proto-bp.S: Likewise.
57162         [BZ #15062]
57163         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57164         parts of result separately when argument is not close to line from
57165         -i to i and one part of argument is small.
57166         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57167         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57168         * math/libm-test.inc (cacos_test): Add more tests.
57169         (casin_test): Likewise.
57170         (casinh_test): Likewise.
57171         * sysdeps/i386/fpu/libm-test-ulps: Update.
57172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57174 2013-01-31  David S. Miller  <davem@davemloft.net>
57176         * po/de.po: Update from translation team.
57178 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57180         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57182 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57184         * configure.in (_AC_PROG_CC_C89): New definition.
57185         * configure: Regenerate.
57187         * configure.in (AC_PROG_CPP): New definition.
57188         * configure: Regenerate.
57190 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57192         * debug/tst-backtrace.h: New file.
57193         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57194         (ret): Remove variable.
57195         (x): Likewise.
57196         (FAIL): Remove macro.
57197         (NO_INLINE): Likewise.
57198         (fn1): Use match function instead of strstr.
57199         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57200         (ret): Remove variable.
57201         (x): Likewise.
57202         (FAIL): Remove macro.
57203         (NO_INLINE): Likewise.
57204         (fn): Use match function instead of strstr.
57205         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57206         (ret): Remove variable.
57207         (x): Likewise.
57208         (FAIL): Remove macro.
57209         (NO_INLINE): Likewise.
57210         (handle_signal): Use match function instead of strstr.
57211         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57212         (ret): Remove variable.
57213         (x): Likewise.
57214         (FAIL): Remove macro.
57215         (NO_INLINE): Likewise.
57216         (handle_signal): Use match function instead of strstr.
57218 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57220         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57222 2013-01-23  David S. Miller  <davem@davemloft.net>
57224         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57225         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57226         argument of CAS if possible.
57227         * sysdeps/sparc/sparc64/bits/atomic.h
57228         (__arch_compare_and_exchange_val_32_acq): Likewise.
57229         (__arch_compare_and_exchange_val_64_acq): Likewise.
57231 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57233         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57234         * sysdeps/posix/ulimit.c: ... this.
57235         Include <limits.h>.
57236         * sysdeps/unix/bsd/ulimit.c: Remove file.
57238 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57240         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57241         (LDFLAGS-tst-array5): Likewise.
57243 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57245         [BZ #15036]
57246         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57247         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57248         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57249         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57251 2013-01-21  David S. Miller  <davem@davemloft.net>
57253         * sysdeps/sparc/backtrace.c: New file.
57254         * sysdeps/sparc/sparc32/backtrace.h: New file.
57255         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57256         * sysdeps/sparc/sparc64/backtrace.h: New file.
57257         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57258         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57259         -funwind-tables.
57261 2013-01-21  Andreas Schwab  <schwab@suse.de>
57263         [BZ #15020]
57264         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57265         closed its stdout.
57267 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57270         "mpa2.h".
57271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57273 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57274             Mark Mitchell  <mark@codesourcery.com>
57275             Tom de Vries  <tom@codesourcery.com>
57276             Paul Pluzhnikov  <ppluzhnikov@google.com>
57278         * debug/tst-backtrace2.c: New file.
57279         * debug/tst-backtrace3.c: Likewise.
57280         * debug/tst-backtrace4.c: Likewise.
57281         * debug/tst-backtrace5.c: Likewise.
57282         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57283         (CFLAGS-tst-backtrace3.c): Likewise.
57284         (CFLAGS-tst-backtrace4.c): Likewise.
57285         (CFLAGS-tst-backtrace5.c): Likewise.
57286         (LDFLAGS-tst-backtrace2): Likewise.
57287         (LDFLAGS-tst-backtrace3): Likewise.
57288         (LDFLAGS-tst-backtrace4): Likewise.
57289         (LDFLAGS-tst-backtrace5): Likewise.
57290         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57291         tst-backtrace4 and tst-backtrace5.
57293 2013-01-18  Anton Blanchard  <anton@samba.org>
57294             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57296         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57297         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57298         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57299         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57301         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57302         "+r" and remove output regs list as redundant.  Add explicit inline
57303         asm to specify register of return val to work around compiler codegen
57304         bug.  Remove (int) cast on return value.  Add return type parameter to
57305         use in macro so that this macro does not truncate return value for
57306         64-bit values.
57307         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57308         pass to INTERNAL_VSYSCALL_NCS.
57309         (INLINE_VSYSCALL): Add 'long int' as return type to
57310         INTERNAL_VSYSCALL_NCS macro invocation.
57311         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57312         INTERNAL_VSYSCALL_NCS macro invocation.
57313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57315 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57317         [BZ #14496]
57318         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57319         Fix application of SIMD FP exception mask.
57321         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57322         mp_no from a power of two.
57323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57324         __mpexp_twomm1.  Use __pow_mp.
57326         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57327         multiplication.
57329 2013-01-17  David S. Miller  <davem@davemloft.net>
57331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57333 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57335         [BZ #15023]
57336         * include/complex.h: Condition contents on [!_COMPLEX_H].
57337         (__kernel_casinhf): New prototype.
57338         (__kernel_casinh): Likewise.
57339         (__kernel_casinhl): Likewise.
57340         * math/Makefile (libm_calls): Add k_casinh.
57341         * math/k_casinh.c: New file.
57342         * math/k_casinhf.c: Likewise.
57343         * math/k_casinhl.c: Likewise.
57344         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57345         finite nonzero arguments.
57346         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57347         finite nonzero arguments.
57348         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57349         finite nonzero arguments.
57350         * math/s_casinh.c: Do not include <float.h>.
57351         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57352         * math/s_casinhf.c: Do not include <float.h>.
57353         (__casinhf): Move code for finite nonzero arguments to
57354         k_casinhf.c.
57355         * math/s_casinhl.c: Do not include <float.h>.
57356         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57357         redefine.
57358         (__casinhl): Move code for finite nonzero arguments to
57359         k_casinhl.c.
57360         * math/libm-test.inc (cacos_test): Add more tests.
57361         * sysdeps/i386/fpu/libm-test-ulps: Update.
57362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57364 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57366         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57367         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57368         [!HAVE_MREMAP]: Remove [defined linux] case.
57369         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57371 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57373         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57375 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57377         * elf/elf.h (R_386_SIZE32): New relocation.
57378         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57379         R_386_SIZE32.
57380         (elf_machine_rela): Likewise.
57381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57382         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57384 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57386         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57387         (FP_FAST_FMA): Do not define.
57388         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57389         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57390         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57391         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57392         !_SOFT_FLOAT]: Likewise.
57393         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57394         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57395         value.
57396         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57397         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57398         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57399         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57400         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57401         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57402         file.
57404 2013-01-16  Andreas Schwab  <schwab@suse.de>
57406         [BZ #14327]
57407         * include/stdlib.h (__mktemp): Add declaration.
57408         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57409         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57411 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57413         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57414         definitions.
57415         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57416         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57417         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57418         definitions here.
57419         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57420         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57421         definitions.
57422         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57423         and ONE.
57424         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57425         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57426         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57427         definitions.
57428         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57429         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57430         definitions.
57431         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57433         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57435 2013-01-15  David S. Miller  <davem@davemloft.net>
57437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57438         trunc{,f} to libm-sysdep_routes.
57439         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57441         file.
57442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57444         file.
57445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57446         file.
57447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57449         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57450         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57451         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57452         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57453         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57454         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57457         nearbyint{,f} to libm-sysdep_routes.
57458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57460         New file.
57461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57462         file.
57463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57464         New file.
57465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57466         file.
57467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57469         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57470         file.
57471         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57472         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57473         file.
57474         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57475         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57476         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57478         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57479         libc_feholdexcept and libc_fesetenv.
57481 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57483         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57485 2013-01-14  David S. Miller  <davem@davemloft.net>
57487         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57488         (SPARC_ASM_VIS2_IFUNC): Likewise.
57489         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57491         use of 'siam' instruction.
57492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57493         Likewise.
57494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57495         Likewise.
57496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57497         Likewise.
57498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57503         file.
57504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57505         file.
57506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57507         file.
57508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57509         file.
57510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57515         new VIS2 routines.
57516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57519         Likewise.
57520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57525         routines to libm-sysdep_routines.
57526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57529         fdim/fdimf to libm-sysdep_routines.
57530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57531         file.
57532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57534         file.
57535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57538         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57539         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57540         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57541         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57543 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57546         to optimize copies.
57548         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57553         local variable MPTWO.
57554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57555         Likewise.
57557 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57559         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57560         GLOB_NOESCAPE.
57562 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57564         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57566 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57568         * manual/pattern.texi (glob_t): Document gl_flags.
57569         (glob64_t): Likewise.
57571 2013-01-11  David S. Miller  <davem@davemloft.net>
57573         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57574         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57575         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57576         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57577         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57578         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57579         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57580         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57581         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57582         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57583         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57584         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57585         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57587         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57588         sparc V9 rather than using V8 code.
57589         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57590         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57592         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57593         Move to...
57594         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57595         Here.
57597 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57599         [BZ #14941]
57600         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57601         not in the main loop.
57602         * configure: Regenerated.
57604 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57606         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57607         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57608         to just #else.
57609         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57610         [!__GLIBC_HAVE_LONG_LONG] case.
57611         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57612         condition to just #else.
57613         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57614         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57615         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57616         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57617         unconditional.
57618         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57619         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57620         #elif condition to just #else.
57621         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57622         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57623         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57624         #elif condition to just #else.
57626 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57628         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57629         (EF_MIPS_ARCH_64): Fix value.
57630         (EF_MIPS_ARCH_32R2): New.
57631         (EF_MIPS_ARCH_64R2): New.
57633 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57635         * Makeconfig (+link-pie-before-libc): New.
57636         (+link-pie-after-libc): Likewise.
57637         (+link-pie-tests): Likewise.
57638         (+link-pie): Rewritten.
57639         (link-before-libc): Remove $(config-LDFLAGS).
57640         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57641         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57642         (config-LDFLAGS): Renamed to ...
57643         (rtld-LDFLAGS): This.
57644         (rtld-tests-LDFLAGS): New macro.
57645         (link-libc-rpath-link): Likewise.
57646         (link-libc-tests-rpath-link): Likewise.
57647         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57648         (link-libc): Prepand $(link-libc-rpath-link).
57649         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57650         (test-program-prefix): New macro.
57651         (test-via-rtld-prefix): Likewise.
57652         (test-program-cmd): Likewise.
57653         (host-test-program-cmd): Likewise.
57654         * Makefile ($(common-objpfx)testrun.sh): Replace
57655         $(run-program-prefix) with $(test-program-prefix).
57656         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57657         $(rtld-LDFLAGS).
57658         ($(common-objpfx)shlib.lds): Likewise.
57659         (build-module-helper): Likewise.
57660         ($(common-objpfx)format.lds): Likewise.
57661         * Rules (binaries-pie-tests): New.
57662         (binaries-pie-notests): Likewise.
57663         (binaries-pie): Rewritten.
57664         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57665         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57666         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57667         (make-test-out): Replace $(host-built-program-cmd) with
57668         $(host-test-program-cmd).
57669         * config.make.in (build-hardcoded-path-in-tests): New variable.
57670         * configure.in (--enable-hardcoded-path-in-tests): New configure
57671         option.
57672         (hardcoded_path_in_tests): New AC_SUBST.
57673         * configure: Regenerated.
57674         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57675         $(built-program-cmd) with $(test-program-cmd).
57676         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57677         (test_program_cmd): This.
57678         * elf/Makefile ($(objpfx)order.out): Run test with
57679         $(test-program-prefix).
57680         ($(objpfx)order2.out): Likewise.
57681         ($(objpfx)tst-initorder.out): Likewise.
57682         ($(objpfx)tst-initorder2.out): Likewise.
57683         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57684         $(test-program-cmd).
57685         ($(objpfx)tst-array1-static.out): Likewise.
57686         ($(objpfx)tst-array2.out): Likewise.
57687         ($(objpfx)tst-array3.out): Likewise.
57688         ($(objpfx)tst-array4.out): Likewise.
57689         ($(objpfx)tst-array5.out): Likewise.
57690         ($(objpfx)tst-array5-static.out): Likewise.
57691         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57692         $(test-program-cmd).
57693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57694         $(run-program-prefix) with $(test-program-prefix).
57695         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57696         (test_program_prefix): This.
57697         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57698         $(run-program-prefix) with $(test-program-prefix).
57699         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57700         (test_program_prefix): This.
57701         * iconvdata/tst-tables.sh: Likewise.
57702         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57703         $(run-program-prefix) with $(test-program-prefix).
57704         ($(objpfx)tst-translit.out): Likewise.
57705         ($(objpfx)tst-gettext2.out): Likewise.
57706         ($(objpfx)tst-gettext4.out): Likewise.
57707         ($(objpfx)tst-gettext6.out): Likewise.
57708         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57709         (test_program_prefix): This.
57710         * intl/tst-gettext2.sh: Likewise.
57711         * intl/tst-gettext4.sh  Likewise.
57712         * intl/tst-gettext6.sh: Likewise.
57713         * intl/tst-translit.sh: Likewise.
57714         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57715         with $(test-program-cmd).
57716         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57717         $(run-program-prefix) with $(test-program-prefix).
57718         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57719         (test_program_prefix): This.
57720         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57721         $(run-program-prefix) with $(test-program-prefix).
57722         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57723         (test_program_prefix): This.
57724         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57725         * posix/Makefile ($(objpfx)globtest.out): Replace
57726         $(run-via-rtld-prefix) and $(test-wrapper) with
57727         $(test-program-prefix) and $(test-via-rtld-prefix).
57728         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57729         $(test-program-prefix).
57730         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57731         $(host-test-program-cmd).
57732         (tst-spawn-ARGS): Likewise.
57733         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57734         $(test-program-prefix).
57735         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57736         (test_via_rtld_prefix): This.
57737         (test_wrapper): Renamed to ...
57738         (test_program_prefix): This.
57739         (run_program_prefix): Replaced by test_program_prefix.
57740         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57741         (test_program_prefix): This.
57742         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57743         with $(host-test-program-cmd).
57744         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57745         $(run-program-prefix) with $(test-program-prefix).
57746         ($(objpfx)tst-printf.out): Likewise.
57747         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57748         $(test-program-cmd).
57749         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57750         (test_program_prefix): This.
57751         * stdio-common/tst-unbputc.sh: Likewise.
57752         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57753         $(run-program-prefix) with $(test-program-prefix).
57754         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57755         (test_program_prefix): This.
57756         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57757         $(built-program-cmd) with $(test-program-cmd).
57759 2013-01-11  Andreas Jaeger  <aj@suse.de>
57761         [BZ #15003]
57762         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57763         value. Sync with Linux 3.7.
57765 2013-01-10  David S. Miller  <davem@davemloft.net>
57767         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57768         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57769         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57771 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57773         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57774         never set.
57775         * configure: Regenerated.
57777 2013-01-10  David S. Miller  <davem@davemloft.net>
57779         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57780         sparc V9 rather than using V8 code.
57781         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57782         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57784 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57786         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57787         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57788         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57789         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57790         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57791         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57792         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57793         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57794         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57795         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57796         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57797         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57798         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57799         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57800         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57801         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57802         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57803         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57804         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57805         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57806         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57807         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57808         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57809         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57810         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57811         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57812         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57814 2013-01-10  David S. Miller  <davem@davemloft.net>
57816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57818 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57820         * posix/Makefile (tests-static): New variable.
57821         (tests): Add $(tests-static).
57822         (tst-exec-static-ARGS): New variable.
57823         (tst-spawn-static-ARGS): Likewise.
57824         * posix/tst-exec-static.c: New file.
57825         * posix/tst-spawn-static.c: Likewise.
57826         * posix/tst-exec.c: Support run directly.
57827         * posix/tst-spawn.c: Likewise.
57829 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57831         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57832         long.
57833         * math/bits/mathcalls.h (llrint): Likewise.
57834         (llround): Likewise.
57835         * stdlib/stdlib.h (struct drand48_data): Likewise.
57836         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57837         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57838         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57839         Likewise.
57840         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57841         Likewise.
57842         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57843         (elf_greg_t): Likewise.
57844         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57845         (__jmp_buf): Likewise.
57846         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57847         definitions.
57848         (llrint): Likewise, for all definitions.
57849         (llrintl): Likewise.
57851         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57852         Remove [__GNUC__] condition.
57853         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57854         condition to just [__USE_ISOC99].
57855         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57857 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57859         [BZ #14200]
57860         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57861         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57862         defined.
57863         (_POSIX_V6_ILP32_OFF32): Likewise.
57864         (_XBS5_ILP32_OFF32): Likewise.
57865         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57866         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57868 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57870         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57873         doubles __mpexp_twomm1.  Adjust usage.
57874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57875         Remove.
57877 2013-01-10  Andreas Schwab  <schwab@suse.de>
57879         [BZ #14964]
57880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57881         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57883 2013-01-09  David S. Miller  <davem@davemloft.net>
57885         [BZ #15003]
57886         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57887         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57888         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57889         (TCP_FASTOPEN): Define.
57890         (tcp_repair_opt): New structure.
57891         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57892         enum values.
57893         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57894         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57895         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57896         (tcp_cookie_transactions): New structure.
57898 2013-01-09  Anton Blanchard  <anton@samba.org>
57900         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57901         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57905 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57907         * include/features.h (__USE_ANSI): Remove.
57909 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57911         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57913         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57915 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57917         * sysdeps/s390/fpu/libm-test-ulps: Update.
57919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57921         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57922         (__acr): Likewise.
57923         (__cpy): Likewise.
57924         (norm): Likewise.
57925         (denorm): Likewise.
57926         (__mp_dbl): Likewise.
57927         (__dbl_mp): Likewise.
57928         (add_magnitudes): Likewise.
57929         (sub_magnitudes): Likewise.
57930         (__add): Likewise.
57931         (__sub): Likewise.
57932         (__mul): Likewise.
57933         (__inv): Likewise.
57934         (__dvd): Likewise.
57935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57936         (__acr): Likewise.
57937         (__cpy): Likewise.
57938         (norm): Likewise.
57939         (denorm): Likewise.
57940         (__mp_dbl): Likewise.
57941         (__dbl_mp): Likewise.
57942         (add_magnitudes): Likewise.
57943         (sub_magnitudes): Likewise.
57944         (__add): Likewise.
57945         (__sub): Likewise.
57946         (__mul): Likewise.
57947         (__inv): Likewise.
57948         (__dvd): Likewise.
57949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57950         (__acr): Likewise.
57951         (__cpy): Likewise.
57952         (norm): Likewise.
57953         (denorm): Likewise.
57954         (__mp_dbl): Likewise.
57955         (__dbl_mp): Likewise.
57956         (add_magnitudes): Likewise.
57957         (sub_magnitudes): Likewise.
57958         (__add): Likewise.
57959         (__sub): Likewise.
57960         (__mul): Likewise.
57961         (__inv): Likewise.
57962         (__dvd): Likewise.
57964 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57966         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57967         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57968         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57969         2 && __USE_EXTERN_INLINES]: Likewise.
57971 2013-01-08  Andreas Jaeger  <aj@suse.de>
57973         [BZ# 14985]
57974         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57975         Remove.
57976         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57977         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57979 2013-01-07  Anton Blanchard  <anton@samba.org>
57981         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57982         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57983         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57984         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57985         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57986         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57987         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57988         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57990         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57991         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57995         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57996         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57999         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58001         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58002         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58004         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58005         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58006         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58010         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58011         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58013         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58014         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58015         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58017         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58018         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58020         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58021         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58023         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58025 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58027         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58028         (__MALLOC_PMT): Likewise.
58029         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58030         [__GNUC__], only on [_LIBC].
58031         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58032         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58033         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58034         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58035         forward declaration.
58036         (realloc_hook_ini): Likewise.
58037         (memalign_hook_ini): Likewise.
58038         (__libc_memalign): Do not use __MALLOC_PMT in variable
58039         declaration.
58040         (__libc_valloc): Likewise.
58041         (__libc_pvalloc): Likewise.
58042         (__libc_calloc): Likewise.
58043         (__posix_memalign): Likewise.
58045         [BZ #14996]
58046         * math/s_casinh.c: Include <float.h>.
58047         (__casinh): Do not do computation with squaring and square root
58048         for large arguments.
58049         * math/s_casinhf.c: Include <float.h>.
58050         (__casinhf): Do not do computation with squaring and square root
58051         for large arguments.
58052         * math/s_casinhl.c: Include <float.h>.
58053         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58054         (__casinhl): Do not do computation with squaring and square root
58055         for large arguments.
58056         * math/libm-test.inc (casin_test): Add more tests.
58057         (casinh_test): Likewise.
58058         * sysdeps/i386/fpu/libm-test-ulps: Update.
58059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58061 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58063         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58064         (__x86_64_raw_data_cache_size): Likewise.
58065         (__x86_64_data_cache_size_half): Likewise.
58066         (__x86_64_raw_data_cache_size_half): Likewise.
58067         (__x86_64_shared_cache_size): Likewise.
58068         (__x86_64_raw_shared_cache_size): Likewise.
58069         (__x86_64_shared_cache_size_half): Likewise.
58070         (__x86_64_raw_shared_cache_size_half): Likewise.
58071         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58072         to ...
58073         (__x86_data_cache_size): This.
58074         (__x86_64_raw_data_cache_size): Renamed to ...
58075         (__x86_raw_data_cache_size): This.
58076         (__x86_64_data_cache_size_half): Renamed to ...
58077         (__x86_data_cache_size_half): This.
58078         (__x86_64_raw_data_cache_size_half): Renamed to ...
58079         (__x86_raw_data_cache_size_half): This.
58080         (__x86_64_shared_cache_size): Renamed to ...
58081         (__x86_shared_cache_size): This.
58082         (__x86_64_raw_shared_cache_size): Renamed to ...
58083         (__x86_raw_shared_cache_size): This.
58084         (__x86_64_shared_cache_size_half): Renamed to ...
58085         (__x86_shared_cache_size_half): This.
58086         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58087         (__x86_raw_shared_cache_size_half): This.
58088         * sysdeps/x86_64/memcpy.S: Updated.
58089         * sysdeps/x86_64/memset.S: Likewise.
58090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58094 2013-01-04  David S. Miller  <davem@davemloft.net>
58096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58098 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58100         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58101         1 to avoid redefinition warning.
58102         (__USE_GNU): Don't define.
58103         (init_signaling_nan): Protoize.
58105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58107 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58109         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58111         (__cpymn): Likewise.
58112         (norm): Remove commented code.
58113         (denorm): Likewise.
58114         (__mp_dbl): Likewise.
58115         (__inv): Likewise.
58116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58117         (__cpymn): Likewise.
58118         (norm): Remove commented code.
58119         (denorm): Likewise.
58120         (__mp_dbl): Likewise.
58121         (__inv): Likewise.
58123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58124         mp_no value for 1.0 and 2.0.
58125         (norm): Use RADIXI instead of radixi.d.
58126         (denorm): Likewise.
58127         (__mul): Use 0.0 instead of zero.d.
58128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58129         mp_no value for 1.0 and 2.0.
58130         (norm): Use RADIXI instead of radixi.d.
58131         (denorm): Likewise.
58132         (__mul): Use 0.0 instead of zero.d.
58134 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58136         [BZ #14994]
58137         * math/s_casinh.c (__casinh): Reduce finite argument to first
58138         quadrant then set signs of results at the end.
58139         * math/s_casinhf.c (__casinhf): Likewise.
58140         * math/s_casinhl.c (__casinhl): Likewise.
58141         * math/libm-test.inc (casin_test): Add more tests.
58142         (casinh_test): Likewise.
58143         * sysdeps/i386/fpu/libm-test-ulps: Update.
58144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58146 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58148         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58150         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58152         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58153         declarations.
58154         (denorm): Likewise.
58155         (__mp_dbl): Likewise.
58156         (__inv): Likewise.
58158         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58159         and adjust the header comment.
58161         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58162         variable name from declaration.
58164 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58167         Initialize COMMON_CPUID_INDEX_7 element.
58168         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58169         (CPUID_RTM): Likewise.
58170         (HAS_RTM): Likewise.
58171         (COMMON_CPUID_INDEX_7): New enum.
58173 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58175         [BZ #14981]
58176         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58177         size is zero, record memory as freed.
58179 2013-01-03  Andreas Jaeger  <aj@suse.de>
58181         * po/ia.po: Add new Interlingua translation.
58183 2012-01-03  Allan McRae  <allan@archlinux.org>
58185         * locale/programs/localedef.c: Fix description of '--posix' flag.
58187 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58189         * NEWS: Update dates in second copyright notice.
58190         * README: Update copyright dates in example.
58191         * manual/libc.texinfo: Update copyright dates.
58192         * scripts/test-installation.pl: Update copyright date in --version
58193         output.
58195         * hurd/ctty-input.c: Fix copyright notice formatting.
58196         * hurd/ctty-output.c: Likewise.
58197         * hurd/dtable.c: Likewise.
58198         * hurd/hurd-raise.c: Likewise.
58199         * hurd/hurdprio.c: Likewise.
58200         * hurd/msgportdemux.c: Likewise.
58201         * misc/sys/file.h: Likewise.
58202         * misc/sys/ioctl.h: Likewise.
58203         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58204         * sysdeps/mach/hurd/chdir.c: Likewise.
58205         * sysdeps/mach/hurd/fchdir.c: Likewise.
58206         * sysdeps/mach/hurd/rename.c: Likewise.
58207         * sysdeps/mach/hurd/rmdir.c: Likewise.
58208         * sysdeps/mach/hurd/seekdir.c: Likewise.
58209         * sysdeps/mach/hurd/setsid.c: Likewise.
58210         * sysdeps/posix/wait3.c: Likewise.
58212         * All files with FSF copyright notices: Update copyright dates
58213         using scripts/update-copyrights.
58214         * intl/plural.c: Regenerated.
58215         * locale/programs/charmap-kw.h: Likewise.
58216         * locale/programs/locfile-kw.h: Likewise.
58218 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58220         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58221         four values.
58223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58224         calculation loop and add branch prediction.
58226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58227         check access beyond bounds of m1np.
58229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58230         MPTWO.
58231         (__inv): Remove local variable MPTWO to use the global
58232         constant.
58233         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58234         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58235         variable MPTWO.
58236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58237         MP3HALFS static const.
58239 2013-01-01  David S. Miller  <davem@davemloft.net>
58241         * po/ca.po: Update from translation team.
58243 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58245         * scripts/update-copyrights: New file.
58246         * Makeconfig: Reformat copyright notice.
58247         * ctype/ctype.h: Likewise.
58248         * debug/swprintf_chk.c: Likewise.
58249         * elf/dl-cache.c: Likewise.
58250         * elf/dl-debug.c: Likewise.
58251         * elf/dl-object.c: Likewise.
58252         * grp/initgroups.c: Likewise.
58253         * hurd/Makefile: Likewise.
58254         * hurd/hurd/signal.h: Likewise.
58255         * hurd/hurdfault.c: Likewise.
58256         * hurd/hurdioctl.c: Likewise.
58257         * hurd/hurdlookup.c: Likewise.
58258         * hurd/intr-msg.c: Likewise.
58259         * iconv/gconv_open.c: Likewise.
58260         * libio/swprintf.c: Likewise.
58261         * locale/lc-ctype.c: Likewise.
58262         * locale/nl_langinfo.c: Likewise.
58263         * mach/Machrules: Likewise.
58264         * mach/Makefile: Likewise.
58265         * malloc/obstack.h: Likewise.
58266         * manual/Makefile: Likewise.
58267         * manual/tsort.awk: Likewise.
58268         * misc/bits/stab.def: Likewise.
58269         * nis/nis_print_group_entry.c: Likewise.
58270         * nis/nis_table.c: Likewise.
58271         * nis/nss_compat/compat-pwd.c: Likewise.
58272         * nis/nss_compat/compat-spwd.c: Likewise.
58273         * po/Makefile: Likewise.
58274         * posix/fnmatch.c: Likewise.
58275         * posix/regex.h: Likewise.
58276         * resolv/Makefile: Likewise.
58277         * resolv/nss_dns/dns-network.c: Likewise.
58278         * resolv/res_hconf.c: Likewise.
58279         * scripts/gen-sorted.awk: Likewise.
58280         * soft-fp/soft-fp.h: Likewise.
58281         * stdio-common/printf.h: Likewise.
58282         * stdlib/monetary.h: Likewise.
58283         * stdlib/random.c: Likewise.
58284         * stdlib/random_r.c: Likewise.
58285         * sysdeps/generic/Makefile: Likewise.
58286         * sysdeps/gnu/Makefile: Likewise.
58287         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58293         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58294         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58297         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58298         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58299         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58300         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58301         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58303         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58305         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58307         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58308         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58309         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58310         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58311         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58312         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58313         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58314         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58315         * sysdeps/mach/hurd/errnos.awk: Likewise.
58316         * sysdeps/mach/hurd/fork.c: Likewise.
58317         * sysdeps/mach/hurd/getcwd.c: Likewise.
58318         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58319         * sysdeps/mach/hurd/mmap.c: Likewise.
58320         * sysdeps/mach/hurd/utimes.c: Likewise.
58321         * sysdeps/mach/hurd/xmknod.c: Likewise.
58322         * sysdeps/posix/profil.c: Likewise.
58323         * sysdeps/posix/readdir_r.c: Likewise.
58324         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58325         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58326         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58327         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58329         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58330         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58333         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58334         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58335         * sysdeps/pthread/lio_listio.c: Likewise.
58336         * sysdeps/sparc/dl-procinfo.h: Likewise.
58337         * sysdeps/unix/i386/sysdep.S: Likewise.
58338         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58339         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58340         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58341         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58343         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58344         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58345         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58346         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58347         * sysdeps/wordsize-32/divdi3.c: Likewise.
58348         * time/sys/time.h: Likewise.
58349         * wcsmbs/Makefile: Likewise.
58351 2013-01-01  David S. Miller  <davem@davemloft.net>
58353         * po/fr.po: Update from translation team.
58355         * catgets/gencat.c: Update copyright year.
58356         * csu/version.c: Likewise.
58357         * debug/catchsegv.sh: Likewise.
58358         * debug/pcprofiledump.c: Likewise.
58359         * debug/xtrace.sh: Likewise.
58360         * elf/ldconfig.c: Likewise.
58361         * elf/ldd.bash.in: Likewise.
58362         * elf/pldd.c: Likewise.
58363         * elf/sotruss.ksh: Likewise.
58364         * elf/sprof.c: Likewise.
58365         * iconv/iconv_prog.c: Likewise.
58366         * iconv/iconvconfig.c: Likewise.
58367         * locale/programs/locale.c: Likewise.
58368         * locale/programs/localedef.c: Likewise.
58369         * login/programs/pt_chown.c: Likewise.
58370         * malloc/memusage.sh: Likewise.
58371         * malloc/memusagestat.c: Likewise.
58372         * malloc/mtrace.pl: Likewise.
58373         * nscd/nscd.c: Likewise.
58374         * nss/getent.c: Likewise.
58375         * nss/makedb.c: Likewise.
58376         * posix/getconf.c: Likewise.
58378 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58380         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58381         numbers.
58383 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58385         * math/bits/mathcalls.h (modf): Use __nonnull.
58387 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58389         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58390         (split): Use macro CN instead of the bare value.
58391         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58392         could be used.
58393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58394         instead of the bare value.
58395         (power1): Likewise.
58397 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58400         __ATAN_TWOM.
58401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58403         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58404         their values.
58405         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58406         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58407         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58408         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58410 2012-12-28  Andreas Jaeger  <aj@suse.de>
58412         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58413         values are from Linux 3.7.
58415         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58416         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58418 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58420         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58421         TRUE case.
58423         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58424         (norm): Likewise.
58425         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58426         variables with preprocessor constants.
58427         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58428         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58429         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58431 2012-12-27  Bruno Haible  <bruno@clisp.org>
58433         [BZ #14317]
58434         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58435         only if needed.
58437 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58440         and use variable directly.
58441         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58443         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58444         MPONE.
58445         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58447         variable MPONE.
58448         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58450         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58451         include directive.  Remove local variable MPONE.
58452         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58456 2012-12-25  David S. Miller  <davem@davemloft.net>
58458         * version.h (RELEASE): Set to "development".
58459         (VERSION): Set to "2.17.90".
58460         * NEWS: Add 2.18 section.
58462 2012-12-21  David S. Miller  <davem@davemloft.net>
58464         * po/hr.po: Update from translation team.
58466 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58468         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58470 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58472         * NEWS:  Mention new memcpy for MIPS.
58474 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58476         * manual/contrib.texi (Contributors): Spelling correction.
58478 2012-12-15  David S. Miller  <davem@davemloft.net>
58480         * po/ru.po: Update from translation team.
58482 2012-12-13  David S. Miller  <davem@davemloft.net>
58484         * NEWS: Mention IFUNC testsuite enhancements.
58486         * po/pl.po: Update from translation team.
58487         * po/bg.po: Likewise.
58489         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58490         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58492 2012-12-11  David S. Miller  <davem@davemloft.net>
58494         * po/sv.po: Update from translation team.
58496         * po/vi.po: Update from translation team.
58498         * po/cs.po: Update from translation team.
58500         * po/de.po: Update from translation team.
58501         * po/eo.po: Likewise.
58502         * po/nl.po: Likewise.
58504 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58506         [BZ #14246]
58507         * manual/argp.texi (Argp Helper Functions): Move node to follow
58508         Argp Parsing State.
58510         [BZ #14872]
58511         * manual/conf.texi (Limits on File System Capacity): Mention if
58512         terminating null is included in the max size.
58514 2012-12-10  Andreas Jaeger  <aj@suse.de>
58516         * po/cs.po: Update from translation team.
58518 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58520         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58521         void pointer and cast to uintptr_t.
58522         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58523         path.
58524         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58525         * sysdeps/s390/s390-64/memset.S: Likewise.
58527 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58529         [BZ #14833]
58530         * menual/message.texi (Message Translation): Fix typos.
58531         (Helper programs for gettext): Likewise.
58533 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58535         [BZ #14898]
58536         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58537         Change to -1.
58539 2012-12-07  David S. Miller  <davem@davemloft.net>
58541         * po/libc.pot: Update.
58543 2012-12-07  Richard Henderson  <rth@redhat.com>
58545         [BZ #10114]
58546         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58547         normal/normal case to before the switch.
58548         (_FP_DIV): Likewise.
58550 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58551             Mike Frysinger  <vapier@gentoo.org>
58553         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58554         check for __NR_fadvise64_64.
58556 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58558         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58559         0, not just to plain "0" as a statement.
58560         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58561         with cw.
58563 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58565         * NEWS: Use sourceware.org in Bugzilla URL.
58567 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58570         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58572         * stdio-common/tst-put-error.c (do_test): Add newline to the
58573         padded test to ensure flush.
58575 2012-12-05  Jeff Law  <law@redhat.com>
58577         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58579 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58581         * README: Don't refer to ports add-on as distributed separately.
58582         Mention AArch64 in list of systems supported in the ports add-on.
58584         * LICENSES: Add more non-FSF copyright and license notices.
58586         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58587         ((unused)).
58589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58591         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58592         10000 as width of padded output.
58594 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58596         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58598         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58599         variable LX with __attribute__ ((unused)).
58600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58601         Likewise.
58602         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58605         with __attribute__ ((unused)).
58607 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58609         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58611 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58613         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58614         (CFLAGS-nldbl-acos.c): New variable.
58615         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58616         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58617         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58618         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58619         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58620         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58621         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58622         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58623         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58624         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58625         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58626         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58627         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58628         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58629         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58630         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58631         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58632         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58633         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58634         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58635         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58636         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58637         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58638         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58639         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58640         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58641         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58642         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58643         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58644         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58645         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58646         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58647         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58648         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58649         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58650         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58651         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58652         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58653         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58654         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58655         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58656         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58657         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58658         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58659         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58660         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58661         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58662         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58663         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58664         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58665         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58666         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58667         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58668         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58669         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58670         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58671         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58672         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58673         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58674         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58675         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58676         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58677         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58678         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58679         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58680         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58681         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58682         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58683         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58684         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58685         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58686         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58687         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58688         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58689         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58690         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58691         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58692         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58693         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58694         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58695         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58696         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58697         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58698         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58699         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58700         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58701         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58702         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58703         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58704         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58705         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58706         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58707         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58708         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58709         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58710         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58711         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58714         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58716         [BZ #14914]
58717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58718         whole low double instead of just low 47 bits when splitting values
58719         into two parts.
58721 2012-12-03  Allan McRae  <allan@archlinux.org>
58723         * manual/stdio.texi (Predefined Printf Handlers): Remove
58724         @hsep and @vsep usage.
58726 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58728         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58729         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58731 2012-12-03  Jeff Law  <law@redhat.com>
58733         * time/sys/time.h (settimeofday): Do not mark TV argument
58734         as __nonnull.
58736 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58738         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58739         when currently writing and seek to current position when not.
58740         * libio/Makefile (tests): Remove bug-fclose1.
58741         * libio/bug-fclose1.c: Delete.
58743 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58745         * manual/arith.texi (feenableexcept): Fix typo.
58746         (fedisableexcept): Likewise.
58748 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58750         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58751         second, differently-typed declaration, rather than a cast.
58753 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58755         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58756         * include/rpc/svc.h: ... here.
58758 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58760         [BZ #13013]
58761         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58762         depending n and resplen2 to catch cases where answer
58763         equals answerp2.
58765 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58767         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58768         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58770 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58774 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58776         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58778 2012-11-28  Jeff Law  <law@redhat.com>
58780         [BZ #13761]
58781         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58782         dataset_temporary.  Track alloca usage into alloca_used.
58783         If dataset is large allocate and release it via malloc/free.
58785 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58787         [BZ #14197]
58788         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58790 2012-11-28  David S. Miller  <davem@davemloft.net>
58792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58794 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58796         [BZ #14803]
58797         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58798         of pi/2 rounded to nearest to 64 bits.
58799         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58800         nearest to 64 bits.
58801         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58802         bits.
58804 2012-11-28  Jeff Law <law@redhat.com>
58805             Martin Osvald <mosvald@redhat.com>
58807         [BZ #14889]
58808         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58809         * sunrpc/svc.c: Include time.h.
58810         (__svc_accept_failed): New function.
58811         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58812         any reason other than EINTR, call __svc_accept_failed.
58813         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58814         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58816 2012-11-28  Andreas Schwab  <schwab@suse.de>
58818         * scripts/abilist.awk: Also handle indirect functions in .opd
58819         section.
58821 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58823         [BZ #13881]
58824         * sysdeps/x86/fpu/powl_helper.c: New file.
58825         * sysdeps/x86/fpu/Makefile: Likewise.
58826         * sysdeps/i386/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         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58831         (p3): New object.
58832         (__ieee754_powl): Use __powl_helper for finite arguments except
58833         integer exponents below 8.
58834         * math/libm-test.inc (pow_test): Add more tests and enable some
58835         previously disabled tests.
58836         * sysdeps/i386/fpu/libm-test-ulps: Update.
58837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58839 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58840             Carlos O'Donell  <carlos_odonell@mentor.com>
58842         * nss/makedb.c (is_prime): Assert that input is odd and greater
58843         than 4.  Note that fact in a comment too.
58844         (next_prime): Add 4 to input.
58846 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58848         [BZ #11741]
58849         * libio/Makefile (tests): Add test case tst-fwrite-error.
58850         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58851         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58852         * libio/tst-fwrite-error.c: New test case.
58854 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58856         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58857         before casting to void *.
58858         * include/libc-internal.h (__pointer_type): New macro.
58859         (__integer_if_pointer_type_sub): Likewise.
58860         (__integer_if_pointer_type): Likewise.
58861         (cast_to_integer): Likewise.
58862         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58863         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58864         before casting to atomic64_t.
58865         (atomic_exchange_acq): Likewise.
58866         (__arch_exchange_and_add_body): Likewise.
58867         (__arch_add_body): Likewise.
58868         (atomic_add_negative): Likewise.
58869         (atomic_add_zero): Likewise.
58871 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58873         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58874         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58875         (add_fdes): Likewise.
58876         (linear_search_fdes): Likewise.
58877         (binary_search_unencoded_fdes): Likewise.
58879 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58881         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58883 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58885         * configure.in: Autodetect C++ header directories.
58886         * configure: Regenerated.
58888 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58890         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58892 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58896 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58898         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58899         LDBL_MANT_DIG == 106]: Disable some tests.
58900         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58901         Likewise.
58902         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58903         Likewise.
58905         [BZ #14871]
58906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58907         input for small inputs.  Return +/- pi/2 for large inputs.
58908         * math/libm-test.inc (atan_test): Add more tests.
58910         * sysdeps/generic/unwind-dw2-fde-glibc.c
58911         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58912         __attribute__ ((unused)).
58914         [BZ #14645]
58915         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58916         x * y if x and y are nonzero and z is zero.
58918         [BZ #14811]
58919         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58920         nonzero exponents with absolute value below 0x1p-117 to +/-
58921         0x1p-117.
58923         [BZ #14869]
58924         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58925         up arguments below 2**-450, not just those below 2**-500.
58926         * math/libm-test.inc (hypot_test): Add another test.
58928         [BZ #14868]
58929         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58930         Return a+b for ratio over 2**120, not 2**60.
58931         * math/libm-test.inc (hypot_test): Add another test.
58933         * math/libm-test.inc (clog_test): Use
58934         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58935         (clog10_test): Likewise.
58937         [BZ #6778]
58938         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58940 2012-11-22  Andreas Schwab  <schwab@suse.de>
58942         * sysdeps/i386/fpu/libm-test-ulps: Update.
58944 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58946         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58947         printf output with newline.
58949 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58951         [BZ #14865]
58952         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58953         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58954         -z nodlopen, -z initfirst and -z execstack support.
58955         * configure: Regenerated.
58957         * elf/elf.h (DF_1_NODIRECT): New macro.
58958         (DF_1_IGNMULDEF): Likewise.
58959         (DF_1_NOKSYMS): Likewise.
58960         (DF_1_NOHDR): Likewise.
58961         (DF_1_EDITED): Likewise.
58962         (DF_1_NORELOC): Likewise.
58963         (DF_1_SYMINTPOSE): Likewise.
58964         (DF_1_GLOBAUDIT): Likewise.
58965         (DF_1_SINGLETON): Likewise.
58966         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58967         DT_1_SUPPORTED_MASK bits.
58968         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58970 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58972         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58974 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58976         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58977         macro.
58979         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58980         (sendmmsg): Move declarations...
58981         * socket/sys/socket.h: ... here.
58982         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58983         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58984         include it from...
58985         * socket/recvmmsg.c: ... this new file.
58986         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58987         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58988         definition of __sendmmsg hidden.
58989         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58990         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58991         Move ENOSYS stub into and include it from...
58992         * socket/sendmmsg.c: ... this new file.
58993         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58994         (sysdep_routines): Move recvmmsg and sendmmsg...
58995         * socket/Makefile (routines): ... here.
58996         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58997         (GLIBC_PRIVATE): Add __sendmmsg.
58998         * include/sys/socket.h (__sendmmsg): Add declarations.
58999         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59000         sendmmsg.
59002 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59005         variable I1 with __attribute__ ((unused)).
59006         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59008 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59010         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59011         DUMMY variables with __attribute__ ((unused)).
59013         * bits/byteswap.h: Include <bits/types.h>.
59014         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59016 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59018         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59019         string_t.  Do not manually set errno.
59020         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59021         length with __strnlen.  Make sure to both set errno and return it on
59022         failure.
59024 2012-11-19  David S. Miller  <davem@davemloft.net>
59026         With help from Joseph Myers.
59027         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59028         very large arguments properly.
59029         * math/libm-test.inc (atan_test): New tests.
59030         (atan2_test): New tests.
59031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59034 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59036         [BZ #14856]
59037         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59038         Define to 3.
59040         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59041         [POSIX] (EADDRNOTAVAIL): Likewise.
59042         [POSIX] (EAFNOSUPPORT): Likewise.
59043         [POSIX] (EALREADY): Likewise.
59044         [POSIX] (ECONNABORTED): Likewise.
59045         [POSIX] (ECONNREFUSED): Likewise.
59046         [POSIX] (ECONNRESET): Likewise.
59047         [POSIX] (EDESTADDRREQ): Likewise.
59048         [POSIX] (EDQUOT): Likewise.
59049         [POSIX] (EHOSTUNREACH): Likewise.
59050         [POSIX] (EIDRM): Likewise.
59051         [POSIX] (EISCONN): Likewise.
59052         [POSIX] (ELOOP): Likewise.
59053         [POSIX] (EMULTIHOP): Likewise.
59054         [POSIX] (ENETDOWN): Likewise.
59055         [POSIX] (ENETUNREACH): Likewise.
59056         [POSIX] (ENOBUFS): Likewise.
59057         [POSIX] (ENODATA): Likewise.
59058         [POSIX] (ENOLINK): Likewise.
59059         [POSIX] (ENOMSG): Likewise.
59060         [POSIX] (ENOPROTOOPT): Likewise.
59061         [POSIX] (ENOSR): Likewise.
59062         [POSIX] (ENOSTR): Likewise.
59063         [POSIX] (ENOTCONN): Likewise.
59064         [POSIX] (ENOTSOCK): Likewise.
59065         [POSIX] (EOPNOTSUPP): Likewise.
59066         [POSIX] (EOVERFLOW): Likewise.
59067         [POSIX] (EPROTO): Likewise.
59068         [POSIX] (EPROTONOSUPPORT): Likewise.
59069         [POSIX] (EPROTOTYPE): Likewise.
59070         [POSIX] (ESTALE): Likewise.
59071         [POSIX] (ETIME): Likewise.
59072         [POSIX] (ETXTBSY): Likewise.
59073         [POSIX] (EWOULDBLOCK): Likewise.
59074         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59075         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59076         [POSIX] (SEEK_CUR): Likewise.
59077         [POSIX] (SEEK_END): Likewise.
59078         [POSIX || UNIX98] (mode_t): Do not require.
59079         [POSIX] (off_t): Likewise.
59080         [POSIX] (pid_t): Likewise.
59081         [POSIX] (sys/stat.h): Do not allow header.
59082         [POSIX] (unistd.h): Likewise.
59083         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59084         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59085         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59086         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59087         require.
59088         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59089         sigevent): Specify elements.
59090         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59091         entry.
59092         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59093         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59095         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59096         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59097         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59098         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59099         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59100         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59101         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59102         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59103         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59104         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59105         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59106         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59107         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59109         Likewise.
59110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59111         Likewise.
59112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59113         Likewise.
59114         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59115         Likewise.
59116         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59118         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59119         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59120         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59121         Specify lower bound on value.
59122         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59123         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59124         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59125         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59126         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59127         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59128         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59129         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59130         value.
59131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59132         as optional.
59133         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59134         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59135         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59136         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59137         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59138         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59139         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59140         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59141         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59142         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59143         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59144         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59145         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59146         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59147         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59148         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59149         entry.
59150         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59151         optional.
59152         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59153         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59154         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59155         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59156         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59158         Likewise.
59159         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59160         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59161         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59162         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59163         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59164         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59166         as optional.
59167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59168         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59169         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59170         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59171         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59172         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59173         specify as optional.
59174         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59175         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59176         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59177         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59178         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59179         [XPG3] (NL_LANGMAX): Likewise.
59180         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59181         [POSIX || XPG3] (NL_NMAX): Likewise.
59182         [POSIX || XPG3] (NL_SETMAX): Likewise.
59183         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59184         [XPG3] (NZERO): Likewise.
59185         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59186         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59187         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59188         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59189         (REG_ERANGE): Expect.
59190         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59191         optional-constant.
59192         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59193         Use (void) in prototype.
59194         [POSIX] (*_t): Allow.
59195         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59196         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59197         (WRDE_BADVAL): Expect.
59199         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59200         expect.
59201         [XPG3 || XPG4] (O_RSYNC): Likewise.
59202         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59203         Likewise.
59204         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59205         [XPG3 || XPG4] (sigqueue): Likewise.
59206         [XPG3 || XPG4] (sigtimedwait): Likewise.
59207         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59208         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59209         [XPG3 || XPG4] (vsnprintf): Likewise.
59210         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59211         Likewise.
59212         [XPG3 || XPG4] (blksize_t): Likewise.
59213         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59214         Likewise.
59215         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59216         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59217         [XPG3 || XPG4] (struct itimerspec): Likewise.
59218         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59219         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59220         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59221         [XPG3 || XPG4] (clockid_t): Likewise.
59222         [XPG3 || XPG4] (timer_t): Likewise.
59223         [XPG3 || XPG4] (clock_getres): Likewise.
59224         [XPG3 || XPG4] (clock_gettime): Likewise.
59225         [XPG3 || XPG4] (clock_settime): Likewise.
59226         [XPG3 || XPG4] (nanosleep): Likewise.
59227         [XPG3 || XPG4] (timer_create): Likewise.
59228         [XPG3 || XPG4] (timer_delete): Likewise.
59229         [XPG3 || XPG4] (timer_gettime): Likewise.
59230         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59231         [XPG3 || XPG4] (timer_settime): Likewise.
59232         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59233         [XPG3 || XPG4] (getlogin_r): Likewise.
59234         [XPG3 || XPG4] (pread): Likewise.
59235         [XPG3 || XPG4] (pthread_atfork): Likewise.
59236         [XPG3 || XPG4] (pwrite): Likewise.
59238         [BZ #14835]
59239         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59240         <bits/siginfo.h>.
59242 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59244         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59245         finalizing MALLSTREAM.
59247         * sysdeps/mach/hurd/syncfs.c: New file.
59249 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59251         [BZ #14719]
59252         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59253         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59255         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59256         (_nss_dns_gethostbyname4_r): Likewise.
59257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59258         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59260 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59262         [BZ #13763]
59263         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59265 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59267         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59268         * elf/cache.c (print_entry): Print ",AArch64" for
59269         FLAG_AARCH64_LIB64
59271         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59272         * elf/cache.c (print_entry): Print ",hard-float" for
59273         FLAG_ARM_LIBHF.
59275 2012-11-18  David S. Miller  <davem@davemloft.net>
59277         With help from Joseph Myers.
59278         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59279         cutoff to 2**-13.
59280         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59281         cutoff to 2**-25.
59282         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59283         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59284         small.
59285         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59286         * math/libm-test.inc (y0_test): New tests.
59287         (y1_test): New tests.
59288         * sysdeps/i386/fpu/libm-test-ulps: Update.
59289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59292 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59294         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59295         64-bit targets.
59296         * configure: Regenerated.
59298 2012-11-17  David S. Miller  <davem@davemloft.net>
59300         [BZ #14811]
59301         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59302         nonzero exponents with absolute value below 0x1p-128 to +/-
59303         0x1p-128.
59305 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59307         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59309         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59311         * posix/getconf-speclist.c: New file.
59312         * posix/posix-envs.def: Likewise.
59313         * posix/confstr.c (START_ENV_GROUP): New macro.
59314         (END_ENV_GROUP): Likewise.
59315         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59316         (KNOWN_PRESENT_ENV_STRING): Likewise.
59317         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59318         (UNKNOWN_ENVIRONMENT): Likewise.
59319         (confstr): Include posix-envs.def instead of handling
59320         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59321         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59322         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59323         (END_ENV_GROUP): Likewise.
59324         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59325         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59326         (UNKNOWN_ENVIRONMENT): Likewise.
59327         (__sysconf): Include posix-envs.def instead of handling associated
59328         cases directly here.
59329         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59330         preprocessing getconf-speclist.c rather than running getconf or
59331         generating empty file.
59333 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59335         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59337 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59339         [BZ #14672]
59340         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59342 2012-11-16  David S. Miller  <davem@davemloft.net>
59344         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59345         smaller than LDBL_EPSILON/2.0L, just return xm1.
59347 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59349         * elf/tst-array1.c (init): Set constructor priority to 1000.
59350         (fini): Set destructor priority to 1000.
59351         * elf/tst-array2dep.c: Likewise.
59353 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59355         [BZ #11741]
59356         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59357         (_IO_new_file_xsputn): Also return EOF if none of the input
59358         data was written when overflow failed.
59359         * libio/iopadn.c (_IO_padn): Likewise.
59360         * libio/iowpadn.c (_IO_wpadn): Likewise.
59361         * stdio-common/tst-put-error.c: Add copyright notice.
59362         (do_test): Add case for printing padded string.
59363         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59364         _IO_padn returned error.
59365         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59366         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59367         return EOF.
59369 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59371         * libio/libioP.h: Add comment note that the references to C++
59372         bits are now obsolete.
59374 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59376         * math/libm-test.inc (check_complex): Use asprintf.
59378 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59380         * debug/pcprofiledump.c (print_version): Update copyright year.
59381         * malloc/memusagestat.c (print_version): Likewise.
59383 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59385         [BZ #14831]
59386         * elf/Makefile (tests): Add tst-audit8.
59387         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59388         ($(objpfx)tst-audit8.out): New target.
59389         (tst-audit8-ENV): New variable.
59390         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59391         audit if l_reloc_result is NULL.
59392         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59393         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59394         * elf/tst-audit8.c: New file.
59396 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59398         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59399         * misc/Makefile (CFLAGS-select.c): Define.
59400         * posix/Makefile (CFLAGS-pause.c): Define.
59402 2012-11-13  David S. Miller  <davem@davemloft.net>
59404         * crypt/Makefile: Move test targets after toplevel Rules
59405         inclusion.  Grab any necessary sysdep routines when linking.
59406         * crypt/md5.c (md5_process_block): Remove define, we will always
59407         name it __md5_process_block.
59408         (md5_finish_ctx): Update md5_process_block call.
59409         (md5_stream): Likewise.
59410         (md5_process_bytes): Likewise.
59411         (md5_process_block): Rename to __md5_process_block and move to ...
59412         * crypt/md5-block.c: ... here.
59413         * crypt/sha256.c (sha256_process_block): Move to ...
59414         * crypt/sha256-block.c: ... here.
59415         * crypt/sha512.c (sha512_process_block): Move to ...
59416         * crypt/sha512-block.c: ... here.
59417         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59418         path.
59419         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59420         * sysdeps/sparc/sparc64/multiarch/Makefile
59421         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59422         crypt subdir.
59423         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59424         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59425         multiarch changes.
59426         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59427         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59428         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59429         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59430         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59431         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59432         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59433         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59435         file.
59436         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59438         file.
59439         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59441 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59443         * timezone/tzselect.ksh: Update from tzcode git revision
59444         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59445         * timezone/zdump.c: Likewise.
59446         * timezone/zic.c: Likewise.
59447         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59448         in TZVERSION setting, not $(PKGVERSION).
59449         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59450         REPORT_BUGS_TO settings.
59452         [BZ #14838]
59453         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59454         macro.
59456 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59458         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59459         detection to immediately after _FP_ROUND().
59460         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59461         bits are 0.
59463 2012-11-11  David S. Miller  <davem@davemloft.net>
59465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59466         inttypes.h
59467         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59468         __close rather than their public counterparts.
59470 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59472         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59473         file.
59474         [UNIX98] (sem_timedwait): Do not expect.
59475         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59476         [XPG4 || UNIX98] (sockatmark): Do not expect.
59477         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59478         (clock_getcpuclockid): Do not expect.
59479         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59480         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59481         Do not expect.
59482         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59483         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59484         [UNIX98] (vwscanf): Likewise.
59485         [UNIX98] (vswscanf): Likewise.
59487 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59489         * timezone/version.h: Remove file.
59490         * timezone/README: Do not refer to version.h.
59491         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59492         $(objpfx)version.h.
59493         ($(objpfx)zdump.o): Likewise.
59494         ($(objpfx)version.h): New target.
59496         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59497         2012i.
59498         * timezone/README: Don't mention modification to tzselect.ksh.
59499         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59500         work on unmodified tzselect.ksh.  Substitute version numbers in
59501         tzselect.ksh.
59503         * Makefile (format-me): Remove.
59504         (INSTALL): Adjust indentation.  Use commands directly instead of
59505         using $(format-me).
59507         * aclocal.m4 (ACX_PKGVERSION): New macro.
59508         (ACX_BUGURL): Likewise.
59509         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59510         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59511         (REPORT_BUGS_TO): Likewise.
59512         * configure: Regenerated.
59513         * config.h.in (PKGVERSION): New macro.
59514         (REPORT_BUGS_TO): Likewise.
59515         * config.make.in (PKGVERSION): New variable.
59516         (PKGVERSION_TEXI): Likewise.
59517         (REPORT_BUGS_TO): Likewise.
59518         (REPORT_BUGS_TEXI): Likewise.
59519         * Makefile (format-me): Use -I$(common-objpfx)manual.
59520         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59521         ($(common-objpfx)manual/%): New target.
59522         (manual/%): Remove target.
59523         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59524         (print_version): Use PKGVERSION.
59525         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59526         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59527         and REPORT_BUGS_TO.
59528         ($(objpfx)xtrace): Likewise.
59529         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59530         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59531         (print_version): Use PKGVERSION.
59532         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59533         (do_version): Use PKGVERSION.
59534         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59535         REPORT_BUGS_TO.
59536         (common-ldd-rewrite): Likewise.
59537         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59538         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59539         (print_version): Use PKGVERSION.
59540         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59541         * elf/pldd.c (argp_program_bug_address): Remove variable.
59542         (more_help): New function.
59543         (argp): Use more_help.
59544         (print_version): Use PKGVERSION.
59545         * elf/sln.c (main): Use PKGVERSION.
59546         (usage): Use REPORT_BUGS_TO.
59547         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59548         (top level): Use PKGVERSION.
59549         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59550         (print_version): Use PKGVERSION.
59551         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59552         (print_version): Use PKGVERSION.
59553         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59554         (print_version): Use PKGVERSION.
59555         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59556         (print_version): Use PKGVERSION.
59557         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59558         (print_version): Use PKGVERSION.
59559         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59560         (print_version): Use PKGVERSION.
59561         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59562         and BUGURL.
59563         ($(objpfx)memusage): Likewise.
59564         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59565         (do_version): Use PKGVERSION.
59566         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59567         (print_version): Use PKGVERSION.
59568         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59569         ($PKGVERSION): New variable.
59570         ($REPORT_BUGS_TO): Likewise.
59571         (usage): Use $REPORT_BUGS_TO.
59572         (top level): Use $PKGVERSION.
59573         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59574         ($(objpfx)pkgvers.texi): New rule.
59575         ($(objpfx)stamp-pkgvers): Likewise.
59576         * manual/install.texi: Include pkgvers.texi.
59577         (--with-pkgversion): Document new configure option.
59578         (--with-bugurl): Likewise.
59579         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59580         than necessarily for this particular distribution.  Use
59581         REPORT_BUGS_TO for where to report bugs.
59582         * INSTALL: Regenerated.
59583         * manual/libc.texinfo: Include pkgvers.texi.
59584         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59585         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59586         (print_version): Use PKGVERSION.
59587         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59588         (print_version): Use PKGVERSION.
59589         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59590         (print_version): Use PKGVERSION.
59591         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59592         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59593         macro.
59594         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59595         (print_version): Use PKGVERSION.
59596         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59597         (print_version): Use PKGVERSION.
59598         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59599         and PKGVERSION.
59601         * timezone/checktab.awk: Update from tzcode 2012i.
59602         * timezone/ialloc.c: Likewise.
59603         * timezone/private.h: Likewise.
59604         * timezone/scheck.c: Likewise.
59605         * timezone/tzfile.h: Likewise.
59606         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59607         (TZVERSION): Hardcode tzcode version number.
59608         * timezone/zdump.c: Update from tzcode 2012i.
59609         * timezone/zic.c: Likewise.
59610         * timezone/version.h: New file.
59611         * timezone/README: Describe version.h.  Update upstream location.
59613         [BZ #14824]
59614         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59615         (mktemp): Enable declaration.
59616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59620         Likewise.
59621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59622         Likewise.
59623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59624         Likewise.
59625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59626         Likewise.
59627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59628         Likewise.
59629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59630         Likewise.
59632         [BZ #14821]
59633         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59634         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59635         for copies of such integer values.
59636         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59637         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59639 2012-11-09  Andreas Jaeger  <aj@suse.de>
59641         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59642         definitions and declarations that are provided by
59643         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59645 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59647         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59648         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59649         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59650         definition.
59652 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59654         * elf/elf.h: Update comment before AArch64 relocations.
59656 2012-11-07  David S. Miller  <davem@davemloft.net>
59658         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59659         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59660         (__start_context): Declare.
59661         (__makecontext_ret): Delete.
59662         (__makecontext): Hook up __start_context instead of
59663         __makecontext_ret.
59664         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59665         (sysdep_routines): Add __start_context when in stdlib.
59667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59669         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59670         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59671         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59672         hardcoded "nm".
59673         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59674         (READELF): New variable.  Use it instead of hardcoded "readelf".
59676 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59678         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59679         * sysdeps/x86/Makefile: Here.
59680         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59681         * sysdeps/x86/tst-xmmymm.sh: This.
59683 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59685         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59686         expectations.
59687         [UNIX98] (pthread_barrier_t): Do not expect.
59688         [UNIX98] (pthread_barrierattr_t): Likewise.
59689         [UNIX98] (pthread_spinlock_t): Likewise.
59690         [UNIX98] (pthread_barrier_destroy): Likewise.
59691         [UNIX98] (pthread_barrier_init): Likewise.
59692         [UNIX98] (pthread_barrier_wait): Likewise.
59693         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59694         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59695         [UNIX98] (pthread_barrierattr_init): Likewise.
59696         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59697         [UNIX98] (pthread_getcpuclockid): Likewise.
59698         [UNIX98] (pthread_mutex_timedlock): Likewise.
59699         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59700         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59701         [UNIX98] (pthread_sigmask): Likewise.
59702         [UNIX98] (pthread_spin_destroy): Likewise.
59703         [UNIX98] (pthread_spin_init): Likewise.
59704         [UNIX98] (pthread_spin_lock): Likewise.
59705         [UNIX98] (pthread_spin_trylock): Likewise.
59706         [UNIX98] (pthread_spin_unlock): Likewise.
59707         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59708         Do not expect.
59709         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59710         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59711         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59712         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59713         [XPG3 || XPG4] (pthread_key_t): Likewise.
59714         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59715         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59716         [XPG3 || XPG4] (pthread_once_t): Likewise.
59717         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59718         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59719         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59720         [XPG3 || XPG4] (pthread_t): Likewise.
59722         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59723         not expect.
59724         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59726         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59727         Change function return type to int.
59729         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59730         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59731         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59732         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59733         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59734         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59735         [!POSIX] (posix_madvise): Likewise.
59736         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59737         && !UNIX98].
59738         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59739         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59740         (mode_t): Likewise.
59741         (posix_mem_offset): Likewise.
59742         (posix_typed_mem_get_info): Likewise.
59743         (posix_typed_mem_open): Likewise.
59745         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59746         Change condition to [XOPEN2K8].
59748         * conform/conformtest.pl: Preprocess allow-header data with -x c
59749         instead of from stdin.
59750         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59751         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59752         [C99-based standards] (cerfc): Likewise.
59753         [C99-based standards] (cexp2): Likewise.
59754         [C99-based standards] (cexpm1): Likewise.
59755         [C99-based standards] (clog10): Likewise.
59756         [C99-based standards] (clog1p): Likewise.
59757         [C99-based standards] (clog2): Likewise.
59758         [C99-based standards] (clgamma): Likewise.
59759         [C99-based standards] (ctgamma): Likewise.
59760         [C99-based standards] (cerff): Likewise.
59761         [C99-based standards] (cerfcf): Likewise.
59762         [C99-based standards] (cexp2f): Likewise.
59763         [C99-based standards] (cexpm1f): Likewise.
59764         [C99-based standards] (clog10f): Likewise.
59765         [C99-based standards] (clog1pf): Likewise.
59766         [C99-based standards] (clog2f): Likewise.
59767         [C99-based standards] (clgammaf): Likewise.
59768         [C99-based standards] (ctgammaf): Likewise.
59769         [C99-based standards] (cerfl): Likewise.
59770         [C99-based standards] (cerfcl): Likewise.
59771         [C99-based standards] (cexp2l): Likewise.
59772         [C99-based standards] (cexpm1l): Likewise.
59773         [C99-based standards] (clog10l): Likewise.
59774         [C99-based standards] (clog1pl): Likewise.
59775         [C99-based standards] (clog2l): Likewise.
59776         [C99-based standards] (clgammal): Likewise.
59777         [C99-based standards] (ctgammal): Likewise.
59778         * conform/data/inttypes.h-data [C99-based standards]: Include
59779         stdint.h-data.  Remove all expectations for stdint.h contents.
59780         [C99-based standards] (PRI*): Do not allow.
59781         [C99-based standards] (SCN*): Likewise.
59782         [C99-based standards] (*_t): Likewise.
59783         [C99-based-standards] (PRId8): Expect macro.
59784         [C99-based-standards] (PRIi8): Likewise.
59785         [C99-based-standards] (PRIo8): Likewise.
59786         [C99-based-standards] (PRIu8): Likewise.
59787         [C99-based-standards] (PRIx8): Likewise.
59788         [C99-based-standards] (PRIX8): Likewise.
59789         [C99-based-standards] (SCNd8): Likewise.
59790         [C99-based-standards] (SCNi8): Likewise.
59791         [C99-based-standards] (SCNo8): Likewise.
59792         [C99-based-standards] (SCNu8): Likewise.
59793         [C99-based-standards] (SCNx8): Likewise.
59794         [C99-based-standards] (PRIdLEAST8): Likewise.
59795         [C99-based-standards] (PRIiLEAST8): Likewise.
59796         [C99-based-standards] (PRIoLEAST8): Likewise.
59797         [C99-based-standards] (PRIuLEAST8): Likewise.
59798         [C99-based-standards] (PRIxLEAST8): Likewise.
59799         [C99-based-standards] (PRIXLEAST8): Likewise.
59800         [C99-based-standards] (SCNdLEAST8): Likewise.
59801         [C99-based-standards] (SCNiLEAST8): Likewise.
59802         [C99-based-standards] (SCNoLEAST8): Likewise.
59803         [C99-based-standards] (SCNuLEAST8): Likewise.
59804         [C99-based-standards] (SCNxLEAST8): Likewise.
59805         [C99-based-standards] (PRIdFAST8): Likewise.
59806         [C99-based-standards] (PRIiFAST8): Likewise.
59807         [C99-based-standards] (PRIoFAST8): Likewise.
59808         [C99-based-standards] (PRIuFAST8): Likewise.
59809         [C99-based-standards] (PRIxFAST8): Likewise.
59810         [C99-based-standards] (PRIXFAST8): Likewise.
59811         [C99-based-standards] (SCNdFAST8): Likewise.
59812         [C99-based-standards] (SCNiFAST8): Likewise.
59813         [C99-based-standards] (SCNoFAST8): Likewise.
59814         [C99-based-standards] (SCNuFAST8): Likewise.
59815         [C99-based-standards] (SCNxFAST8): Likewise.
59816         [C99-based-standards] (PRId16): Likewise.
59817         [C99-based-standards] (PRIi16): Likewise.
59818         [C99-based-standards] (PRIo16): Likewise.
59819         [C99-based-standards] (PRIu16): Likewise.
59820         [C99-based-standards] (PRIx16): Likewise.
59821         [C99-based-standards] (PRIX16): Likewise.
59822         [C99-based-standards] (SCNd16): Likewise.
59823         [C99-based-standards] (SCNi16): Likewise.
59824         [C99-based-standards] (SCNo16): Likewise.
59825         [C99-based-standards] (SCNu16): Likewise.
59826         [C99-based-standards] (SCNx16): Likewise.
59827         [C99-based-standards] (PRIdLEAST16): Likewise.
59828         [C99-based-standards] (PRIiLEAST16): Likewise.
59829         [C99-based-standards] (PRIoLEAST16): Likewise.
59830         [C99-based-standards] (PRIuLEAST16): Likewise.
59831         [C99-based-standards] (PRIxLEAST16): Likewise.
59832         [C99-based-standards] (PRIXLEAST16): Likewise.
59833         [C99-based-standards] (SCNdLEAST16): Likewise.
59834         [C99-based-standards] (SCNiLEAST16): Likewise.
59835         [C99-based-standards] (SCNoLEAST16): Likewise.
59836         [C99-based-standards] (SCNuLEAST16): Likewise.
59837         [C99-based-standards] (SCNxLEAST16): Likewise.
59838         [C99-based-standards] (PRIdFAST16): Likewise.
59839         [C99-based-standards] (PRIiFAST16): Likewise.
59840         [C99-based-standards] (PRIoFAST16): Likewise.
59841         [C99-based-standards] (PRIuFAST16): Likewise.
59842         [C99-based-standards] (PRIxFAST16): Likewise.
59843         [C99-based-standards] (PRIXFAST16): Likewise.
59844         [C99-based-standards] (SCNdFAST16): Likewise.
59845         [C99-based-standards] (SCNiFAST16): Likewise.
59846         [C99-based-standards] (SCNoFAST16): Likewise.
59847         [C99-based-standards] (SCNuFAST16): Likewise.
59848         [C99-based-standards] (SCNxFAST16): Likewise.
59849         [C99-based-standards] (PRId32): Likewise.
59850         [C99-based-standards] (PRIi32): Likewise.
59851         [C99-based-standards] (PRIo32): Likewise.
59852         [C99-based-standards] (PRIu32): Likewise.
59853         [C99-based-standards] (PRIx32): Likewise.
59854         [C99-based-standards] (PRIX32): Likewise.
59855         [C99-based-standards] (SCNd32): Likewise.
59856         [C99-based-standards] (SCNi32): Likewise.
59857         [C99-based-standards] (SCNo32): Likewise.
59858         [C99-based-standards] (SCNu32): Likewise.
59859         [C99-based-standards] (SCNx32): Likewise.
59860         [C99-based-standards] (PRIdLEAST32): Likewise.
59861         [C99-based-standards] (PRIiLEAST32): Likewise.
59862         [C99-based-standards] (PRIoLEAST32): Likewise.
59863         [C99-based-standards] (PRIuLEAST32): Likewise.
59864         [C99-based-standards] (PRIxLEAST32): Likewise.
59865         [C99-based-standards] (PRIXLEAST32): Likewise.
59866         [C99-based-standards] (SCNdLEAST32): Likewise.
59867         [C99-based-standards] (SCNiLEAST32): Likewise.
59868         [C99-based-standards] (SCNoLEAST32): Likewise.
59869         [C99-based-standards] (SCNuLEAST32): Likewise.
59870         [C99-based-standards] (SCNxLEAST32): Likewise.
59871         [C99-based-standards] (PRIdFAST32): Likewise.
59872         [C99-based-standards] (PRIiFAST32): Likewise.
59873         [C99-based-standards] (PRIoFAST32): Likewise.
59874         [C99-based-standards] (PRIuFAST32): Likewise.
59875         [C99-based-standards] (PRIxFAST32): Likewise.
59876         [C99-based-standards] (PRIXFAST32): Likewise.
59877         [C99-based-standards] (SCNdFAST32): Likewise.
59878         [C99-based-standards] (SCNiFAST32): Likewise.
59879         [C99-based-standards] (SCNoFAST32): Likewise.
59880         [C99-based-standards] (SCNuFAST32): Likewise.
59881         [C99-based-standards] (SCNxFAST32): Likewise.
59882         [C99-based-standards] (PRId64): Likewise.
59883         [C99-based-standards] (PRIi64): Likewise.
59884         [C99-based-standards] (PRIo64): Likewise.
59885         [C99-based-standards] (PRIu64): Likewise.
59886         [C99-based-standards] (PRIx64): Likewise.
59887         [C99-based-standards] (PRIX64): Likewise.
59888         [C99-based-standards] (SCNd64): Likewise.
59889         [C99-based-standards] (SCNi64): Likewise.
59890         [C99-based-standards] (SCNo64): Likewise.
59891         [C99-based-standards] (SCNu64): Likewise.
59892         [C99-based-standards] (SCNx64): Likewise.
59893         [C99-based-standards] (PRIdLEAST64): Likewise.
59894         [C99-based-standards] (PRIiLEAST64): Likewise.
59895         [C99-based-standards] (PRIoLEAST64): Likewise.
59896         [C99-based-standards] (PRIuLEAST64): Likewise.
59897         [C99-based-standards] (PRIxLEAST64): Likewise.
59898         [C99-based-standards] (PRIXLEAST64): Likewise.
59899         [C99-based-standards] (SCNdLEAST64): Likewise.
59900         [C99-based-standards] (SCNiLEAST64): Likewise.
59901         [C99-based-standards] (SCNoLEAST64): Likewise.
59902         [C99-based-standards] (SCNuLEAST64): Likewise.
59903         [C99-based-standards] (SCNxLEAST64): Likewise.
59904         [C99-based-standards] (PRIdFAST64): Likewise.
59905         [C99-based-standards] (PRIiFAST64): Likewise.
59906         [C99-based-standards] (PRIoFAST64): Likewise.
59907         [C99-based-standards] (PRIuFAST64): Likewise.
59908         [C99-based-standards] (PRIxFAST64): Likewise.
59909         [C99-based-standards] (PRIXFAST64): Likewise.
59910         [C99-based-standards] (SCNdFAST64): Likewise.
59911         [C99-based-standards] (SCNiFAST64): Likewise.
59912         [C99-based-standards] (SCNoFAST64): Likewise.
59913         [C99-based-standards] (SCNuFAST64): Likewise.
59914         [C99-based-standards] (SCNxFAST64): Likewise.
59915         [C99-based-standards] (PRIdMAX): Likewise.
59916         [C99-based-standards] (PRIiMAX): Likewise.
59917         [C99-based-standards] (PRIoMAX): Likewise.
59918         [C99-based-standards] (PRIuMAX): Likewise.
59919         [C99-based-standards] (PRIxMAX): Likewise.
59920         [C99-based-standards] (PRIXMAX): Likewise.
59921         [C99-based-standards] (SCNdMAX): Likewise.
59922         [C99-based-standards] (SCNiMAX): Likewise.
59923         [C99-based-standards] (SCNoMAX): Likewise.
59924         [C99-based-standards] (SCNuMAX): Likewise.
59925         [C99-based-standards] (SCNxMAX): Likewise.
59926         [C99-based-standards] (PRIdPTR): Likewise.
59927         [C99-based-standards] (PRIiPTR): Likewise.
59928         [C99-based-standards] (PRIoPTR): Likewise.
59929         [C99-based-standards] (PRIuPTR): Likewise.
59930         [C99-based-standards] (PRIxPTR): Likewise.
59931         [C99-based-standards] (PRIXPTR): Likewise.
59932         [C99-based-standards] (SCNdPTR): Likewise.
59933         [C99-based-standards] (SCNiPTR): Likewise.
59934         [C99-based-standards] (SCNoPTR): Likewise.
59935         [C99-based-standards] (SCNuPTR): Likewise.
59936         [C99-based-standards] (SCNxPTR): Likewise.
59937         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59938         allow.
59939         * conform/data/stdint.h-data: Update comments to clarify
59940         requirements.
59941         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59942         type.
59943         [C99-based standards] (INT8_MAX): Likewise.
59944         [C99-based standards] (INT16_MIN): Likewise.
59945         [C99-based standards] (INT16_MAX): Likewise.
59946         [C99-based standards] (INT32_MIN): Likewise.
59947         [C99-based standards] (INT32_MAX): Likewise.
59948         [C99-based standards] (INT64_MIN): Likewise.
59949         [C99-based standards] (INT64_MAX): Likewise.
59950         [C99-based standards] (UINT8_MAX): Likewise.
59951         [C99-based standards] (UINT16_MAX): Likewise.
59952         [C99-based standards] (UINT32_MAX): Likewise.
59953         [C99-based standards] (UINT64_MAX): Likewise.
59954         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59955         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59956         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59957         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59958         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59959         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59960         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59961         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59962         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59963         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59964         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59965         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59966         [C99-based standards] (INT_FAST8_MIN): Likewise.
59967         [C99-based standards] (INT_FAST8_MAX): Likewise.
59968         [C99-based standards] (INT_FAST16_MIN): Likewise.
59969         [C99-based standards] (INT_FAST16_MAX): Likewise.
59970         [C99-based standards] (INT_FAST32_MIN): Likewise.
59971         [C99-based standards] (INT_FAST32_MAX): Likewise.
59972         [C99-based standards] (INT_FAST64_MIN): Likewise.
59973         [C99-based standards] (INT_FAST64_MAX): Likewise.
59974         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59975         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59976         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59977         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59978         [C99-based standards] (INTPTR_MIN): Likewise.
59979         [C99-based standards] (INTPTR_MAX): Likewise.
59980         [C99-based standards] (UINTPTR_MAX): Likewise.
59981         [C99-based standards] (INTMAX_MIN): Likewise.
59982         [C99-based standards] (INTMAX_MAX): Likewise.
59983         [C99-based standards] (UINTMAX_MAX): Likewise.
59984         [C99-based standards] (PTRDIFF_MIN): Likewise.
59985         [C99-based standards] (PTRDIFF_MAX): Likewise.
59986         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59987         [C99-based standards] (SIZE_MAX): Likewise.
59988         [C99-based standards] (WCHAR_MAX): Likewise.
59989         [C99-based standards] (WINT_MAX): Likewise.
59990         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59991         constraint on value.
59992         [C99-based standards] (WCHAR_MIN): Likewise.
59993         [C99-based standards] (WINT_MIN): Likewise.
59994         [C99-based standards] (*_t): Allow.
59995         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59996         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59997         Include math.h-data and complex.h-data.  Remove all expectations
59998         of math.h and complex.h contents.
59999         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60000         at end of line.
60001         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60002         (struct tm): Expect tag.
60003         [C99-based-standards] (wcstof): Expect function.
60004         [C99-based-standards] (wcstold): Likewise.
60005         [C99-based-standards] (wcstoll): Likewise.
60006         [C99-based-standards] (wcstoull): Likewise.
60007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60008         macro-int-constant.  Specify type.
60009         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60010         constraint on value.
60011         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60012         Specify type.
60013         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60014         Specify value.
60015         [ISO C standards]: Do not allow headers.
60016         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60017         wcs[abcdefghijklmnopqrstuvwxyz]*.
60018         [ISO C standards] (*_t): Do not allow.
60019         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60020         Expect function.
60021         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60022         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60023         Specify type.
60024         [ISO C standards]: Do not allow headers.
60025         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60026         is[abcdefghijklmnopqrstuvwxyz]*.
60027         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60028         to[abcdefghijklmnopqrstuvwxyz]*.
60029         [ISO C standards] (*_t): Do not allow.
60030         * conform/data/stdalign.h-data: New file.
60031         * conform/data/stdbool.h-data: Likewise.
60032         * conform/data/stdnoreturn.h-data: Likewise.
60034 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60036         [BZ #14815]
60037         * manual/filesys.texi (Directory Entries): Typo fix.
60038         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60040 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60042         * elf/elf.h (EM_AARCH64): New macro.
60043         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60044         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60045         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60046         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60047         (R_AARCH64_TLSDESC): Likewise.
60048         (NT_ARM_TLS): Likewise.
60049         (NT_ARM_HW_BREAK): Likewise.
60050         (NT_ARM_HW_WATCH): Likewise.
60052 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60054         [BZ #14811]
60055         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60056         (__ieee754_powl): Saturate nonzero exponents with absolute value
60057         below 0x1p-79 to +/- 0x1p-79.
60058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60059         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60060         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60061         nonzero exponents with absolute value below 0x1p-32 to +/-
60062         0x1p-32.
60063         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60064         (__ieee754_powl): Saturate nonzero exponents with absolute value
60065         below 0x1p-79 to +/- 0x1p-79.
60066         * math/libm-test.inc (pow_test): Add more tests.
60068 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60070         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60071         _dl_s390_cap_flags with kernel. Increase string length.
60072         (_dl_s390_platforms): Add z196 and zEC12.
60074 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60076         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60077         Change XOPEN21K to XOPEN2K.
60079 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60081         * string/memmove.c: Use memcpy when possible.
60083 2012-11-06  Andreas Jaeger  <aj@suse.de>
60085         * po/eo.po: Update from translation team.
60087 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60089         [BZ #14793]
60090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60091         exponent and small x and y exponents, scale x or y up.  Increase
60092         by 2 the exponent used in scaling up.
60093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60095         * math/libm-test.inc (fma_test): Add more tests.
60096         (fma_test_towardzero): Likewise.
60097         (fma_test_downward): Likewise.
60098         (fma_test_upward): Likewise.
60100 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60102         [BZ #14805]
60103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60104         fenv_t *.
60106         [BZ #14801]
60107         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60108         namespace for names of struct fields.
60109         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60110         fenv_t fields.
60111         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60112         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60114 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60116         [BZ #3665]
60117         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60119 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60121         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60122         PTR_DEMANGLE.
60124         [BZ #5246]
60125         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60126         PTR_DEMANGLE.
60128 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60130         [BZ #14797]
60131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60132         definitely overflow as x * y not x * y + z.
60133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60135         * math/libm-test.inc (fma_test): Add more tests.
60136         (fma_test_towardzero): Likewise.
60137         (fma_test_downward): Likewise.
60138         (fma_test_upward): Likewise.
60140 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60142         [BZ #157]
60144         * include/stub-tag.h: Remove file.
60145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60146         '#include' of it.
60147         * manual/maint.texi (Porting): Don't reference it.
60148         * Makerules ($(objpfx)stubs): Likewise.
60149         * dirent/closedir.c: Don't include <stub-tag.h>.
60150         * dirent/dirfd.c: Likewise.
60151         * dirent/fdopendir.c: Likewise.
60152         * dirent/getdents.c: Likewise.
60153         * dirent/getdents64.c: Likewise.
60154         * dirent/opendir.c: Likewise.
60155         * dirent/readdir.c: Likewise.
60156         * dirent/readdir64.c: Likewise.
60157         * dirent/readdir64_r.c: Likewise.
60158         * dirent/readdir_r.c: Likewise.
60159         * dirent/rewinddir.c: Likewise.
60160         * dirent/seekdir.c: Likewise.
60161         * dirent/telldir.c: Likewise.
60162         * gmon/profil.c: Likewise.
60163         * grp/setgroups.c: Likewise.
60164         * inet/if_index.c: Likewise.
60165         * io/access.c: Likewise.
60166         * io/chdir.c: Likewise.
60167         * io/chmod.c: Likewise.
60168         * io/chown.c: Likewise.
60169         * io/close.c: Likewise.
60170         * io/dup.c: Likewise.
60171         * io/dup2.c: Likewise.
60172         * io/dup3.c: Likewise.
60173         * io/euidaccess.c: Likewise.
60174         * io/faccessat.c: Likewise.
60175         * io/fchdir.c: Likewise.
60176         * io/fchmod.c: Likewise.
60177         * io/fchmodat.c: Likewise.
60178         * io/fchown.c: Likewise.
60179         * io/fchownat.c: Likewise.
60180         * io/fcntl.c: Likewise.
60181         * io/flock.c: Likewise.
60182         * io/fstatfs.c: Likewise.
60183         * io/fstatfs64.c: Likewise.
60184         * io/fstatvfs.c: Likewise.
60185         * io/fstatvfs64.c: Likewise.
60186         * io/futimens.c: Likewise.
60187         * io/fxstat.c: Likewise.
60188         * io/fxstat64.c: Likewise.
60189         * io/fxstatat.c: Likewise.
60190         * io/fxstatat64.c: Likewise.
60191         * io/getcwd.c: Likewise.
60192         * io/isatty.c: Likewise.
60193         * io/lchmod.c: Likewise.
60194         * io/lchown.c: Likewise.
60195         * io/link.c: Likewise.
60196         * io/linkat.c: Likewise.
60197         * io/lseek.c: Likewise.
60198         * io/lseek64.c: Likewise.
60199         * io/lxstat64.c: Likewise.
60200         * io/mkdir.c: Likewise.
60201         * io/mkdirat.c: Likewise.
60202         * io/mkfifo.c: Likewise.
60203         * io/mkfifoat.c: Likewise.
60204         * io/open.c: Likewise.
60205         * io/open64.c: Likewise.
60206         * io/openat.c: Likewise.
60207         * io/openat64.c: Likewise.
60208         * io/pipe.c: Likewise.
60209         * io/pipe2.c: Likewise.
60210         * io/poll.c: Likewise.
60211         * io/posix_fadvise.c: Likewise.
60212         * io/posix_fadvise64.c: Likewise.
60213         * io/posix_fallocate.c: Likewise.
60214         * io/posix_fallocate64.c: Likewise.
60215         * io/read.c: Likewise.
60216         * io/readlink.c: Likewise.
60217         * io/readlinkat.c: Likewise.
60218         * io/rmdir.c: Likewise.
60219         * io/sendfile.c: Likewise.
60220         * io/sendfile64.c: Likewise.
60221         * io/statfs.c: Likewise.
60222         * io/statfs64.c: Likewise.
60223         * io/statvfs.c: Likewise.
60224         * io/statvfs64.c: Likewise.
60225         * io/symlink.c: Likewise.
60226         * io/symlinkat.c: Likewise.
60227         * io/ttyname.c: Likewise.
60228         * io/ttyname_r.c: Likewise.
60229         * io/umask.c: Likewise.
60230         * io/unlink.c: Likewise.
60231         * io/unlinkat.c: Likewise.
60232         * io/utime.c: Likewise.
60233         * io/utimensat.c: Likewise.
60234         * io/write.c: Likewise.
60235         * io/xmknod.c: Likewise.
60236         * io/xmknodat.c: Likewise.
60237         * io/xstat.c: Likewise.
60238         * io/xstat64.c: Likewise.
60239         * login/getpt.c: Likewise.
60240         * login/grantpt.c: Likewise.
60241         * login/unlockpt.c: Likewise.
60242         * math/e_acoshl.c: Likewise.
60243         * math/e_acosl.c: Likewise.
60244         * math/e_asinl.c: Likewise.
60245         * math/e_atan2l.c: Likewise.
60246         * math/e_atanhl.c: Likewise.
60247         * math/e_coshl.c: Likewise.
60248         * math/e_expl.c: Likewise.
60249         * math/e_fmodl.c: Likewise.
60250         * math/e_gammal_r.c: Likewise.
60251         * math/e_hypotl.c: Likewise.
60252         * math/e_j0l.c: Likewise.
60253         * math/e_j1l.c: Likewise.
60254         * math/e_jnl.c: Likewise.
60255         * math/e_lgammal_r.c: Likewise.
60256         * math/e_log10l.c: Likewise.
60257         * math/e_log2l.c: Likewise.
60258         * math/e_logl.c: Likewise.
60259         * math/e_powl.c: Likewise.
60260         * math/e_rem_pio2l.c: Likewise.
60261         * math/e_sinhl.c: Likewise.
60262         * math/e_sqrtl.c: Likewise.
60263         * math/fclrexcpt.c: Likewise.
60264         * math/fedisblxcpt.c: Likewise.
60265         * math/feenablxcpt.c: Likewise.
60266         * math/fegetenv.c: Likewise.
60267         * math/fegetexcept.c: Likewise.
60268         * math/fegetround.c: Likewise.
60269         * math/feholdexcpt.c: Likewise.
60270         * math/fesetenv.c: Likewise.
60271         * math/fesetround.c: Likewise.
60272         * math/feupdateenv.c: Likewise.
60273         * math/fgetexcptflg.c: Likewise.
60274         * math/fraiseexcpt.c: Likewise.
60275         * math/fsetexcptflg.c: Likewise.
60276         * math/ftestexcept.c: Likewise.
60277         * math/k_cosl.c: Likewise.
60278         * math/k_rem_pio2l.c: Likewise.
60279         * math/k_sinl.c: Likewise.
60280         * math/k_tanl.c: Likewise.
60281         * math/s_asinhl.c: Likewise.
60282         * math/s_atanl.c: Likewise.
60283         * math/s_cbrtl.c: Likewise.
60284         * math/s_erfl.c: Likewise.
60285         * math/s_expm1l.c: Likewise.
60286         * math/s_log1pl.c: Likewise.
60287         * math/s_tanhl.c: Likewise.
60288         * misc/acct.c: Likewise.
60289         * misc/brk.c: Likewise.
60290         * misc/chflags.c: Likewise.
60291         * misc/chroot.c: Likewise.
60292         * misc/fchflags.c: Likewise.
60293         * misc/fgetxattr.c: Likewise.
60294         * misc/flistxattr.c: Likewise.
60295         * misc/fremovexattr.c: Likewise.
60296         * misc/fsetxattr.c: Likewise.
60297         * misc/fsync.c: Likewise.
60298         * misc/ftruncate.c: Likewise.
60299         * misc/futimes.c: Likewise.
60300         * misc/futimesat.c: Likewise.
60301         * misc/getdomain.c: Likewise.
60302         * misc/getdtsz.c: Likewise.
60303         * misc/gethostid.c: Likewise.
60304         * misc/gethostname.c: Likewise.
60305         * misc/getloadavg.c: Likewise.
60306         * misc/getpagesize.c: Likewise.
60307         * misc/getsysstats.c: Likewise.
60308         * misc/getxattr.c: Likewise.
60309         * misc/gtty.c: Likewise.
60310         * misc/ioctl.c: Likewise.
60311         * misc/lgetxattr.c: Likewise.
60312         * misc/listxattr.c: Likewise.
60313         * misc/llistxattr.c: Likewise.
60314         * misc/lremovexattr.c: Likewise.
60315         * misc/lsetxattr.c: Likewise.
60316         * misc/lutimes.c: Likewise.
60317         * misc/madvise.c: Likewise.
60318         * misc/mincore.c: Likewise.
60319         * misc/mlock.c: Likewise.
60320         * misc/mlockall.c: Likewise.
60321         * misc/mmap.c: Likewise.
60322         * misc/mprotect.c: Likewise.
60323         * misc/msync.c: Likewise.
60324         * misc/munlock.c: Likewise.
60325         * misc/munlockall.c: Likewise.
60326         * misc/munmap.c: Likewise.
60327         * misc/preadv.c: Likewise.
60328         * misc/preadv64.c: Likewise.
60329         * misc/ptrace.c: Likewise.
60330         * misc/pwritev.c: Likewise.
60331         * misc/pwritev64.c: Likewise.
60332         * misc/readv.c: Likewise.
60333         * misc/reboot.c: Likewise.
60334         * misc/remap_file_pages.c: Likewise.
60335         * misc/removexattr.c: Likewise.
60336         * misc/revoke.c: Likewise.
60337         * misc/select.c: Likewise.
60338         * misc/setdomain.c: Likewise.
60339         * misc/setegid.c: Likewise.
60340         * misc/seteuid.c: Likewise.
60341         * misc/sethostid.c: Likewise.
60342         * misc/sethostname.c: Likewise.
60343         * misc/setregid.c: Likewise.
60344         * misc/setreuid.c: Likewise.
60345         * misc/setxattr.c: Likewise.
60346         * misc/sstk.c: Likewise.
60347         * misc/stty.c: Likewise.
60348         * misc/swapoff.c: Likewise.
60349         * misc/swapon.c: Likewise.
60350         * misc/sync.c: Likewise.
60351         * misc/syncfs.c: Likewise.
60352         * misc/syscall.c: Likewise.
60353         * misc/truncate.c: Likewise.
60354         * misc/ualarm.c: Likewise.
60355         * misc/usleep.c: Likewise.
60356         * misc/ustat.c: Likewise.
60357         * misc/utimes.c: Likewise.
60358         * misc/vhangup.c: Likewise.
60359         * misc/writev.c: Likewise.
60360         * posix/_exit.c: Likewise.
60361         * posix/alarm.c: Likewise.
60362         * posix/execve.c: Likewise.
60363         * posix/fexecve.c: Likewise.
60364         * posix/fork.c: Likewise.
60365         * posix/fpathconf.c: Likewise.
60366         * posix/getaddrinfo.c: Likewise.
60367         * posix/getegid.c: Likewise.
60368         * posix/geteuid.c: Likewise.
60369         * posix/getgid.c: Likewise.
60370         * posix/getgroups.c: Likewise.
60371         * posix/getlogin.c: Likewise.
60372         * posix/getlogin_r.c: Likewise.
60373         * posix/getpgid.c: Likewise.
60374         * posix/getpid.c: Likewise.
60375         * posix/getppid.c: Likewise.
60376         * posix/getresgid.c: Likewise.
60377         * posix/getresuid.c: Likewise.
60378         * posix/getsid.c: Likewise.
60379         * posix/getuid.c: Likewise.
60380         * posix/glob64.c: Likewise.
60381         * posix/nanosleep.c: Likewise.
60382         * posix/pathconf.c: Likewise.
60383         * posix/pause.c: Likewise.
60384         * posix/posix_madvise.c: Likewise.
60385         * posix/pread.c: Likewise.
60386         * posix/pread64.c: Likewise.
60387         * posix/pwrite.c: Likewise.
60388         * posix/pwrite64.c: Likewise.
60389         * posix/sched_getaffinity.c: Likewise.
60390         * posix/sched_getp.c: Likewise.
60391         * posix/sched_gets.c: Likewise.
60392         * posix/sched_primax.c: Likewise.
60393         * posix/sched_primin.c: Likewise.
60394         * posix/sched_rr_gi.c: Likewise.
60395         * posix/sched_setaffinity.c: Likewise.
60396         * posix/sched_setp.c: Likewise.
60397         * posix/sched_sets.c: Likewise.
60398         * posix/sched_yield.c: Likewise.
60399         * posix/setgid.c: Likewise.
60400         * posix/setlogin.c: Likewise.
60401         * posix/setpgid.c: Likewise.
60402         * posix/setresgid.c: Likewise.
60403         * posix/setresuid.c: Likewise.
60404         * posix/setsid.c: Likewise.
60405         * posix/setuid.c: Likewise.
60406         * posix/sleep.c: Likewise.
60407         * posix/spawni.c: Likewise.
60408         * posix/sysconf.c: Likewise.
60409         * posix/times.c: Likewise.
60410         * posix/wait.c: Likewise.
60411         * posix/wait3.c: Likewise.
60412         * posix/wait4.c: Likewise.
60413         * posix/waitpid.c: Likewise.
60414         * resolv/gai_sigqueue.c: Likewise.
60415         * resource/getpriority.c: Likewise.
60416         * resource/getrlimit.c: Likewise.
60417         * resource/getrusage.c: Likewise.
60418         * resource/nice.c: Likewise.
60419         * resource/setpriority.c: Likewise.
60420         * resource/setrlimit.c: Likewise.
60421         * resource/ulimit.c: Likewise.
60422         * rt/aio_cancel.c: Likewise.
60423         * rt/aio_fsync.c: Likewise.
60424         * rt/aio_read.c: Likewise.
60425         * rt/aio_sigqueue.c: Likewise.
60426         * rt/aio_suspend.c: Likewise.
60427         * rt/aio_write.c: Likewise.
60428         * rt/clock_getres.c: Likewise.
60429         * rt/clock_gettime.c: Likewise.
60430         * rt/clock_nanosleep.c: Likewise.
60431         * rt/clock_settime.c: Likewise.
60432         * rt/lio_listio.c: Likewise.
60433         * rt/mq_close.c: Likewise.
60434         * rt/mq_getattr.c: Likewise.
60435         * rt/mq_notify.c: Likewise.
60436         * rt/mq_open.c: Likewise.
60437         * rt/mq_receive.c: Likewise.
60438         * rt/mq_send.c: Likewise.
60439         * rt/mq_setattr.c: Likewise.
60440         * rt/mq_timedreceive.c: Likewise.
60441         * rt/mq_timedsend.c: Likewise.
60442         * rt/mq_unlink.c: Likewise.
60443         * rt/shm_open.c: Likewise.
60444         * rt/shm_unlink.c: Likewise.
60445         * rt/timer_create.c: Likewise.
60446         * rt/timer_delete.c: Likewise.
60447         * rt/timer_getoverr.c: Likewise.
60448         * rt/timer_gettime.c: Likewise.
60449         * rt/timer_settime.c: Likewise.
60450         * setjmp/__longjmp.c: Likewise.
60451         * setjmp/setjmp.c: Likewise.
60452         * signal/kill.c: Likewise.
60453         * signal/killpg.c: Likewise.
60454         * signal/raise.c: Likewise.
60455         * signal/sigaction.c: Likewise.
60456         * signal/sigaltstack.c: Likewise.
60457         * signal/sigblock.c: Likewise.
60458         * signal/sigignore.c: Likewise.
60459         * signal/sigintr.c: Likewise.
60460         * signal/signal.c: Likewise.
60461         * signal/sigpause.c: Likewise.
60462         * signal/sigpending.c: Likewise.
60463         * signal/sigqueue.c: Likewise.
60464         * signal/sigreturn.c: Likewise.
60465         * signal/sigset.c: Likewise.
60466         * signal/sigsetmask.c: Likewise.
60467         * signal/sigstack.c: Likewise.
60468         * signal/sigsuspend.c: Likewise.
60469         * signal/sigtimedwait.c: Likewise.
60470         * signal/sigvec.c: Likewise.
60471         * signal/sigwait.c: Likewise.
60472         * signal/sigwaitinfo.c: Likewise.
60473         * signal/sysv_signal.c: Likewise.
60474         * socket/accept.c: Likewise.
60475         * socket/accept4.c: Likewise.
60476         * socket/bind.c: Likewise.
60477         * socket/connect.c: Likewise.
60478         * socket/getpeername.c: Likewise.
60479         * socket/getsockname.c: Likewise.
60480         * socket/getsockopt.c: Likewise.
60481         * socket/isfdtype.c: Likewise.
60482         * socket/listen.c: Likewise.
60483         * socket/recv.c: Likewise.
60484         * socket/recvfrom.c: Likewise.
60485         * socket/recvmsg.c: Likewise.
60486         * socket/send.c: Likewise.
60487         * socket/sendmsg.c: Likewise.
60488         * socket/sendto.c: Likewise.
60489         * socket/setsockopt.c: Likewise.
60490         * socket/shutdown.c: Likewise.
60491         * socket/sockatmark.c: Likewise.
60492         * socket/socket.c: Likewise.
60493         * socket/socketpair.c: Likewise.
60494         * stdio-common/ctermid.c: Likewise.
60495         * stdio-common/cuserid.c: Likewise.
60496         * stdio-common/remove.c: Likewise.
60497         * stdio-common/rename.c: Likewise.
60498         * stdio-common/renameat.c: Likewise.
60499         * stdio-common/tempname.c: Likewise.
60500         * stdlib/getcontext.c: Likewise.
60501         * stdlib/makecontext.c: Likewise.
60502         * stdlib/setcontext.c: Likewise.
60503         * stdlib/swapcontext.c: Likewise.
60504         * stdlib/system.c: Likewise.
60505         * streams/fattach.c: Likewise.
60506         * streams/fdetach.c: Likewise.
60507         * streams/getmsg.c: Likewise.
60508         * streams/getpmsg.c: Likewise.
60509         * streams/putmsg.c: Likewise.
60510         * streams/putpmsg.c: Likewise.
60511         * sysdeps/unix/bsd/getpt.c: Likewise.
60512         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60513         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60514         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60516         Likewise.
60517         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60518         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60519         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60520         * sysvipc/msgctl.c: Likewise.
60521         * sysvipc/msgget.c: Likewise.
60522         * sysvipc/msgrcv.c: Likewise.
60523         * sysvipc/msgsnd.c: Likewise.
60524         * sysvipc/semctl.c: Likewise.
60525         * sysvipc/semget.c: Likewise.
60526         * sysvipc/semop.c: Likewise.
60527         * sysvipc/semtimedop.c: Likewise.
60528         * sysvipc/shmat.c: Likewise.
60529         * sysvipc/shmctl.c: Likewise.
60530         * sysvipc/shmdt.c: Likewise.
60531         * sysvipc/shmget.c: Likewise.
60532         * termios/tcdrain.c: Likewise.
60533         * termios/tcflow.c: Likewise.
60534         * termios/tcflush.c: Likewise.
60535         * termios/tcgetattr.c: Likewise.
60536         * termios/tcgetpgrp.c: Likewise.
60537         * termios/tcsendbrk.c: Likewise.
60538         * termios/tcsetattr.c: Likewise.
60539         * termios/tcsetpgrp.c: Likewise.
60540         * time/adjtime.c: Likewise.
60541         * time/clock.c: Likewise.
60542         * time/getitimer.c: Likewise.
60543         * time/gettimeofday.c: Likewise.
60544         * time/setitimer.c: Likewise.
60545         * time/settimeofday.c: Likewise.
60546         * time/stime.c: Likewise.
60547         * time/time.c: Likewise.
60549 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60551         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60552         /usr/old/bin.
60554         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60555         instead of spaces.
60556         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60558 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60560         [BZ #14796]
60561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60562         FE_TONEAREST before applying Dekker multiplication and Knuth
60563         addition.  Clear inexact exceptions and check for exact zero
60564         results afterwards.
60565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60566         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60568         * math/libm-test.inc (fma_test): Add more tests.
60569         (fma_test_towardzero): Likewise.
60570         (fma_test_downward): Likewise.
60571         (fma_test_upward): Likewise.
60572         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60573         function.
60574         (libc_fesetround): New macro.
60575         (libc_fesetroundf): Likewise.
60576         (libc_fesetroundl): Likewise.
60577         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60578         function.
60579         (libc_fesetround_387): Likewise.
60580         (libc_fesetroundf): New macro.
60581         (libc_fesetround): Likewise.
60582         (libc_fesetroundl): Likewise.
60583         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60584         function.
60585         (libc_fesetroundf): New macro.
60586         (libc_fesetround): Likewise.
60587         (libc_fesetroundl): Likewise.
60588         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60589         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60590         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60591         libm_hidden_ver.
60592         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60593         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60594         libm_hidden_def.
60595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60596         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60597         libm_hidden_ver.
60598         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60599         libm_hidden_def.
60601         [BZ #3439]
60602         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60603         integer constant usable in #if and use that to give value to enum
60604         constant.
60605         (FE_DIVBYZERO): Likewise.
60606         (FE_UNDERFLOW): Likewise.
60607         (FE_OVERFLOW): Likewise.
60608         (FE_INVALID): Likewise.
60609         (FE_INVALID_SNAN): Likewise.
60610         (FE_INVALID_ISI): Likewise.
60611         (FE_INVALID_IDI): Likewise.
60612         (FE_INVALID_ZDZ): Likewise.
60613         (FE_INVALID_IMZ): Likewise.
60614         (FE_INVALID_COMPARE): Likewise.
60615         (FE_INVALID_SOFTWARE): Likewise.
60616         (FE_INVALID_SQRT): Likewise.
60617         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60618         (FE_TONEAREST): Likewise.
60619         (FE_TOWARDZERO): Likewise.
60620         (FE_UPWARD): Likewise.
60621         (FE_DOWNWARD): Likewise.
60622         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60623         (FE_DIVBYZERO): Likewise.
60624         (FE_OVERFLOW): Likewise.
60625         (FE_UNDERFLOW): Likewise.
60626         (FE_INEXACT): Likewise.
60627         (FE_TONEAREST): Likewise.
60628         (FE_DOWNWARD): Likewise.
60629         (FE_UPWARD): Likewise.
60630         (FE_TOWARDZERO): Likewise.
60631         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60632         (FE_UNDERFLOW): Likewise.
60633         (FE_OVERFLOW): Likewise.
60634         (FE_DIVBYZERO): Likewise.
60635         (FE_INVALID): Likewise.
60636         (FE_TONEAREST): Likewise.
60637         (FE_TOWARDZERO): Likewise.
60638         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60639         (FE_OVERFLOW): Likewise.
60640         (FE_UNDERFLOW): Likewise.
60641         (FE_DIVBYZERO): Likewise.
60642         (FE_INEXACT): Likewise.
60643         (FE_TONEAREST): Likewise.
60644         (FE_TOWARDZERO): Likewise.
60645         (FE_UPWARD): Likewise.
60646         (FE_DOWNWARD): Likewise.
60647         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60648         (FE_DIVBYZERO): Likewise.
60649         (FE_OVERFLOW): Likewise.
60650         (FE_UNDERFLOW): Likewise.
60651         (FE_INEXACT): Likewise.
60652         (FE_TONEAREST): Likewise.
60653         (FE_DOWNWARD): Likewise.
60654         (FE_UPWARD): Likewise.
60655         (FE_TOWARDZERO): Likewise.
60657 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60659         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60661 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60663         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60664         commands.  Quote $PWD.
60665         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60666         -x" by "export".
60667         (remove_newlines): Remove.
60669 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60671         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60672         * stdlib/stdlib.h (atof): Moved to ...
60673         * include/bits/stdlib-float.h: Here.  New file.
60674         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60675         * stdlib/bits/stdlib-float.h: New file.
60676         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60677         -mno-sse -mno-mmx.
60678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60679         <xmmintrin.h>.
60681 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60683         * conform/conformtest.pl (@headers): Add fenv.h.
60684         * conform/data/fenv.h-data: New file.
60685         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60686         include of <math/fenv.h>.
60688         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60689         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60690         && !UNIX98].  Enables tests for XOPEN2K8.
60691         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60692         POSIX2008]: Likewise.
60694         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60695         (struct rusage): Do not expect type or its members.
60697         [BZ #3439]
60698         * math/math.h (FP_NAN): Define macro to integer constant usable in
60699         #if and use that to give value to enum constant.
60700         (FP_INFINITE): Likewise.
60701         (FP_ZERO): Likewise.
60702         (FP_SUBNORMAL): Likewise.
60703         (FP_NORMAL): Likewise.
60705 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60707         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60708         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60709         arguments.
60711 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60713         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60714         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60715         autoconf-time if not.
60716         * configure.in: Remove AC_PREREQ.
60718 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60720         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60721         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60722         of the internal implementation.
60724 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60726         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60727         except include of <misc/sys/syslog.h>.
60729 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60732         function returns with a NULL context exit with zero.
60734 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60736         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60738 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60740         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60741         (run_program_cmd): This.
60742         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60743         (tst_langinfo): New variable.  Use it.
60745 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60747         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60748         floating point opcodes.
60750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60752         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60753         variable.
60755         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60757         * sysdeps/mach/hurd/powerpc: Remove directory.
60758         * sysdeps/mach/powerpc: Likewise.
60760 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60762         * scripts/check-local-headers.sh: Ignore c++ headers.
60764 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60766         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60767         __libc_cleanup_region_start argument.
60769 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60771         [BZ #14784]
60772         [BZ #14785]
60773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60774         x * y using scaling, not as x * y + z.
60775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60777         * math/libm-test.inc (fma_test): Add more tests.
60778         (fma_test_towardzero): Likewise.
60779         (fma_test_downward): Likewise.
60780         (fma_test_upward): Likewise.
60782 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60784         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60786 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60788         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60789         New variable.
60791 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60793         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60795 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60798         Fix sort order.
60799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60800         Likewise.
60802 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60805         Fix the order of the list for glibc 2.17.
60806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60807         Likewise.
60809 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60813 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60815         [BZ #14610]
60816         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60817         for low part of x being zero before using __atanl (y).
60818         * math/libm-test.inc (atan2_test): Add another test.
60820         * manual/install.texi (Configuring and compiling): Document
60821         general use of test-wrapper and test-wrapper-env.
60822         * INSTALL: Regenerated.
60824         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60825         (__fma): 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-128/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         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60833         (__fmal): Do not extract and scale down low bits on after-rounding
60834         systems when result rounded to normal precision would have normal
60835         exponent.
60836         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60837         macro.
60838         (fma_test): Add more tests.
60839         (fma_test_towardzero): Likewise.
60840         (fma_test_downward): Likewise.
60841         (fma_test_upward): Likewise.
60843 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60845         * sysdeps/i386/tininess.h: Renamed to ...
60846         * sysdeps/x86/tininess.h: This.
60847         * sysdeps/x86_64/tininess.h: Removed.
60849 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60851         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60852         input.  Use $(build-program-cmd).
60853         ($(objpfx)tst-array1-static.out): Likewise.
60854         ($(objpfx)tst-array2.out): Likewise.
60855         ($(objpfx)tst-array3.out): Likewise.
60856         ($(objpfx)tst-array4.out): Likewise.
60857         ($(objpfx)tst-array5.out): Likewise.
60858         ($(objpfx)tst-array5-static.out): Likewise.
60860 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60862         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60863         if defined.
60865         * nss/nsswitch.h (nss_interface_function): Provide new
60866         macro for use with NSS functions.
60867         * grp/initgroups.c: Use new macro.
60868         * nss/getXXbyYY.c: Likewise.
60869         * nss/getXXbyYY_r.c: Likewise.
60870         * nss/getXXent.c: Likewise.
60871         * nss/getXXent_r.c: Likewise.
60872         * sysdeps/posix/getaddrinfo.c: Likewise.
60874 2012-10-30  Andreas Jaeger  <aj@suse.de>
60876         * po/ru.po: Update Russion translation from translation project.
60878 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60880         [BZ #14152]
60881         [BZ #14783]
60882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60883         result and shift together with sticky bit instead of replicating
60884         round-to-nearest rounding.
60885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60887         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60888         missing underflow exceptions.
60889         (fma_test_towardzero): Add more tests.
60890         (fma_test_downward): Likewise.
60891         (fma_test_upward): Likewise.
60893         [BZ #14047]
60894         * sysdeps/generic/tininess.h: New file.
60895         * sysdeps/i386/tininess.h: Likewise.
60896         * sysdeps/sh/tininess.h: Likewise.
60897         * sysdeps/x86_64/tininess.h: Likewise.
60898         * stdlib/tst-strtod-underflow.c: Likewise.
60899         * stdlib/tst-tininess.c: Likewise.
60900         * stdlib/strtod_l.c: Include <tininess.h>.
60901         (round_and_return): Do not set errno for exact underflow cases.
60902         Force an underflow exception when setting errno for underflow.
60903         Determine underflow based on rounding to normal precision if
60904         TININESS_AFTER_ROUNDING.
60905         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60906         ERANGE for exact underflow cases.
60907         * stdlib/Makefile (tests): Add tst-tininess and
60908         tst-strtod-underflow.
60909         ($(objpfx)tst-tininess): Use $(link-libm).
60910         ($(objpfx)tst-strtod-underflow): Likewise.
60912 2012-10-30  Andreas Jaeger  <aj@suse.de>
60914         [BZ#14767]
60915         * elf/Makefile (tests): Remove conditional for have-initfini-array
60916         since this is now always required and the variable does not exist
60917         anymore.
60918         (tests-static): Likewise.
60919         (modules-names): Likewise.
60921         * po/eo.po: Add Esperanto translation from translation project.
60923         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60924         merged with constructor/destructor.
60925         (init_array): Likewise.
60926         * elf/tst-array2dep.c (fini_array): Likewise.
60927         (init_array): Likewise.
60929 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60931         * manual/message.texi: Delete @cartouche tags.
60933 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60935         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60936         EOPNOTSUPP.
60937         * sysdeps/mach/hurd/fsync.c: Likewise.
60939         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60940         [_POSIX_REALTIME_SIGNALS]: Change condition to
60941         [_POSIX_REALTIME_SIGNALS > 0].
60943 2012-10-27  Andreas Jaeger  <aj@suse.de>
60945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60946         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60948         [__WORDSIZE != 64]: Likewise.
60950 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60952         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60953         *  iconvdata/tst-tables.sh: Likewise.
60955 2012-10-25  David S. Miller  <davem@davemloft.net>
60957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60958         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60959         of strtoull.
60961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60962         ifunc-impl-list.c
60963         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60964         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60965         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60966         file.
60968 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60971         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60972         __getdirentries.
60974 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60975             Jim Blandy  <jimb@codesourcery.com>
60977         * scripts/cross-test-ssh.sh: New file.
60978         * manual/install.texi (Configuring and compiling): Document use of
60979         cross-test-ssh.sh.
60980         * INSTALL: Regenerated.
60982 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60984         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60985         EOPNOTSUPP.
60987 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60989         * Makeconfig (run-program-prefix): Fix comment.
60991 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60992             Jim Blandy  <jimb@codesourcery.com>
60994         * Makeconfig (test-wrapper): New variable,
60995         (test-wrapper-env): Likewise.
60996         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60997         (run-built-tests): Define to yes.
60998         (run-program-prefix): Use $(test-wrapper).
60999         (built-program-cmd): Likewise.
61000         * Rules (make-test-out): Use $(test-wrapper-env) and
61001         $(host-built-program-cmd).
61002         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61003         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61004         tst-pathopt.sh.
61005         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61006         $(test-wrapper-env) to tst-rtld-load-self.sh.
61007         ($(objpfx)order2.out): Use $(test-wrapper).
61008         ($(objpfx)tst-initorder.out): Likewise.
61009         ($(objpfx)tst-initorder2.out): Likewise.
61010         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61011         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61012         (test_wrapper_env): New variable.  Use it to run ld.so.
61013         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61014         Use it to run ld.so.
61015         (test_wrapper_env): Likewise.
61016         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61017         $(test-wrapper) to run-iconv-test.sh.
61018         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61019         (ICONV): Use $test_wrapper.
61020         * posix/Makefile ($(objpfx)globtest.out): Pass
61021         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61022         globtest.sh, not $(run-program-prefix).
61023         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61024         (test_wrapper): Likewise.
61025         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61026         set together with run_via_rtld_prefix.
61027         (run_program_prefix): Define in terms of test_wrapper and
61028         run_via_rtld_prefix.
61030 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61032         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61033         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61034         Targets removed.
61036         [BZ #14743]
61037         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61038         Declare __clock_getres, __clock_gettime, __clock_settime,
61039         __clock_nanosleep, and __clock_getcpuclockid.
61040         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61041         Remove librt_hidden_def (clock_gettime).
61042         * sysdeps/unix/clock_gettime.c: Likewise.
61043         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61045         * rt/clock_getres.c: Define __clock_getres as an alias.
61046         * sysdeps/posix/clock_getres.c: Likewise.
61047         * rt/clock_settime.c: Define __clock_settime as an alias.
61048         * sysdeps/unix/clock_settime.c: Likewise.
61049         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61050         * sysdeps/unix/clock_nanosleep.c: Likewise.
61051         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61052         * rt/clock-compat.c: New file.
61053         * rt/Makefile (librt-routines): Add clock-compat and move
61054         $(clock-routines) to ...
61055         (routines): ... here, new variable.
61056         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61057         Don't add get_clockfreq here.
61058         * rt/Versions (libc: GLIBC_2.17): New version set.
61059         Add clock_* symbols here.
61060         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61061         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61062         (GLIBC_2.17): Add clock_* symbols.
61063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61067         Likewise.
61068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61069         Likewise.
61070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61074         * NEWS: Mention the move.
61076         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61077         Use __open, __read, __close rather than their public counterparts.
61078         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61079         (__get_clockfreq_via_cpuinfo): Likewise.
61080         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61081         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61083         * config.h.in (HAVE_IFUNC): New #undef.
61084         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61085         was successful.
61086         * configure: Regenerated.
61088 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61090         * configure.in: Move READELF check to start of file.
61091         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61092         libc_cv_asm_gnu_indirect_function in the process.
61093         * configure: Regenerated.
61095 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61097         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61098         send the output to /dev/null.
61099         (libc_cv_cc_with_libunwind): Likewise.
61100         (libc_cv_as_noexecstack): Likewise.
61101         * configure: Regenerate.
61103 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61105         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61107         * posix/globtest.sh (TMPDIR): Do not set.
61108         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61109         (testout): Likewise.
61111 2012-10-24  Andreas Jaeger  <aj@suse.de>
61113         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61114         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61115         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61116         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61117         posix_fadvise64, posix_fallocate64.
61119         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61120         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61121         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61122         Likewise.
61123         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61124         Likewise.
61125         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61128         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61129         <bits/fcntl-linux.h>.
61130         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61133         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61134         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61135         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61136         [__WORDSIZE != 64]: Likewise.
61138 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61140         * Makeconfig (run-built-tests): New variable.
61141         * Rules [$(cross-compiling) = yes]: Change condition to
61142         [$(run-built-tests) = no].
61143         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61144         to [$(run-built-tests) = yes].
61145         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61146         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61147         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61148         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61149         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61150         * io/Makefile [$(cross-compiling) = no]: Likewise.
61151         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61152         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61153         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61154         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61155         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61156         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61157         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61158         * string/Makefile [$(cross-compiling) = no]: Likewise.
61160         * posix/Makefile ($(objpfx)globtest.out): Pass
61161         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61162         $(rtld-installed-name).
61163         * posix/globtest.sh (elf_objpfx): Remove variable.
61164         (rtld_installed_name): Likewise.
61165         (library_path): Likewise.
61166         (run_program_prefix): New variable.  Use for running globtest
61167         binary.
61169 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61170             Joseph Myers  <joseph@codesourcery.com>
61172         * Makeconfig (host-built-program-cmd): New variable.
61173         * elf/Makefile (tst-stackguard1-ARGS): Use
61174         $(host-built-program-cmd).
61175         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61176         (tst-spawn-ARGS): Likewise.
61177         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61179 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61180             Jim Blandy  <jimb@codesourcery.com>
61182         * Makeconfig (run-via-rtld-prefix): New variable.
61183         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61184         (built-program-cmd): Likewise.
61186 2012-10-22  Andreas Jaeger  <aj@suse.de>
61188         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61189         __O_RSYNC if it exists, otherwise to O_SYNC.
61191 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61192             Joseph Myers  <joseph@codesourcery.com>
61194         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61195         /dev/null.
61196         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61197         from /dev/null
61198         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61199         /dev/null.
61201 2012-10-22  Andreas Jaeger  <aj@suse.de>
61203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61204         Define always.
61205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61208         bits/fcntl-linux.h.
61210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61211         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61214         to __O_LARGEFILE.
61215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61216         to __O_LARGEFILE.
61218 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61219             Joseph Myers  <joseph@codesourcery.com>
61221         * config.make.in (NM): New variable.
61223 2012-10-21  Andreas Jaeger  <aj@suse.de>
61225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61226         definitions and declarations that are provided by
61227         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61229 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61231         [BZ #14683]
61232         * elf/Makefile (tests-static): Add tst-leaks1-static.
61233         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61234         ($(objpfx)tst-leaks1-static): New rule.
61235         ($(objpfx)tst-leaks1-static-mem): Likewise.
61236         (tst-leaks1-static-ENV): New macro.
61237         * elf/dl-open.c (dl_open_worker): Check the main application
61238         only if SHARED is defined.
61239         * elf/tst-leaks1-static.c: New file.
61241 2012-10-20  Andreas Jaeger  <aj@suse.de>
61243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61244         generic values for Linux.
61245         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61246         and declarations that are provided by <bits/fcntl-linux.h> and
61247         include <bits/fcntl-linux.h>.
61248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61251 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61253         * io/fcntl.h: Move include of <bits/types.h> to the top and
61254         include it unconditionally.
61256 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61258         * wcsmbs/Makefile (tests-ifunc): New variable.
61259         (tests): Add $(tests-ifunc).
61260         * wcsmbs/test-wcschr-ifunc.c: New file.
61261         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61262         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61263         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61264         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61265         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61267         * string/Makefile (tests-ifunc): New variable.
61268         (tests): Add $(tests-ifunc).
61269         * string/test-memccpy.c (TEST_NAME): New macro.
61270         * string/test-memchr.c (TEST_NAME): Likewise.
61271         * string/test-memcmp.c (TEST_NAME): Likewise.
61272         * string/test-memcpy.c (TEST_NAME): Likewise.
61273         * string/test-memmem.c (TEST_NAME): Likewise.
61274         * string/test-memmove.c (TEST_NAME): Likewise.
61275         * string/test-memset.c (TEST_NAME): Likewise.
61276         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61277         * string/test-stpcpy.c (TEST_NAME): Likewise.
61278         * string/test-stpncpy.c (TEST_NAME): Likewise.
61279         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61280         * string/test-strcasestr.c (TEST_NAME): Likewise.
61281         * string/test-strcat.c (TEST_NAME): Likewise.
61282         * string/test-strchr.c (TEST_NAME): Likewise.
61283         * string/test-strcmp.c(TEST_NAME): Likewise.
61284         * string/test-strcpy.c (TEST_NAME): Likewise.
61285         * string/test-strcspn.c (TEST_NAME): Likewise.
61286         * string/test-strlen.c (TEST_NAME): Likewise.
61287         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61288         * string/test-strncmp.c (TEST_NAME): Likewise.
61289         * string/test-strncpy.c (TEST_NAME): Likewise.
61290         * string/test-strnlen.c (TEST_NAME): Likewise.
61291         * string/test-strpbrk.c (TEST_NAME): Likewise.
61292         * string/test-strrchr.c (TEST_NAME): Likewise.
61293         * string/test-strspn.c (TEST_NAME): Likewise.
61294         * string/test-strstr.c (TEST_NAME): Likewise.
61295         * string/test-bcopy-ifunc.c: New file.
61296         * string/test-bzero-ifunc.c: Likewise.
61297         * string/test-memccpy-ifunc.c: Likewise.
61298         * string/test-memchr-ifunc.c: Likewise.
61299         * string/test-memcmp-ifunc.c: Likewise.
61300         * string/test-memcpy-ifunc.c: Likewise.
61301         * string/test-memmem-ifunc.c: Likewise.
61302         * string/test-memmove-ifunc.c: Likewise.
61303         * string/test-mempcpy-ifunc.c: Likewise.
61304         * string/test-memset-ifunc.c: Likewise.
61305         * string/test-rawmemchr-ifunc.c: Likewise.
61306         * string/test-stpcpy-ifunc.c: Likewise.
61307         * string/test-stpncpy-ifunc.c: Likewise.
61308         * string/test-strcasecmp-ifunc.c: Likewise.
61309         * string/test-strcasestr-ifunc.c: Likewise.
61310         * string/test-strcat-ifunc.c: Likewise.
61311         * string/test-strchr-ifunc.c: Likewise.
61312         * string/test-strchrnul-ifunc.c: Likewise.
61313         * string/test-strcmp-ifunc.c: Likewise.
61314         * string/test-strcpy-ifunc.c: Likewise.
61315         * string/test-strcspn-ifunc.c: Likewise.
61316         * string/test-strlen-ifunc.c: Likewise.
61317         * string/test-strncasecmp-ifunc.c: Likewise.
61318         * string/test-strncat-ifunc.c: Likewise.
61319         * string/test-strncmp-ifunc.c: Likewise.
61320         * string/test-strncpy-ifunc.c: Likewise.
61321         * string/test-strnlen-ifunc.c: Likewise.
61322         * string/test-strpbrk-ifunc.c: Likewise.
61323         * string/test-strrchr-ifunc.c: Likewise.
61324         * string/test-strspn-ifunc.c: Likewise.
61325         * string/test-strstr-ifunc.c: Likewise.
61327         * debug/Makefile (tests-ifunc): New variable.
61328         (tests): Add $(tests-ifunc).
61329         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61330         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61331         * debug/test-stpcpy_chk-ifunc.c: New file.
61332         * debug/test-strcpy_chk-ifunc.c: Likewise.
61334 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61336         [BZ #13601]
61337         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61338         header is not read in.
61340 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61342         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61343         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61344         directly.  Pass built executable to script as
61345         $(built-program-cmd).
61346         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61347         $testprogram without using LD_LIBRARY_PATH and $ldso.
61349         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61350         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61351         $(rtld-installed-name).
61352         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61353         (rtld_installed_name): Likewise.
61354         (library_path): Likewise.
61355         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61356         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61357         $(run-program-prefix) to tst-tables.sh.
61358         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61359         it to run tst-table-from and tst-table-to.
61360         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61361         Pass it to tst-table.sh.
61362         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61363         $(run-program-prefix) to tst-gettext.sh.
61364         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61365         tst-translit.sh.
61366         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61367         tst-gettext2.sh.
61368         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61369         to run tst-gettext.
61370         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61371         to run tst-gettext2.
61372         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61373         to run tst-translit.
61374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61375         $(run-program-prefix) to tst-mtrace.sh.
61376         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61377         to run tst-mtrace.
61378         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61379         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61380         $(rtld-installed-name).
61381         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61382         (rtld_installed_name): Likewise.
61383         (run_program_prefix): New variable.  Use it to run wordexp-test.
61385         * Makeconfig (ARCH): Remove all definitions.
61386         (machine): Likewise.
61387         [ARCH]: Remove conditional code.
61388         [!objdir]: Give error.
61389         [!objdir] (objpfx): Remove.
61390         [!objdir] (common-objpfx): Likewise.
61391         [!objdir] (common-objdir): Likewise.
61392         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61393         AC_CONFIG_FILES call.
61394         * configure: Regenerated.
61396         [BZ #13888]
61397         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61398         or TMPDIR.
61399         (testout): Likewise.
61401         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61402         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61403         $(rtld-installed-name).
61404         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61405         (rtld_installed_name): Likwise.
61406         (runit): Remove function.
61407         (run_getconf): New variable,  Use it for running getconf binary.
61409 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61411         [BZ #14716]
61412         * string/test-memmem.c (check_result): New function.
61413         (do_one_test): Use it.
61414         (check1): New function.
61415         (test_main): Use it.
61417 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61419         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61421 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61423         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61424         (_G_LSEEK64): Likewise.
61425         (_G_MMAP64): Likewise.
61426         (_G_FSTAT64): Likewise.
61427         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61428         (_G_LSEEK64): Likewise.
61429         (_G_MMAP64): Likewise.
61430         (_G_FSTAT64): Likewise.
61431         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61432         unconditional.  Call __mmap64 directly.
61433         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61434         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61435         __lseek64 directly.
61436         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61437         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61438         __mmap64 directly.
61439         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61440         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61441         __lseek64 directly.
61442         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61443         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61444         __lseek64 directly.
61445         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61446         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61447         __lseek64 directly.
61448         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61449         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61450         __fxstat64 directly.
61451         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61452         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61453         unconditional.
61454         (freopen64) [!_G_OPEN64]: Remove conditional code.
61455         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61456         unconditional.
61457         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61458         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61459         unconditional.
61460         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61461         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61462         unconditional.
61463         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61464         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61465         unconditional.
61466         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61467         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61468         unconditional.
61469         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61470         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61471         unconditional.
61472         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61473         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61474         unconditional.
61475         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61477 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61479         [BZ #12140]
61480         * manual/memory.texi (Malloc Tunable Parameters): Add note
61481         about free list pointers overwriting some perturb bytes.
61482         Wording suggested by Roland McGrath.
61484 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61486         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61487         (lgamma_test): Likewise.
61488         (tgamma_test): Likewise.
61490 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61492         [BZ #14700]
61493         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61494         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61496 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61498         * NEWS: Mention BZ #14716.
61499         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61500         when removing AVAILABLE1_USES_J macro.
61502 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61504         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61505         (__bswap_64): __uint64_t for unsigned 64-bit int.
61507 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61509         * include/string.h (memmem): Declare libc hidden alias.
61510         * string/memmem.c (memmem): Define libc hidden alias.
61511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61512         __read, __close instead of open, read, close.
61514 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61517         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61518         global and hidden.
61519         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61520         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61521         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61522         Likewise.
61523         (__rawmemchr_sse2): Likewise.
61524         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61525         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61526         (__strchr_sse2): Likewise.
61527         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61528         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61529         (__strcasecmp_sse2): Likewise.
61530         (__strncasecmp_sse2): Likewise.
61531         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61532         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61533         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61534         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61535         (__strrchr_sse2): Likewise.
61536         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61537         ifunc-impl-list.c.
61538         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61540         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61542         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61544         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61545         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61546         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61547         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61548         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61549         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61550         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61551         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61552         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61553         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61554         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61555         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61556         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61557         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61558         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61559         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61560         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61561         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61562         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61563         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61564         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61565         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61566         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61567         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61569         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61570         global and hidden.
61571         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61572         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61573         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61574         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61575         Likewise.
61576         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61577         Likewise.
61578         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61579         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61580         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61581         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61582         ifunc-impl-list.c.
61583         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61584         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61585         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61592         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61593         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61594         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61595         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61596         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61597         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61599         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61600         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61601         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61602         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61603         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61604         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61605         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61606         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61607         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61608         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61609         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61610         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61611         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61612         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61613         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61614         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61615         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61616         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61617         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61618         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61619         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61621         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61622         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61623         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61625         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61626         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61627         * include/ifunc-impl-list.h: New file.
61628         * misc/ifunc-impl-list.c: Likewise.
61629         * misc/Makefile (routines): Add ifunc-impl-list.
61630         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61631         * string/test-string.h: Include <ifunc-impl-list.h>.
61632         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61633         TEST_NAME]: New variables.
61634         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61635         are defined.
61636         (test_init): Call __libc_ifunc_impl_list to initialize
61637         func_list if TEST_IFUNC and TEST_NAME are defined.
61639         * string/Makefile (strop-tests): Add bcopy and bzero.
61640         * string/test-bcopy.c: New file.
61641         * string/test-bzero.c: Likewise.
61642         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61643         defined.
61644         * string/test-memset.c: Support bzero test if TEST_BZERO is
61645         defined.
61646         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61647         __libc_memmove.
61648         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61649         __libc_memset.
61650         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61651         of memset.
61653 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61655         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61656         * configure: Regenerated.
61658         * Makeconfig (+link-static-before-libc): Don't include
61659         $(link-static-libc).
61661         * libio/libio.h (_IO_pos_t): Remove.
61663 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61665         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61666         McGrath.
61668 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61670         * crypt/crypt-entry.c: Include fips-private.h.
61671         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61672         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61673         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61674         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61676 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61678         * crypt/crypt-private.h: Include stdbool.h.
61679         (_ufc_setup_salt_r): Return bool.
61680         * crypt/crypt-entry.c: Include errno.h.
61681         (__crypt_r): Return NULL with EINVAL for bad salt.
61682         * crypt/crypt_util.c (bad_for_salt): New.
61683         (_ufc_setup_salt_r): Check that salt is long enough and within
61684         the specified alphabet.
61685         * crypt/badsalttest.c: New file.
61686         * crypt/Makefile (tests): Add it.
61687         ($(objpfx)badsalttest): New.
61689 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61691         * NEWS: Add entry for BZ #14602.
61693 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61695         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61696         type-generic.
61697         * math/libm-test.inc: Update comment listing what functions and
61698         macros are tested.
61699         (isgreater_test): New function.
61700         (isgreaterequal_test): Likewise.
61701         (isless_test): Likewise.
61702         (islessequal_test): Likewise.
61703         (islessgreater_test): Likewise.
61704         (isunordered_test): Likewise.
61705         (main): Call the new functions.
61707 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61709         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61710         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61711         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61712         * sysdeps/i386/configure: Regenerated.
61713         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61714         * sysdeps/mach/configure: Regenerated.
61715         * sysdeps/mach/hurd/configure: Regenerated.
61716         * sysdeps/powerpc/configure: Regenerated.
61717         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61718         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61719         * sysdeps/s390/s390-32/configure: Regenerated.
61720         * sysdeps/s390/s390-64/configure: Regenerated.
61721         * sysdeps/sh/configure: Regenerated.
61722         * sysdeps/sparc/configure: Regenerated.
61723         * sysdeps/unix/sysv/linux/configure: Regenerated.
61724         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61725         * sysdeps/x86_64/configure: Regenerated.
61727         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61728         defined.  Don't check if MAP is NULL.
61730 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61732         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61733         (_G_stat64): Likewise.
61734         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61735         (_G_stat64): Likewise.
61736         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61737         instead of struct _G_stat64.
61738         * libio/fileops.c (mmap_remap_check): Likewise.
61739         (decide_maybe_mmap): Likewise.
61740         (_IO_new_file_seekoff): Likewise.
61741         (_IO_file_stat): Likewise.
61742         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61743         _G_off64_t.
61744         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61745         instead of struct _G_stat64.
61746         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61748 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61750         [BZ #14602]
61751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61752         Replace with ...
61753         (CHECK_EOL): New macro.
61754         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61755         CHECK_EOL.
61756         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61757         Replace with CHECK_EOL.
61758         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61759         Replace with CHECK_EOL.
61761 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61763         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61764         type-generic.
61765         * math/libm-test.inc: Update comment listing what functions and
61766         macros are tested.
61767         (finite_test): New function.
61768         (isinf_test): Likewise.
61769         (isnan_test): Likewise.
61770         (fpclassify_test): Test subnormal input.
61771         (isfinite_test): Likewise.
61772         (isnormal_test): Likewise.
61773         (main): Call the new functions.
61775 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61777         [BZ #14660]
61778         * Makerules (%.dynsym): Force C locale when running
61779         $(OBJDUMP) --dynamic-syms.
61781 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61783         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61784         <stdint.h>.
61786 2012-10-06  David S. Miller  <davem@davemloft.net>
61788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61789         upper 32-bits of the length value in %o2 since we use branch-on-register
61790         tests which consider the entire 64-bit register.
61792 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61794         * string/test-strstr.c (check2): Add a test for page boundary.
61796 2012-10-05  David S. Miller  <davem@davemloft.net>
61798         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61799         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61800         file.
61801         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61802         sysdep_routines.
61803         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61804         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61805         and bzero when HWCAP_SPARC_CRYPTO is present.
61807 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61809         [BZ #14602]
61810         * string/test-strstr.c (check2): New function.
61811         (test_main): Call check2.
61813         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61814         and bug-strchr1.
61815         * string/bug-strcasestr1.c (do_test): Moved to ...
61816         * string/test-strcasestr.c (check1): Here.  New function.
61817         (do_one_test): Break out result checking code into ...
61818         (check_result): This.  New function.
61819         (do_one_test): Call check_result.
61820         (test_main): Call check1.
61821         * string/bug-strchr1.c (do_test): Moved to ...
61822         * string/test-strchr.c (check1): Here.  New function.
61823         (do_one_test): Break out result checking code into ...
61824         (check_result): This.  New function.
61825         (do_one_test): Call check_result.
61826         (test_main): Call check1.
61827         * string/bug-strstr1.c (main): Moved to ...
61828         * string/test-strstr.c (check1): Here.  New function.
61829         (do_one_test): Break out result checking code into ...
61830         (check_result): This.  New function.
61831         (do_one_test): Call check_result.
61832         (test_main): Call check1.
61833         * string/bug-strcasestr1.c: Removed.
61834         * string/bug-strchr1.c: Likewise.
61835         * string/bug-strstr1.c: Likewise.
61837         * elf/Makefile (dl-routines): Add hwcaps.
61838         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61839         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61840         (_dl_important_hwcaps): Moved to ...
61841         * elf/dl-hwcaps.c: Here.  New file.
61842         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61844         [BZ #14557]
61845         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61846         if IS_IN_rtld isn't defined.
61848         * elf/dl-support.c (_dl_sysinfo_map): New.
61849         Include "get-dynamic-info.h" and "setup-vdso.h".
61850         (_dl_non_dynamic_init): Call setup_vdso.
61851         * elf/dynamic-link.h: Don't include <assert.h>.
61852         (elf_get_dynamic_info): Moved to ...
61853         * elf/get-dynamic-info.h: Here.  New file.
61854         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61855         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61856         * elf/setup-vdso.h: Here.  New file.
61857         * elf/rtld.c: Include "setup-vdso.h".
61858         (dl_main): Call setup_vdso.
61860 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61862         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61863         creal in comment listing functions tested.  List finite, isinf,
61864         isnan, isless, islessequal, isgreater, isgreaterequal,
61865         islessgreater, isunordered, lgamma_r and pow10 as functions and
61866         macros not tested.  Mention which functions not tested are aliases
61867         for other functions.  Fix typo.  Note that signs of NaNs are not
61868         tested.
61870         * scripts/config.guess: Update from config.git.
61871         * scripts/config.sub: Likewise.
61873 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61875         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61876         * misc/madvise.c (madvise): Renamed to __madvise.
61877         Make madvise a weak alias.
61878         * include/sys/mman.h: Declare __madvise.
61879         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61880         * sysdeps/unix/syscalls.list
61881         (madvise): Make __madvise the strong name, and madvise a weak alias.
61882         * sysdeps/unix/sysv/linux/syscalls.list
61883         (madvise, mmap): Remove redundant entries.
61884         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61885         * malloc/malloc.c (mtrim): Likewise.
61886         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61888 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61890         * sysdeps/mach/hurd/dl-cache.c: File removed.
61891         * config.h.in (USE_LDCONFIG): New #undef.
61892         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61893         * configure: Regenerated.
61894         * elf/Makefile (dl-routines): Add dl-cache only under
61895         [$(use-ldconfig) = yes].
61896         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61897         cache on [USE_LDCONFIG].
61898         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61899         [USE_LDCONFIG].
61900         * elf/rtld.c (dl_main): Likewise.
61902 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61904         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61905         _SC_LEVEL4_CACHE_LINESIZE.
61907 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61909         * sysdeps/unix/bsd/confstr.h: File removed.
61911 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61913         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61914         sys/sdt-config.h.
61916 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61918         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61919         Make 'mapoff' field ElfW(Off) rather than off_t.
61921 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61923         * nscd/Makefile: Remove nscd-cflags and all its users.
61924         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61925         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61927         [BZ #10631]
61928         * malloc.c (malloc_printerr): Clarify error message.
61930 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61932         [BZ #14648]
61933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61934         Set bit_FMA_Usable if FMA is supported.
61935         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61936         macro.
61937         (bit_FMA4_Usable): Updated.
61938         (index_FMA_Usable): New macro.
61939         (CPUID_FMA): Likewise.
61940         (HAS_FMA): Defined with bit_FMA_Usable.
61942 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61944         * bits/types.h (__swblk_t): Type removed.
61945         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61946         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61948         (__SWBLK_T_TYPE): Likewise.
61949         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61950         (__SWBLK_T_TYPE): Likewise.
61951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61952         (__SWBLK_T_TYPE): Likewise.
61953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61954         (__SWBLK_T_TYPE): Likewise.
61956 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61957             Honza Horak <hhorak@redhat.com>
61959         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61960         (xdr_mapname): Use YPMAXMAP as maxsize.
61961         (xdr_peername): Use YPMAXPEER as maxsize.
61962         (xdr_keydat): Use YPAXRECORD as maxsize.
61963         (xdr_valdat): Use YPMAXRECORD as maxsize.
61965 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61967         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61969         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61970         * csu/init-first.c: ... here.
61971         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61972         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61973         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61974         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61975         * sysdeps/i386/init-first.c: File removed.
61976         * sysdeps/sh/init-first.c: File removed.
61978 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61980         [BZ #14645]
61981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61982         if x * y might underflow to zero and z is zero.
61983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61985         * math/libm-test.inc (min_subnorm_value): New variable.
61986         (fma_test): Add more tests.
61987         (fma_test_towardzero): Likewise.
61988         (fma_test_downward): Likewise.
61989         (fma_test_upward): Likewise.
61990         (initialize): Set min_subnorm_value.
61992 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61994         [BZ #14638]
61995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61996         0 + 0.
61997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61998         mode for addition resulting in exact zero.
61999         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62001         exact 0 + 0.
62002         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62004         * math/libm-test.inc (fma_test): Add more tests.
62005         (fma_test_towardzero): New function.
62006         (fma_test_downward): Likewise.
62007         (fma_test_upward): Likewise.
62008         (main): Call the new functions.
62010 2012-09-28  David S. Miller  <davem@davemloft.net>
62012         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62014 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62016         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62017         instead of SIGALRM.
62019         * sysdeps/gnu/_G_config.h: Moved to ...
62020         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62021         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62022         * sysdeps/generic/_G_config.h: ... here.
62024         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62026         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62028         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62029         Conditionalize target on [libnss_test1.so-version].
62031         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62033         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62034         (elfobjdir): Move out of conditionals.
62036         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62037         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62038         (__nss_lookup_function): Conditionalize label remove_from_tree on
62039         [!DO_STATIC_NSS || SHARED], matching its only use.
62041 2012-09-28  David S. Miller  <davem@davemloft.net>
62043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62044         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62045         file.
62046         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62047         sysdep_routines.
62048         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62050         when HWCAP_SPARC_CRYPTO is present.
62052 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62054         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62056 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62058         [BZ #6530]
62059         * stdio-common/vfprintf.c (process_string_arg): Revert
62060         2000-07-22 change.
62062 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62064         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62065         for testcase.
62066         * stdio-common/tst-sprintf.c: Include <locale.h>
62067         (main): Test sprintf's handling of incomplete multibyte
62068         characters.
62070 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62072         * elf/dl-runtime.c (VERSYMIDX): Removed.
62073         * elf/dl-version.c (VERSYMIDX): Likewise.
62074         * elf/do-rel.h (VERSYMIDX): Likewise.
62075         (VALIDX): Likewise.
62076         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62077         * elf/rtld.c (VALIDX): Likewise.
62078         (ADDRIDX): Likewise.
62079         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62080         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62081         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62082         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62083         (VALIDX): Likewise.
62084         (ADDRIDX): Likewise.
62086 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62088         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62090 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62092         [BZ #11438]
62093         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62094         to global scope.
62095         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62096         addresses are in the same scope as 192.0.2/24.
62097         * posix/gai.conf: Document new scope table defaults.
62099 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62101         [BZ #5298]
62102         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62103         for ftell.  Compute offsets from write pointers instead.
62104         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62106 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62108         [BZ #14543]
62109         * libio/Makefile (tests): New test case tst-fseek.
62110         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62111         combination works in wide mode.
62112         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62113         state when the external buffer state changes.
62115 2012-09-27  David S. Miller  <davem@davemloft.net>
62117         [BZ #14376]
62118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62119         pass reloc->r_addend in as the 'high' argument to
62120         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62124 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62126         * rt/tst-aio2.c: Include <pthread.h>.
62127         * rt/tst-aio3.c: Likewise.
62129 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62131         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62133 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62135         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62136         contents on [SHARED].
62138 2012-09-26  Marek Polacek  <polacek@redhat.com>
62140         [BZ #14530]
62141         [BZ #13741]
62142         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62143         for C++ and GCC <4.3 as well as for non GCC compilers.
62145 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62149 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62151         * Makefile.in (all, install): Declare with .PHONY.
62152         Reported by Michael Hope <michael.hope@linaro.org>.
62154 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62156         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62157         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62158         system header.
62159         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62160         Likewise.
62161         (sydep_routines): Add the new and the internal functions.
62162         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62163         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62165         (GLIBC_2.17): Add the new function.
62166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62167         (GLIBC_2.17): Likewise.
62168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62169         (GLIBC_2.17): Likewise.
62170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62171         (GLIBC_2.17): Likewise.
62172         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62174 2012-09-25  Alan Modra  <amodra@gmail.com>
62176         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62177         Add release barrier before setting once_control to say
62178         initialisation is done.  Add hints on lwarx.  Use macro in
62179         place of isync.
62180         (clear_once_control): Add release barrier.
62182 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62184         [BZ #13629]
62185         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62186         specially.
62187         * math/s_clog10.c (__clog10): Likewise.
62188         * math/s_clog10f.c (__clog10f): Likewise.
62189         * math/s_clog10l.c (__clog10l): Likewise.
62190         * math/s_clogf.c (__clogf): Likewise.
62191         * math/s_clogl.c (__clogl): Likewise.
62192         * math/Makefile (libm-calls): Add x2y2m1.
62193         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62194         (__x2y2m1): Likewise.
62195         (__x2y2m1l): Likewise.
62196         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62197         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62198         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62200         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62201         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62202         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62203         * sysdeps/i386/fpu/libm-test-ulps: Update.
62204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62206         [BZ #14621]
62207         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62208         int as type of variable DEPTH.
62209         (glob): Use size_t instead of int as type of variables NEWCOUNT
62210         and OLD_PATHC.
62212 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62214         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62215         Add s_sincosf-sse2.
62216         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62217         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62218         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62219         macros for using routine as __sincosf_ia32.
62220         Use macro for function declaration and weak_alias.
62221         * sysdeps/i386/fpu/libm-test-ulps: Update.
62223         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62226         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62227         subnormal argument.
62228         * math/s_cexpf.c (__cexpf): Likewise.
62229         * math/s_csinf.c (__csinf): Likewise.
62230         * math/s_csinhf.c (__csinhf): Likewise.
62231         * math/s_ctanf.c (__ctanf): Likewise.
62232         * math/s_ctanhf.c (__ctanhf): Likewise.
62233         * math/s_ccosh.c (__ccoshf): Likewise.
62234         * math/s_cexp.c (__cexpl): Likewise.
62235         * math/s_csin.c (__csin): Likewise.
62236         * math/s_csinh.c (__csinh): Likewise.
62237         * math/s_ctan.c (__ctan): Likewise.
62238         * math/s_ctanh.c (ctanh): Likewise.
62239         * math/s_ccoshl.c (__ccoshl): Likewise.
62240         * math/s_cexpl.c (__cexpl): Likewise.
62241         * math/s_csinl.c (__csinl): Likewise.
62242         * math/s_csinhl.c (__csinhl): Likewise.
62243         * math/s_ctanl.c (__ctanl): Likewise.
62244         * math/s_ctanhl.c (__ctanhl): Likewise.
62246 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62248         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62249         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62250         (_IO_off_t): Define to __off_t, not _G_off_t.
62251         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62252         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62253         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62254         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62255         type of __dummy and __dummy2 fields.
62256         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62257         (_G_ssize_t): Likewise.
62258         (_G_off_t): Likewise.
62259         (_G_pid_t): Likewise.
62260         (_G_uid_t): Likewise.
62261         (_G_wchar_t): Likewise.
62262         (_G_wint_t): Likewise.
62263         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62264         (_G_ssize_t): Likewise.
62265         (_G_off_t): Likewise.
62266         (_G_pid_t): Likewise.
62267         (_G_uid_t): Likewise.
62268         (_G_wchar_t): Likewise.
62269         (_G_wint_t): Likewise.
62270         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62271         (_G_ssize_t): Likewise.
62272         (_G_off_t): Likewise.
62273         (_G_pid_t): Likewise.
62274         (_G_uid_t): Likewise.
62275         (_G_wchar_t): Likewise.
62276         (_G_wint_t): Likewise.
62278 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62280         * malloc/arena.c: Include malloc-sysdep.h.
62281         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62282         is sufficient to shrink the heap or an unmap is needed.
62283         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62284         new function check_may_shrink_heap.
62285         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62286         new function check_may_shrink_heap.
62288 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62290         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62291         comments.
62293 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62295         * catgets/test-gencat.sh: Add "set -e".
62296         * elf/tst-pathopt.sh: Likewise.
62297         * grp/tst_fgetgrent.sh: Likewise.
62298         * iconvdata/run-iconv-test.sh: Likewise.
62299         * intl/tst-gettext.sh: Likewise.
62300         * intl/tst-gettext2.sh: Likewise.
62301         * intl/tst-gettext4.sh: Likewise.
62302         * intl/tst-gettext6.sh: Likewise.
62303         * intl/tst-translit.sh: Likewise.
62304         * io/ftwtest-sh: Likewise.
62305         * libio/test-freopen.sh: Likewise.
62306         * malloc/tst-mtrace.sh: Likewise.
62307         * posix/globtest.sh: Likewise.
62308         * posix/tst-getconf.sh: Likewise.
62309         * posix/wordexp-tst.sh: Likewise.
62310         * stdio-common/tst-printf.sh: Likewise.
62311         * stdio-common/tst-unbputc.sh: Likewise.
62312         * stdlib/tst-fmtmsg.sh: Likewise.
62313         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62314         * catgets/Makefile: Do not specify -e option when running
62315         testsuite shell scripts.
62316         * elf/Makefile: Likewise.
62317         * grp/Makefile: Likewise.
62318         * iconvdata/Makefile: Likewise.
62319         * intl/Makefile: Likewise.
62320         * io/Makefile: Likewise.
62321         * libio/Makefile: Likewise.
62322         * malloc/Makefile: Likewise.
62323         * posix/Makefile: Likewise.
62324         * stdio-common/Makefile: Likewise.
62325         * stdlib/Makefile: Likewise.
62326         * sysdeps/x86_64/Makefile: Likewise.
62328         * io/ftwtest-sh: Add copyright header.
62329         * posix/globtest.sh: Likewise.
62330         * posix/tst-getconf.sh: Likewise.
62331         * posix/wordexp-tst.sh: Likewise.
62332         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62334 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62336         [BZ #13679]
62337         * Makeconfig (+link): Defined as $(+link-static) if
62338         $(build-shared) isn't yes.
62339         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62340         isn't yes.
62341         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62343         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62345         [BZ #14562]
62346         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62347         new chunk size with MALLOC_ALIGN_MASK.
62349 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62351         [BZ #5044]
62352         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62353         <rounding-mode.h>.
62354         (__printf_fphex): Determine rounding using get_rounding_mode and
62355         round_away.
62356         * stdio-common/tst-printf-round.c (struct hex_test): New
62357         structure.
62358         (hex_tests): New variable.
62359         (test_hex_in_one_mode): New function.
62360         (do_test): Also run tests for hex float output.
62362 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62364         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62365         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62366         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62367         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62368         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62369         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62370         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62371         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62373 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62375         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62376         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62377         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62378         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62380 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62382         [BZ #14579]
62383         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62384         mode only.
62385         * elf/tst-rtld-load-self.sh: New test.
62386         * elf/Makefile: Run it.
62388 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62390         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62391         (tst-writev-ENV): Remove.
62392         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62394 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62396         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62398 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62400         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62401         unconditional.
62402         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62403         Likewise.
62404         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62405         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62406         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62407         Likewise.
62409 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62411         [BZ #14587]
62412         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62413         * config.make.in (have-cpp-asm-debuginfo): Removed.
62414         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62415         * configure: Regenerated.
62417 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62419         [BZ #5044]
62420         * stdio-common/printf_fp.c: Include <stdbool.h> and
62421         <rounding-mode.h>.
62422         (___printf_fp): Determine rounding using get_rounding_mode and
62423         round_away.
62424         * stdio-common/tst-printf-round.c: New file.
62425         * stdio-common/Makefile (tests): Add tst-printf-round.
62426         (link-libm): New variable.
62427         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62429 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62431         [BZ #14576]
62432         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62433         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62434         Likewise.
62435         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62436         Likewise.
62438 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62440         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62441         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62442         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62443         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62445 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62447         [BZ #14518]
62448         * include/rounding-mode.h: New file.
62449         * sysdeps/generic/get-rounding-mode.h: Likewise.
62450         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62451         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62452         (MAX_VALUE): New macro.
62453         (MIN_VALUE): Likewise.
62454         (overflow_value): New function.
62455         (underflow_value): Likewise.
62456         (round_and_return): Use overflow_value and underflow_value to
62457         determine return values in overflow and underflow cases.  Use
62458         round_away to determine rounding depending on rounding mode.
62459         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62460         determine return values in overflow and underflow cases.
62461         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62462         (struct test_results): New structure.
62463         (struct test): Use struct test_results to store expected results
62464         for all rounding modes.
62465         (TEST): Include expected results for all rounding modes.
62466         (test_in_one_mode): New function.
62467         (do_test): Use test_in_one_mode to compute and check results.
62468         Check results for all rounding modes.
62469         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62470         $(link-libm).
62472 2012-12-09  Allan McRae  <allan@archlinux.org>
62474         * sysdeps/i386/fpu/libm-test-ulps: Update
62476 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62478         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62479         (_G_int32_t): Likewise.
62480         (_G_uint16_t): Likewise.
62481         (_G_uint32_t): Likewise.
62482         (_G_HAVE_BOOL): Likewise.
62483         (_G_HAVE_ATEXIT): Likewise.
62484         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62485         (_G_HAVE_IO_FILE_OPEN): Likewise.
62486         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62487         (_G_int32_t): Likewise.
62488         (_G_uint16_t): Likewise.
62489         (_G_uint32_t): Likewise.
62490         (_G_HAVE_BOOL): Likewise.
62491         (_G_HAVE_ATEXIT): Likewise.
62492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62493         (_G_HAVE_IO_FILE_OPEN): Likewise.
62494         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62495         (_G_int32_t): Likewise.
62496         (_G_uint16_t): Likewise.
62497         (_G_uint32_t): Likewise.
62498         (_G_HAVE_BOOL): Likewise.
62499         (_G_HAVE_ATEXIT): Likewise.
62500         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62501         (_G_HAVE_IO_FILE_OPEN): Likewise.
62503 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62505         * csu/libc-tls.c: Update copyright years.
62507 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62509         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62510         [!_G_USING_THUNKS]: Remove conditional code.
62511         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62512         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62514         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62515         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62516         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62517         (_G_VTABLE_LABEL_PREFIX): Likewise.
62518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62519         * sysdeps/gnu/_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.
62523         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62524         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62525         (_G_VTABLE_LABEL_PREFIX): Likewise.
62526         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62528 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62530         * libio/Makefile: Include ../Makeconfig before tests.
62531         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62532         only if $(build-shared) is yes.
62534         * iconv/gconv_db.c: Update copyright years.
62536 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62538         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62539         unwind info if defined PIC. Fix special cases description.
62540         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62542         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62543         DP_HI_MASK entry.
62544         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62546 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62548         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62550         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62551         is NULL.
62553         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62554         (LDLIBS-tst-chk4): This.
62555         (LDFLAGS-tst-chk5): Renamed to ...
62556         (LDLIBS-tst-chk5): This.
62557         (LDFLAGS-tst-chk6): Renamed to ...
62558         (LDLIBS-tst-chk6): This.
62559         (LDFLAGS-tst-lfschk4): Renamed to ...
62560         (LDLIBS-tst-lfschk4): This.
62561         (LDFLAGS-tst-lfschk5): Renamed to ...
62562         (LDLIBS-tst-lfschk5): This.
62563         (LDFLAGS-tst-lfschk6): Renamed to ...
62564         (LDLIBS-tst-lfschk6): This.
62566         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62567         on $(common-objpfx)soversions.mk.
62569 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62571         [BZ #10014]
62572         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62573         example host name.
62575 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62577         * malloc/arena.c (arena_get_retry): New function that gets
62578         another arena for the caller to try its request on.
62579         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62580         current arena cannot fulfill the request.
62581         (__libc_memalign): Likewise.
62582         (__libc_memalign): Likewise.
62583         (__libc_pvalloc): Likewise.
62584         (__libc_calloc): Likewise.
62586 2012-09-05  John Tobey  <john.tobey@gmail.com>
62588         [BZ #13542]
62589         * manual/arith.texi (Operations on Complex): Fix description
62590         of carg branch cut.
62592 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62594         [BZ #10014]
62595         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62596         host name.
62598         [BZ #10038]
62599         * manual/memory.texi (Memory): Make order of menu items match
62600         order of sections.
62602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62604         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62605         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62606         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62608 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62610         * csu/libc-tls.c (static_dtv): Renamed to ...
62611         (_dl_static_dtv): This.  Make it global.
62612         (_dl_initial_dtv): Removed.
62613         (__libc_setup_tls): Updated.
62614         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62615         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62616         DL_INITIAL_DTV.
62618 2012-09-06  Petr Machata  <pmachata@redhat.com>
62620         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62621         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62622         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62623         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62625 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62627         [BZ #14545]
62628         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62629         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62630         freeing dtv[-1].
62632 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62634         [BZ #14544]
62635         * Makeconfig (link-static-before-libc): Replace $(+prector)
62636         with $(+prectorT).
62637         (link-static-after-libc): Replace $(+postctor) with
62638         $(+postctorT).
62639         (link-bounded): Replace $(+prector)/$(+postctor) with
62640         $(+prectorT)/$(+postctorT).
62641         (+prectorT): New macro.
62642         (+postctorT): Likewise.
62644 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62646         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62647         (round_str): Handle values above the maximum for IBM long double
62648         as inexact.
62649         * stdlib/tst-strtod-round.c (tests): Regenerated.
62651 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62653         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62654         assembler flag.
62655         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62656         zarch_nohighgprs around the zarch optimized routines.
62657         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62658         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62660         for zarch.
62662 2012-09-05  David S. Miller  <davem@davemloft.net>
62664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62666         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62667         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62668         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62669         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62670         entries.
62672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62674         * malloc/arena.c: Fold copyright years.
62675         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62679         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62681 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62683         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62687         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62688         change internal state upon failure.
62690 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62692         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62693         * malloc/memusage.c (mmap): Likewise.
62694         (mmap64, mremap): Likewise.  Adjust name in comment.
62696 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62698         * libio/fileops.c: Fix typos in comments.
62699         * libio/oldfileops.c: Likewise.
62700         * libio/wfileops.c: Likewise.
62702 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62704         [BZ #1349]
62705         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62706         (tst-malloc-usable-ENV): Set environment for test case.
62707         * malloc/hooks.c (malloc_check_get_size): New function to get
62708         requested size.
62709         * malloc/malloc.c (musable): Use malloc_check_get_size.
62710         * malloc/tst-malloc-usable.c: New test case.
62712 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62714         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62716 2012-09-05  Allan McRae  <allan@archlinux.org>
62718         [BZ #13966]
62719         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62720         determine header location.
62721         * configure: Regenerated.
62723 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62725         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62726         float format.
62727         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62728         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62729         format.
62730         (test): Regenerate.
62732 2012-09-04  David S. Miller  <davem@davemloft.net>
62734         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62735         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62738 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62740         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62741         failures.
62743         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62745 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62747         [BZ #9914]
62748         * libio/iogetdelim.c: Include <limits.h>.
62749         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62750         + len + 1 would overflow.
62752 2012-09-03  Andreas Jaeger  <aj@suse.de>
62754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62755         * sysdeps/i386/fpu/libm-test-ulps: Update.
62757 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62759         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62760         Add s_sinf-sse2, s_conf-sse2.
62762         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62763         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62764         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62765         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62767         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62768         for using routine as __sinf_ia32.
62769         Use macro for function declaration and weak_alias.
62770         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62771         for using routine as __cosf_ia32.
62772         Use macro for function declaration and weak_alias.
62774         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62775         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62777         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62778         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62781         * math/libm-test.inc (cos_test): Add more test cases.
62782         (sin_test): Likewise.
62783         (sincos_test): Likewise.
62785 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62787         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62788         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62789         hidden.
62790         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62792 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62794         [BZ #14538]
62795         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62796         first element of the GOT.
62797         (elf_machine_load_address): Return the difference between
62798         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62800 2012-09-01  Allan McRae  <allan@archlinux.org>
62802         [BZ #13412]
62803         * configure.in (AWK): Require gawk version 3.0 or later.
62804         * configure: Regenerated.
62806 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62808         * sysdeps/unix/sysv/linux/kernel-features.h
62809         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62810         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62811         [__NR_clock_getres]: Make code unconditional.
62812         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62813         (clock_getcpuclockid): Remove code left unreachable by removal of
62814         conditionals.
62815         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62816         code unconditional.
62817         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62818         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62819         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62820         Make code unconditional.
62821         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62822         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62823         * sysdeps/unix/sysv/linux/clock_settime.c
62824         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62825         conditional code.
62826         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62827         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62829 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62831         [BZ #14476]
62832         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62833         scripts/test-installation.pl.
62835         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62836         and $ld_so_version if it is set.
62838 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62840         [BZ #14516]
62841         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62842         failure if reading from procfs failed.
62843         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62845 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62847         * sysdeps/unix/sysv/linux/kernel-features.h
62848         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62849         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62850         Remove conditional code.
62851         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62852         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62853         Remove conditional code.
62854         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62855         * sysdeps/unix/sysv/linux/i386/fxstat.c
62856         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62857         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62858         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62859         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62860         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62861         * sysdeps/unix/sysv/linux/i386/lxstat.c
62862         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62863         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62864         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62865         Remove conditional code.
62866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62867         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62868         Remove conditional code.
62869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62870         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62871         <kernel-features.h>.
62872         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62873         Remove.
62874         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62875         Remove conditional code.
62876         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62877         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62878         Remove conditional.
62880 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62882         [BZ #5400]
62883         * NEWS: Add fixed bug number.
62885 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62887         [BZ #14519]
62888         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62889         underflowing exponent in case of negative sign.
62890         * stdlib/tst-strtod-round-data: Add more tests.
62891         * stdlib/tst-strtod-round.c (tests): Regenerated.
62893         [BZ #3479]
62894         * stdlib/strtod_l.c (NDIG): Remove.
62895         (HEXNDIG): Likewise.
62896         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62897         smallest representable value.
62898         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62899         lie within an exact representation of 1/2 ulp of the result.
62900         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62901         unconditionally.
62902         (TENS_P9_IDX): Define unconditionally.
62903         (TENS_P9_SIZE): Likewise.
62904         (TENS_P10_IDX): Likewise.
62905         (TENS_P10_SIZE): Likewise.
62906         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62907         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62909         entries for 10^2^13 and 10^2^14.
62910         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62911         (TENS_P13_IDX): Define.
62912         (TENS_P13_SIZE): Likewise.
62913         (TENS_P14_IDX): Likewise.
62914         (TENS_P14_SIZE): Likewise.
62915         (_fpioconst_pow10): Change array size to
62916         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62917         unconditional.
62918         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62919         1024]: Add entries for 10^2^13 and 10^2^14.
62920         [LAST_POW10 > _LAST_POW10]: Remove #error.
62921         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62922         (_fpioconst_pow10): Change array size to
62923         FPIOCONST_POW10_ARRAY_SIZE.
62924         * stdlib/gen-fpioconst.c: New file.
62925         * stdlib/gen-tst-strtod-round.c: Likewise.
62926         * stdlib/tst-strtod-round-data: Likewise.
62927         * stdlib/tst-strtod-round.c: Likewise.
62928         * stdlib/Makefile (tests): Add tst-strtod-round.
62930         [BZ #14459]
62931         * stdlib/strtod_l.c: Include <stdint.h>.
62932         (NDEBUG): Do not define.
62933         (round_and_return): Change EXPONENT parameter to type intmax_t.
62934         Rearrange calculations to avoid internal overflow possibilities.
62935         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62936         Rearrange calculations to avoid internal overflow possibilities.
62937         Assert that number fits inside MPNSIZE limbs.
62938         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62939         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62940         calculations and add assertions to avoid internal overflow
62941         possibilities.  Add casts to avoid signed/unsigned operations.
62942         * stdlib/tst-strtod-overflow.c: New file.
62943         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62945 2012-08-25  Marek Polacek  <polacek@redhat.com>
62947         * time/time.h: Fix some typos in comments.
62949 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62951         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62952         * posix/tst-rfc3484-2.c: Likewise.
62953         * posix/tst-rfc3484-3.c: Likewise.
62955 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62957         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62958         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62960 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62962         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62963         #include of fxstatat64.c.
62965 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62967         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62968         * shadow/getspent_r.c: Likewise.
62969         * shadow/getspnam.c: Likewise.
62970         * shadow/getspnam_r.c: Likewise.
62971         * gshadow/getsgent.c: Likewise.
62972         * gshadow/getsgent_r.c: Likewise.
62973         * gshadow/getsgnam.c: Likewise.
62974         * gshadow/getsgnam_r.c: Likewise.
62975         * inet/getnetbyad.c: Likewise.
62976         * inet/getnetbyad_r.c: Likewise.
62977         * inet/getnetbynm.c: Likewise.
62978         * inet/getnetbynm_r.c: Likewise.
62979         * inet/getnetent.c: Likewise.
62980         * inet/getnetent_r.c: Likewise.
62981         * inet/getproto.c: Likewise.
62982         * inet/getproto_r.c: Likewise.
62983         * inet/getprtent.c: Likewise.
62984         * inet/getprtent_r.c: Likewise.
62985         * inet/getprtname.c: Likewise.
62986         * inet/getprtname_r.c: Likewise.
62987         * inet/getrpcbyname.c: Likewise.
62988         * inet/getrpcbyname_r.c: Likewise.
62989         * inet/getrpcbynumber.c: Likewise.
62990         * inet/getrpcbynumber_r.c: Likewise.
62991         * inet/getrpcent.c: Likewise.
62992         * inet/getrpcent_r.c: Likewise.
62993         * inet/getaliasent.c: Likewise.
62994         * inet/getaliasent_r.c: Likewise.
62995         * inet/getaliasname.c: Likewise.
62996         * inet/getaliasname_r.c: Likewise.
62997         * nscd/getgrgid_r.c: Likewise.
62998         * nscd/getgrnam_r.c: Likewise.
62999         * nscd/gethstbyad_r.c: Likewise.
63000         * nscd/gethstbynm3_r.c: Likewise.
63001         * nscd/getpwnam_r.c: Likewise.
63002         * nscd/getpwuid_r.c: Likewise.
63003         * nscd/getsrvbynm_r.c: Likewise.
63004         * nscd/getsrvbypt_r.c: Likewise.
63005         * nscd/gai.c: Likewise.
63007         * configure.in (build_nscd): New substituted variable, set
63008         by --disable-build-nscd and defaults to $use_nscd.
63009         * configure: Regenerated.
63010         * config.make.in (build-nscd): New substituted variable.
63011         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63012         Change conditional to require [$(build-nscd) = yes] as well.
63013         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63015         [BZ# 13696]
63016         * configure.in (use_nscd): New substituted variable, set by
63017         --disable-nscd.  If enabled, define USE_NSCD.
63018         * configure: Regenerated.
63019         * config.h.in: Add USE_NSCD.
63020         * config.make.in (use-nscd): New substituted variable.
63021         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63022         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63023         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63024         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63025         (CFLAGS-getgrnam_r.c): Likewise.
63026         (CFLAGS-initgroups.c): Likewise.
63027         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63028         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63029         Variables removed.
63030         * inet/getnetgrent_r.c
63031         (nscd_setnetgrent): New function, broken out of ...
63032         (setnetgrent): ... here.  Call it.
63033         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63034         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63035         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63036         * nscd/Makefile (routines, aux): Move definitions after include of
63037         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63038         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63039         Conditionalize on [USE_NSCD].
63040         (is_nscd, nscd_init_cb): Likewise.
63041         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63042         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63043         * nss/nss_db/db-init.c: Likewise.
63044         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63045         [USE_NSCD].
63046         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63047         (make_request): Use it.
63048         (cache_valid_p): New function.
63049         (__check_pf): Use it.
63050         * NEWS: Add item for --disable-nscd.
63052 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63054         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63055         to support sed >= 4.2.1-20-ga9bf076.
63056         * configure: Regenerated.
63058 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63060         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63061         Conditionalize whole body on [IREL].
63063 2012-08-22  Jeff Law <law@redhat.com>
63065         [BZ #14505]
63066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63067         if the family is PF_UNSPEC.
63069 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63071         * Makerules (lib-version): Rename from V.
63072         (install-lib-nosubdir): Change V to lib-version.
63074 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63076         [BZ #14252]
63077         * powerpc32/power6/wcschr.c: New file.
63078         * powerpc32/power6/wcscpy.c: New file.
63079         * powerpc32/power6/wcsrchr.c: New file.
63080         * powerpc64/power6/wcschr.c: New file.
63081         * powerpc64/power6/wcscpy.c: New file.
63082         * powerpc64/power6/wcsrchr.c: New file.
63084 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63086         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63087         (two_way_short_needle): Use it.
63088         * string/strstr.c (AVAILABLE1_USES_J): Define.
63089         * string/strcasestr.c: Likewise.
63091         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63092         array references.
63093         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63095         [BZ #11607]
63096         * NEWS: Add an entry.
63097         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63098         define their defaults.
63099         (two_way_short_needle): Detect end-of-string on-the-fly.
63100         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63101         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63102         * string/bug-strcasestr1.c: New test.
63103         * string/Makefile: Run it.
63105 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63107         [BZ #11607]
63108         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63109         the first character.
63111 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63113         * csu/elf-init.c (__libc_csu_irel): Function removed.
63114         * csu/libc-start.c (apply_irel): New function.
63115         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63117 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63119         * sysdeps/unix/sysv/linux/kernel-features.h
63120         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63121         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63122         <kernel-features.h>.
63123         [__NR_fadvise64_64]: Make code unconditional.
63124         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63125         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63126         !__NR_fadvise64_64)]: Likewise.
63127         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63128         !__NR_fadvise64_64))]: Likewise.
63129         [__NR_fadvise64]: Make code unconditional.
63130         [!__NR_fadvise64]: Remove conditional code.
63131         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63132         <kernel-features.h>.
63133         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63134         unconditional.
63135         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63136         conditional code.
63137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63138         not include <kernel-features.h>.
63139         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63140         unconditional.
63141         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63142         conditional code.
63143         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63144         include <kernel-features.h>.
63145         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63146         unconditional.
63147         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63148         conditional code.
63150 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63153         slight instruction rearrangements per scrollpipe analysis.
63154         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63156 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63158         * manual/syslog.texi (syslog; vsyslog, closelog):
63159         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63160         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63162         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63163         DSOCAPS to match condition on defining it.
63165 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63167         * sysdeps/unix/sysv/linux/kernel-features.h
63168         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63170         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63171         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63173         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63174         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63176         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63177         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63179         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63180         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63182         * sysdeps/unix/sysv/linux/kernel-features.h
63183         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63184         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63185         unconditional.
63186         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63187         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63188         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63189         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63190         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63191         Make code unconditional.
63192         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63193         (__mmap64) [!__NR_mmap2]: Likewise.
63194         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63195         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63196         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63198         [__NR_mmap2]: Make code unconditional.
63199         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63200         (__mmap64) [!__NR_mmap2]: Likewise.
63202 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63204         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63206 2012-08-18  Andreas Jaeger  <aj@suse.de>
63208         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63210 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63212         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63213         * include/unistd.h (__have_sock_cloexec): Likewise.
63214         (__have_pipe2): Likewise.
63215         (__have_dup3): Likewise.
63217 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63219         [BZ #9685]
63220         * include/unistd.h (__have_pipe2): Change define into an extern int.
63221         (__have_dup3): Likewise.
63222         * socket/have_sock_cloexec.c: Include fcntl.h.
63223         (__have_pipe2): New variable.
63224         (__have_dup3): Likewise.
63226 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63228         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63230 2012-08-17  Marek Polacek  <polacek@redhat.com>
63232         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63233         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63235 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63237         * configure.in: Add AC_SUBST for sysheaders.
63238         * configure: Regenerated.
63239         * config.make.in (sysheaders): New substituted variable.
63241         * sysdeps/unix/mkfifo.c: Moved ...
63242         * sysdeps/posix/mkfifo.c: ... here.
63243         * sysdeps/unix/mkfifoat.c: Moved ...
63244         * sysdeps/posix/mkfifoat.c: ... here.
63246         * sysdeps/unix/utime.c: Moved ...
63247         * sysdeps/posix/utime.c: ... here.
63249         * sysdeps/unix/time.c: Moved ...
63250         * sysdeps/posix/time.c: ... here.
63251         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63252         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63254         * sysdeps/unix/nice.c: Moved ...
63255         * sysdeps/posix/nice.c: ... here.
63257         * sysdeps/unix/alarm.c: Moved ...
63258         * sysdeps/posix/alarm.c: ... here.
63260         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63262 2012-08-17  Jeff Law <law@redhat.com>
63264         * intl/Makefile (codeset_mo): New variable.
63265         ($(codeset_mo)): New target.
63266         (tst-codeset.out): Depend on that.  Remove explicit rule.
63267         (tst-gettext3.out, tst-gettext5.out): Likewise.
63268         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63269         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63270         * intl/tst-codeset.sh: Remove.
63271         * intl/tst-gettext3.sh: Likewise.
63272         * intl/tst-gettext5.sh: Likewise.
63274 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63276         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63277         * sysdeps/unix/syscalls.list: ... here.
63279         * sysdeps/posix/getaddrinfo.c
63280         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63281         (gaiconf_init, gaiconf_reload): Use them.
63282         [!_STATBUF_ST_NSEC]
63283         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63284         Define using time_t rather than struct timespec.
63286         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63287         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63288         Macros removed.
63289         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63290         [!NO_THREADS].
63291         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63292         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63293         Likewise.
63295         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63296         __libc_cleanup_push argument.
63298         * bits/param.h: New file.
63299         * misc/sys/param.h: New file.
63300         * include/sys/param.h: New file.
63301         * misc/Makefile (headers): Add bits/param.h.
63302         * sysdeps/generic/sys/param.h: File removed.
63303         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63304         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63305         * sysdeps/mach/hurd/bits/param.h: New file.
63306         * sysdeps/mach/hurd/sys/param.h: File removed.
63308         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63309         last change.
63311         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63312         [_IO_MTSAFE_IO].
63313         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63314         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63315         New macros.
63317         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63318         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63319         rather than -D_IO_MTSAFE_IO conditionally.
63320         * stdio-common/Makefile (CPPFLAGS): Likewise.
63321         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63322         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63323         Use $(libio-mtsafe).
63324         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63325         of -D_IO_MTSAFE_IO.
63326         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63327         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63328         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63329         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63330         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63331         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63332         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63333         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63334         (CFLAGS-fread_u_chk.c): Likewise.
63335         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63336         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63337         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63338         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63339         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63340         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63341         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63342         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63343         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63345         * libio/Makefile: Test [$(libc-reentrant) = yes]
63346         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63348         * Makeconfig
63349         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63350         * sysdeps/pthread/configure: File removed.
63351         * sysdeps/pthread/Makeconfig: New file.
63352         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63353         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63355 2012-08-16  Gary Benson  <gbenson@redhat.com>
63357         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63358         unmapping the first object in a namespace.
63360 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63362         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63363         (__internal_setnetgrent): ... this.  Add internal_function to
63364         definition.  Add libc_hidden_def.
63365         (setnetgrent): Update caller.
63366         (internal_endnetgrent): Renamed to ...
63367         (__internal_endnetgrent): ... this.  Add internal_function to
63368         definition.  Add libc_hidden_def.
63369         (endnetgrent): Update caller.
63370         (internal_getnetgrent_r): Renamed to ...
63371         (__internal_getnetgrent_r): ... this.  Add internal_function to
63372         definition.  Add libc_hidden_def.
63373         (__getnetgrent_r): Update caller.
63374         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63376 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63378         * stdlib/longlong.h: Update from GCC.
63380 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63382         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63383         on _QL, which is set by umul_ppmm but never used.
63384         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63385         variables, which are set by GMP macros but never used.
63386         * stdio-common/_itowa.c (_itowa): Likewise.
63387         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63388         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63390 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63392         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63393         struct La_sh_regs is not constant.
63394         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63395         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63396         and struct La_sparc64_regs are not constant.
63398 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63400         * sysdeps/unix/sysv/linux/kernel-features.h
63401         (__ASSUME_POSIX_TIMERS): Remove.
63402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63403         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63404         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63405         Make code unconditional.
63406         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63407         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63408         Make code unconditional.
63409         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63410         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63411         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63412         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63413         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63414         Make code unconditional.
63415         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63416         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63417         (__libc_missing_posix_timers): Remove.
63419 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63421         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63422         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63424         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63426         * elf/dl-sym.c: Include <stdlib.h>.
63428         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63429         constants, which avoids warnings in 32-bit builds.
63431         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63432         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63434         * misc/lseek.c: File moved to ...
63435         * io/lseek.c: ... here.
63437         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63439         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63440         shifting LEN more than 31 bits at once.
63442 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63444         [BZ #14195]
63445         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63446         segmentation fault for a case of two empty input strings.
63447         * string/test-strncasecmp.c (check1): Renamed to...
63448         (bz12205): ...this.
63449         (bz14195): Add new testcase for two empty input strings and N > 0.
63450         (test_main): Call new testcase, adapt for renamed function.
63452 2012-08-15  Andreas Jaeger  <aj@suse.de>
63454         [BZ #14090]
63455         * crypt/md5test2.c: New test, based on test supplied by Serge
63456         Belyshev <belyshev@depni.sinp.msu.ru>.
63457         * crypt/Makefile (xtests): Add md5test-giant..
63458         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63460 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63462         [BZ #14090]
63463         * crypt/md5.c (md5_process_block): Don't assume the buffer
63464         length is less than 2**32.
63465         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63466         length is less than 2**64.
63468 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63470         * string/str-two-way.h: Include <sys/param.h>.
63471         (MAX): Macro removed.
63473         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63474         Move #define and #undef of memmove to just before and after
63475         including <string.h>.
63477         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63478         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63479         and after including <string.h>.  Move declarations of
63480         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63481         to before #include "string/memmove.c".
63483         * include/dirent.h: Declare __getdirentries.
63485         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63486         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63488 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63490         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63491         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63492         * sysdeps/i386/configure: Regenerated.
63493         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63494         STABS_CURRENT_FILE, and STABS_FUN.
63495         (END): Remove call to STABS_FUN_END.
63496         (STABS_CURRENT_FILE1): Delete.
63497         (STABS_CURRENT_FILE): Likewise.
63498         (STABS_FUN): Likewise.
63499         (STABS_FUN_END): Likewise.
63500         (STABS_FUN2): Likewise.
63501         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63502         * sysdeps/x86_64/configure: Regenerated.
63504 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63506         * elf/dl-open.c: Include <atomic.h>.
63507         * elf/dl-lookup.c: Likewise.
63509 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63511         * sysdeps/unix/sysv/linux/kernel-features.h
63512         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63513         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63514         unconditionally.
63515         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63516         unconditionally.
63517         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63518         condition on __ASSUME_CLONE_THREAD_FLAGS.
63520 2012-08-14  Andreas Jaeger  <aj@suse.de>
63522         * sysdeps/i386/fpu/libm-test-ulps: Update.
63524 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63526         * include/atomic.h (atomic_exchange_and_add): Split into ...
63527         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63528         New atomic macros.
63530 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63534 2012-08-13  Jeff Law <law@redhat.com>
63536         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63537         null byte in the output string.
63539 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63541         * sysdeps/unix/sysv/linux/kernel-features.h
63542         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63543         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63544         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63545         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63546         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63547         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63548         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63550 2012-08-09  Jeff Law <law@redhat.com>
63552         [BZ #13939]
63553         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63554         When avoid_arena is set, don't retry in the that arena.  Pick the
63555         next one, whatever it might be.
63556         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63557         (arena_lock): Pass in new parameter to arena_get2.
63558         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63559         arena_get2.
63560         (__libc_malloc): Unify retrying after main arena failure with
63561         __libc_memalign version.
63562         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63564 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63566         [BZ #14166]
63567         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63568         to __redirect_strstr.
63569         (__strstr_sse42): Use typeof __redirect_strstr.
63570         (__strstr_ia32): Likewise.
63571         (__libc_strstr): New prototype.
63572         (strstr): Renamed to ...
63573         (__libc_strstr): This.
63574         (strstr): New strong alias of __libc_strstr.
63575         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63576         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63577         __redirect_time.
63578         Include <time.h>.
63579         (__libc_time): New prototype.
63580         (time_ifunc): Replace time with __libc_time.
63581         (time): New strong alias and hidden definition of __libc_time.
63582         (__GI_time): Remove strong alias.
63583         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63584         Include <stddef.h>.
63585         (memmove): Redefined to __redirect_memmove.
63586         (__memmove_sse2): Use typeof __redirect_memmove.
63587         (__memmove_ssse3): Likewise.
63588         (__memmove_ssse3_back): Likewise.
63589         (__libc_memmove): New prototype.
63590         (memmove): Renamed to ...
63591         (__libc_memmove): This.
63592         (memmove): New strong alias of __libc_memmove.
63594 2012-08-08  Mark Salter  <msalter@redhat.com>
63596         * elf/elf.h
63597         (R_MN10300_TLS_GD): Define.
63598         (R_MN10300_TLS_LD): Likewise.
63599         (R_MN10300_TLS_LDO): Likewise.
63600         (R_MN10300_TLS_GOTIE): Likewise.
63601         (R_MN10300_TLS_IE): Likewise.
63602         (R_MN10300_TLS_LE): Likewise.
63603         (R_MN10300_TLS_DTPMOD): Likewise.
63604         (R_MN10300_TLS_DTPOFF): Likewise.
63605         (R_MN10300_TLS_TPOFF): Likewise.
63606         (R_MN10300_SYM_DIFF): Likewise.
63607         (R_MN10300_ALIGN): Likewise.
63608         (R_MN10300_NUM): Update.
63610 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63613         Remove.
63615 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63617         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63619         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63620         sysdeps/unix -> sysdeps/posix move.
63621         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63623 2012-08-07      Allan McRae     <allan@archlinux.org>
63625         [BZ #14303]
63626         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63627         (SUNOS_CPP): Likewise.
63628         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63629         not found.
63630         (open_input): Call CPP using execvp.
63632 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63634         * sysdeps/unix/sysv/linux/kernel-features.h
63635         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63638         (__ASSUME_WAITID_SYSCALL): Likewise.
63639         * sysdeps/unix/sysv/linux/dl-execstack.c
63640         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63641         code unconditional.
63642         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63643         conditional code.
63644         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63645         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63646         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63647         code.
63648         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63649         unconditional.
63650         [__ASSUME_WAITID_SYSCALL]: Likewise.
63651         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63653 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63655         * sysdeps/unix/closedir.c: Renamed to ...
63656         * sysdeps/posix/closedir.c: ... here.
63657         * sysdeps/unix/dirfd.c: Renamed to ...
63658         * sysdeps/posix/dirfd.c: ... here.
63659         * sysdeps/unix/dirstream.h: Renamed to ...
63660         * sysdeps/posix/dirstream.h: ... here.
63661         * sysdeps/unix/fdopendir.c: Renamed to ...
63662         * sysdeps/posix/fdopendir.c: ... here.
63663         * sysdeps/unix/opendir.c: Renamed to ...
63664         * sysdeps/posix/opendir.c: ... here.
63665         * sysdeps/unix/readdir.c: Renamed to ...
63666         * sysdeps/posix/readdir.c: ... here.
63667         * sysdeps/unix/readdir_r.c: Renamed to ...
63668         * sysdeps/posix/readdir_r.c: ... here.
63669         * sysdeps/unix/rewinddir.c: Renamed to ...
63670         * sysdeps/posix/rewinddir.c: ... here.
63671         * sysdeps/unix/seekdir.c: Renamed to ...
63672         * sysdeps/posix/seekdir.c: ... here.
63673         * sysdeps/unix/telldir.c: Renamed to ...
63674         * sysdeps/posix/telldir.c: ... here.
63675         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63676         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63677         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63678         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63680         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63681         * bits/fcntl.h: ... here.
63683         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63684         not 0.
63685         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63686         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63687         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63688         (struct flock): Move l_start, l_len to the beginning.
63689         Use __pid_t for l_pid.
63690         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63691         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63692         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63693         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63694         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63695         [__USE_LARGEFILE64] (struct flock64): New type.
63696         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63698         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63699         * bits/dirent.h: ... here.
63701         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63702         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63704 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63706         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63707         Change from 2.6.0 to 2.6.16.
63708         * sysdeps/unix/sysv/linux/configure: Regenerated.
63709         * sysdeps/unix/sysv/linux/kernel-features.h
63710         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63711         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63712         version.
63713         (__ASSUME_UTIMES): Likewise.
63714         (__ASSUME_CLONE_STOPPED): Remove.
63715         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63716         architectures, not kernel version.
63717         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63718         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63719         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63720         (__ASSUME_WAITID_SYSCALL): Likewise.
63721         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63722         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63723         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63724         refer to older versions.
63726 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63728         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63729         Define alphasort64 as an alias.
63730         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63731         Define versionsort64 as an alias.
63732         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63733         Define scandir64 as an alias.
63734         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63735         Define scandirat64 as an alias.
63736         * dirent/alphasort64.c (alphasort64):
63737         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63738         * dirent/versionsort64.c: Likewise.
63739         * dirent/scandir64.c: Likewise.
63740         * dirent/scandirat64.c: Likewise.
63741         * sysdeps/wordsize-64/alphasort.c: File removed.
63742         * sysdeps/wordsize-64/alphasort64.c: File removed.
63743         * sysdeps/wordsize-64/scandir.c: File removed.
63744         * sysdeps/wordsize-64/scandir64.c: File removed.
63745         * sysdeps/wordsize-64/scandirat.c: File removed.
63746         * sysdeps/wordsize-64/scandirat64.c: File removed.
63747         * sysdeps/wordsize-64/versionsort.c: File removed.
63748         * sysdeps/wordsize-64/versionsort64.c: File removed.
63749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63751         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63752         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63753         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63754         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63755         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63758         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63760         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63762         [defined __arch64__ || defined __sparcv9]
63763         (__INO_T_MATCHES_INO64_T): New macro.
63764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63765         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63766         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63767         * sysdeps/unix/sysv/linux/bits/dirent.h
63768         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63769         (_DIRENT_MATCHES_DIRENT64): New macro.
63771         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63772         Define lockf64 as an alias.
63773         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63774         Define fseeko64 as an alias.
63775         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63776         Define ftello64 as an alias.
63777         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63778         Define _IO_fgetpos64 and fgetpos64 as aliases.
63779         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63780         Define _IO_fsetpos64 and fsetpos64 as aliases.
63781         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63782         Conditionalize body on this.
63783         * libio/fseeko64.c: Likewise.
63784         * libio/ftello64.c: Likewise.
63785         * libio/iofgetpos64.c: Likewise.
63786         * libio/iofsetpos64.c: Likewise.
63787         * sysdeps/wordsize-64/lockf.c: File removed.
63788         * sysdeps/wordsize-64/lockf64.c: File removed.
63789         * sysdeps/wordsize-64/fseeko.c: File removed.
63790         * sysdeps/wordsize-64/fseeko64.c: File removed.
63791         * sysdeps/wordsize-64/ftello.c: File removed.
63792         * sysdeps/wordsize-64/ftello64.c: File removed.
63793         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63794         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63795         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63796         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63805         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63806         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63808         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63810         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63812         [defined __arch64__ || defined __sparcv9]
63813         (__OFF_T_MATCHES_OFF64_T): New macro.
63814         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63815         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63817         (__OFF_T_MATCHES_OFF64_T): New macro.
63819 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63821         * stdlib/secure-getenv.c (__secure_getenv): Replace
63822         GLIBC_2_16 with GLIBC_2_17.
63824 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63829 2012-08-03  David S. Miller  <davem@davemloft.net>
63831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63833 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63836         Remove.
63837         (__ASSUME_CORRECT_SI_PID): Likewise.
63838         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63839         (__ASSUME_TMPFS_NAME): Likewise.
63840         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63841         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63842         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63843         (HAVE_AUX_SECURE): Make definition unconditional.
63844         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63845         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63847 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63849         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63850         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63851         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63852         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63853         __eloop_threshold instead of SYMLOOP_MAX.
63855         * sysdeps/generic/eloop-threshold.h: New file.
63856         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63857         of MAXSYMLINKS.
63858         * elf/chroot_canon.c (chroot_canon): Likewise.
63860 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63862         [BZ #13717]
63863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63864         Change to 2.6.0 everywhere.
63865         * sysdeps/unix/sysv/linux/configure: Regenerated.
63866         * sysdeps/unix/sysv/linux/kernel-features.h
63867         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63868         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63869         kernel versions.
63870         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63871         (__ASSUME_FUTEX_REQUEUE): Remove.
63872         (__ASSUME_STATFS64): Define unconditionally.
63873         (__ASSUME_AT_SECURE): Likewise.
63874         (__ASSUME_CORRECT_SI_PID): Likewise.
63875         (__ASSUME_TGKILL): Define without depending on kernel version for
63876         i386.
63877         (__ASSUME_UTIMES): Likewise.
63878         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63879         kernel version.
63880         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63881         (__ASSUME_TMPFS_NAME): Likewise.
63882         * README: Update reference to Linux kernel versions.
63884 2012-08-02  Marek Polacek  <polacek@redhat.com>
63886         [BZ# 14150]
63887         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63888         libc_cv_asm_type_prefix with %.
63889         * configure: Regenerated.
63890         * include/libc-symbols.h: Remove comment about
63891         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63892         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63893         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63894         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63895         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63896         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63897         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63898         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63899         * elf/tst-unique2mod1.c: Likewise.
63900         * elf/tst-unique1mod2.c: Likewise.
63901         * elf/tst-unique1mod1.c: Likewise.
63902         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63903         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63904         Replace ASM_TYPE_DIRECTIVE with .type.
63905         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63906         * sysdeps/i386/sysdep.h: Likewise.
63907         * sysdeps/x86_64/sysdep.h: Likewise.
63908         * sysdeps/sh/sysdep.h: Likewise.
63909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63910         Do not define ASM_TYPE_DIRECTIVE.
63911         * sysdeps/powerpc/sysdep.h: Likewise.
63912         * sysdeps/powerpc/powerpc32/sysdep.h:
63913         Replace ASM_TYPE_DIRECTIVE with .type.
63914         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63915         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63916         * sysdeps/i386/fpu/e_powf.S: Likewise.
63917         * sysdeps/i386/fpu/e_expl.S: Likewise.
63918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63919         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63920         * sysdeps/i386/fpu/e_pow.S: Likewise.
63921         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63922         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63923         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63924         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63925         * sysdeps/i386/fpu/e_log2.S: Likewise.
63926         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63927         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63928         * sysdeps/i386/fpu/e_powl.S: Likewise.
63929         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63930         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63931         * sysdeps/i386/fpu/e_logl.S: Likewise.
63932         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63933         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63934         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63937         * sysdeps/i386/fpu/e_log.S: Likewise.
63938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63939         * sysdeps/i386/fpu/e_logf.S: Likewise.
63940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63941         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63942         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63943         * sysdeps/i386/fpu/e_log10.S: Likewise.
63944         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63945         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63946         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63947         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63948         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63949         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63950         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63951         * sysdeps/i386/i686/strtok.S: Likewise.
63952         * sysdeps/i386/i386-mcount.S: Likewise.
63953         * sysdeps/i386/strtok.S: Likewise.
63954         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63958         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63963         * sysdeps/x86_64/_mcount.S: Likewise.
63964         * sysdeps/x86_64/strtok.S: Likewise.
63965         * sysdeps/sh/_mcount.S: Likewise.
63967 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63969         * libio/iofopen.c: Include <fcntl.h>.
63970         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63971         (_IO_fopen64, fopen64): Define as aliases.
63972         * libio/iofopen64.c: Include <fcntl.h>.
63973         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63974         Conditionalize body on this.
63975         * sysdeps/wordsize-64/iofopen.c: File removed.
63976         * sysdeps/wordsize-64/iofopen64.c: File removed.
63978 2012-08-01  Marek Polacek  <polacek@redhat.com>
63980         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63981         Use dlfcn directly instead of a variable.
63982         (binfmt-subdir): Do not define.
63983         (dlfcn): Likewise.
63985 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63988         Remove all definitions.
63989         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63990         <kernel-features.h>.
63991         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63992         (miss_F_GETOWN_EX): Remove all definitions.
63993         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63994         macro definition.
63995         [!__ASSUME_FCNTL64]: Remove conditional code.
63996         [__ASSUME_FCNTL64]: Make code unconditional.
63997         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63998         <kernel-features.h>.
63999         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64000         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64001         (lockf64) [__NR_fcntl64]: Make code unconditional.
64002         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64004         * sysdeps/unix/sysv/linux/kernel-features.h
64005         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64006         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64007         Make code unconditional.
64008         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64009         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64011         [__NR_vfork]: Make code unconditional.
64012         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64013         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64015         [__NR_vfork]: Make code unconditional.
64016         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64017         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64019 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64021         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64022         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64024         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64025         Define mkstemp64 as an alias.
64026         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64027         Define mkstemps64 as an alias.
64028         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64029         Define mkostemp64 as an alias.
64030         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64031         Define mkostemps64 as an alias.
64032         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64033         Conditionalize body on this.
64034         * misc/mkostemp64.c: Likewise.
64035         * misc/mkostemps64.c: Likewise.
64036         * misc/mkstemps64.c: Likewise.
64037         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64038         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64039         * sysdeps/wordsize-64/mkostemp.c: File removed.
64040         * sysdeps/wordsize-64/mkstemp.c: File removed.
64041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64042         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64044         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64046         [BZ #14138]
64047         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64048         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64049         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64050         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64052         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64053         compat_symbol macros from <shlib-compat.h> rather than the underlying
64054         default_symbol_version and symbol_version macros, so that DEFAULT
64055         lines in shlib-versions are respected.
64056         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64058 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64060         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64061         Declare with warn_unused_result.
64062         (setgid, setregid, setegid, setresgid): Likewise.
64063         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64064         Likewise.
64065         * WUR-REPORT: Remove set*id functions.
64067 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64069         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64071 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64073         [BZ #10191]
64074         * include/sys/socket.h (__libc_accept, __libc_accept4):
64075         Add attribute_hidden.
64076         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64079         use of PTR_MANGLE.
64080         * inet/getnetgrent_r.c (setup): Likewise.
64082         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64084 2012-07-31  David S. Miller  <davem@davemloft.net>
64086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64088 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64090         [BZ #13629]
64091         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64092         value between 1.0 and 2.0 and smaller part has absolute value less
64093         than 1.0.
64094         * math/s_clog10.c (__clog10): Likewise.
64095         * math/s_clog10f.c (__clog10f): Likewise.
64096         * math/s_clog10l.c (__clog10l): Likewise.
64097         * math/s_clogf.c (__clogf): Likewise.
64098         * math/s_clogl.c (__clogl): Likewise.
64099         * math/libm-test.inc (clog_test): Add more tests.
64100         (clog10_test): Likewise.
64101         * sysdeps/i386/fpu/libm-test-ulps: Update.
64102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64104 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64106         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64107         Exit with zero in case no suitable GID is found, and write a
64108         message to standard error.
64110 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64112         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64113         rather than to 1.
64114         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64115         (MAXPATHLEN): Removed.
64116         (NOGROUP, NODEV): New macros.
64117         (setbit, clrbit, isset, isclr): New macros.
64118         (howmany, roundup, powerof2): New macros.
64119         (DEV_BSIZE): New macro.
64121         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64122         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64124         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64125         definition on [!__NO_LONG_DOUBLE_MATH].
64127         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64128         PTR_MANGLE and PTR_DEMANGLE.
64130         * socket/accept4.c (accept4): Rename to __libc_accept4.
64131         Define accept4 as a weak alias.
64133         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64134         on [_DIRENT_HAVE_D_TYPE].
64135         * io/ftw.c (ftw_dir): Likewise.
64137         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64139         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64141         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64142         Use the BSD numbers rather than the arbitrary ones we had.
64143         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64144         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64145         (SIGXCPU, SIGXFSZ): New macros.
64146         (_NSIG): Now 32.
64148         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64149         initializer on [_LIBC_REENTRANT].
64151         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64152         definitions inside [_POSIX_MAPPED_FILES].
64154         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64156         * dirent/opendir.c: Include <fcntl.h>.
64158         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64159         (__libc_getspecific): Likewise.
64160         (__libc_key_create): Likewise.
64162         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64163         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64164         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64165         (tmpfile64): Define as alias.
64166         * sysdeps/wordsize-64/tmpfile.c: File removed.
64167         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64168         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64169         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64171         * stdio-common/vfscanf.c: Include <stdbool.h>.
64172         * nss/makedb.c: Likewise.
64173         * stdio-common/_i18n_number.h: Likewise.
64174         * argp/argp-help.c: Likewise.
64175         * posix/wordexp.c: Likewise.
64176         * sysdeps/posix/spawni.c: Likewise.
64177         * nss/nss_files/files-initgroups.c: Likewise.
64178         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64179         * nss/nss_files/files-initgroups.c: Likewise.
64180         * nss/nss_db/db-netgrp.c: Likewise.
64181         * nss/nss_db/db-initgroups.c: Likewise.
64182         * io/fchmodat.c: Include <sys/stat.h>.
64184         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64185         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64187         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64188         [HAVE_MMAP].
64190         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64191         Add multiple inclusion protection.
64193 2012-07-27  David S. Miller  <davem@davemloft.net>
64195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64197 2012-07-27  Gary Benson  <gbenson@redhat.com>
64199         [BZ #14298]
64200         * elf/rtld.c: Include <stap-probe.h>.
64201         (dl_main): Added static probes "init_start" and "init_complete".
64202         * elf/dl-load.c: Include <stap-probe.h>.
64203         (lose): Take new parameter "nsid".
64204         Added static probe "map_failed".
64205         (_dl_map_object_from_fd): Pass namespace id to lose.
64206         Added static probe "map_start".
64207         (open_verify): Pass namespace id to lose.
64208         * elf/dl-open.c: Include <stap-probe.h>.
64209         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64210         and "reloc_complete".
64211         * elf/dl-close.c: Include <stap-probe.h>.
64212         (_dl_close_worker): Added static probes "unmap_start" and
64213         "unmap_complete".
64214         * elf/rtld-debugger-interface.txt: New file documenting the above.
64216 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64218         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64219         rather than a string variable.
64220         * sunrpc/rpc_main.c (h_output): Likewise.
64221         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64223 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64225         * inet/check_native.c: New file.
64227 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64229         [BZ #13629]
64230         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64231         if larger part has absolute value 1.0.
64232         * math/s_clog10.c (__clog10): Likewise.
64233         * math/s_clog10f.c (__clog10f): Likewise.
64234         * math/s_clog10l.c (__clog10l): Likewise.
64235         * math/s_clogf.c (__clogf): Likewise.
64236         * math/s_clogl.c (__clogl): Likewise.
64237         * math/libm-test.inc (clog_test): Add more tests.
64238         (clog10_test): Likewise.
64239         * sysdeps/i386/fpu/libm-test-ulps: Update.
64240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64242         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64243         (pltexit): Likewise.
64244         (La_regs): Likewise.
64245         (La_retval): Likewise.
64246         (int_retval): Likewise.
64247         Update #error for removed macros to refer only to definitions in
64248         tst-audit.h.
64249         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64250         macro.
64251         (pltexit): Likewise.
64252         (La_regs): Likewise.
64253         (La_retval): Likewise.
64254         (int_retval): Likewise.
64255         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64256         macro.
64257         (pltexit): Likewise.
64258         (La_regs): Likewise.
64259         (La_retval): Likewise.
64260         (int_retval): Likewise.
64261         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64262         macro.
64263         (pltexit): Likewise.
64264         (La_regs): Likewise.
64265         (La_retval): Likewise.
64266         (int_retval): Likewise.
64267         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64268         macro.
64269         (pltexit): Likewise.
64270         (La_regs): Likewise.
64271         (La_retval): Likewise.
64272         (int_retval): Likewise.
64273         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64274         macro.
64275         (pltexit): Likewise.
64276         (La_regs): Likewise.
64277         (La_retval): Likewise.
64278         (int_retval): Likewise.
64279         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64280         macro.
64281         (pltexit): Likewise.
64282         (La_regs): Likewise.
64283         (La_retval): Likewise.
64284         (int_retval): Likewise.
64285         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64286         macro definitions in tst-audit.h.
64287         * sysdeps/i386/tst-audit.h: New file.
64288         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64289         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64290         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64291         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64292         * sysdeps/sh/tst-audit.h: Likewise.
64293         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64294         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64295         * sysdeps/x86_64/tst-audit.h: Likewise.
64297 2012-07-26  Andreas Jaeger  <aj@suse.de>
64299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64300         ptrace.
64302         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64303         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64304         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64305         PTRACE_O_MASK.
64306         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64307         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64308         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64310         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64311         value.
64313         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64314         _sigsys.
64315         (si_call_addr, si_syscall, si_arch): Define new macro.
64316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64317         _sigsys.
64318         (si_call_addr, si_syscall, si_arch): Define new marcro.
64319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64320         _sigsys.
64321         (si_call_addr, si_syscall, si_arch): Define new macro.
64322         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64323         _sigsys.
64324         (si_call_addr, si_syscall, si_arch): Define new macro.
64326 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64328         [BZ #13717]
64329         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64330         Change to 2.4.21 where previously 2.4.1.
64331         * sysdeps/unix/sysv/linux/configure: Regenerated.
64332         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64333         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64334         Linux kernel version.
64335         (__ASSUME_STD_AUXV): Remove.
64336         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64337         kernel version.
64338         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64339         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64340         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64341         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64342         (__ASSUME_NETLINK_SUPPORT): Likewise.
64343         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64344         (__no_netlink_support): Remove conditional definition.
64345         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64346         Remove.
64347         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64348         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64349         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64350         (if_nameindex_ioctl): Remove.
64351         (if_nameindex_netlink): Do not handle __no_netlink_support.
64352         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64353         code.
64354         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64355         Remove conditional code.
64356         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64357         code.
64358         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64359         unconditional.
64360         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64361         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64362         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64363         Remove.
64364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64365         [!__ASSUME_STD_AUXV]: Remove conditional code.
64366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64367         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64368         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64370         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64371         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64372         code.
64373         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64375         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64376         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64377         conditional code.
64378         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64380         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64381         code.
64382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64383         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64384         conditional code.
64385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64386         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64387         code unconditional.
64388         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64389         conditional code.
64390         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64391         unconditional.
64392         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64393         conditional code.
64394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64395         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64396         unconditional.
64397         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64398         conditional code.
64399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64400         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64401         code unconditional.
64402         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64403         conditional code.
64404         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64405         unconditional.
64406         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64407         conditional code.
64408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64409         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64410         code unconditional.
64411         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64412         conditional code.
64413         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64414         unconditional.
64415         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64416         conditional code.
64418 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64420         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64421         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64422         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64423         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64424         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64425         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64426         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64427         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64428         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64429         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64430         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64431         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64432         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64433         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64434         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64435         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64436         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64437         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64438         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64440         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64441         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64442         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64444 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64446         * Versions.def: Add GLIBC_2.17.
64447         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64448         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64449         Introduce __libc_secure_getenv.
64450         * stdlib/Versions (2.17): Add secure_getenv
64451         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64452         * stdlib/secure-getenv.c: Rename __secure_getenv to
64453         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64454         symbol __secure_getenv for GLIBC_2.0.
64455         * stdlib/tst-secure-getenv.c: New.
64456         * stdlib/Makefile (tests): Add testcase.
64457         * manual/startup.texi (Environment Access): Document
64458         secure_getenv.
64459         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64460         __libc_secure_getenv.
64461         * inet/ruserpass.c (ruserpass): Likewise.
64462         * malloc/mtrace.c (mtrace): Likewise.
64463         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64464         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64465         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64466         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64467         HAVE_SECURE_GETENV.
64468         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64469         __secure_getenv to __libc_secure_getenv.
64470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64472         Likewise.
64473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64474         Likewise.
64475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64483 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64485         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64486         (struct La_i86_retval): Likewise.
64487         (struct La_x86_64_regs): Likewise.
64488         (struct La_x86_64_retval): Likewise.
64489         (struct La_x32_regs): Likewise.
64490         (struct La_x32_retval): Likewise.
64491         (struct La_ppc32_regs): Likewise.
64492         (struct La_ppc32_retval): Likewise.
64493         (struct La_ppc64_regs): Likewise.
64494         (struct La_ppc64_retval): Likewise.
64495         (struct La_sh_regs): Likewise.
64496         (struct La_sh_retval): Likewise.
64497         (struct La_s390_32_regs): Likewise.
64498         (struct La_s390_32_retval): Likewise.
64499         (struct La_s390_64_regs): Likewise.
64500         (struct La_s390_64_retval): Likewise.
64501         (struct La_sparc32_regs): Likewise.
64502         (struct La_sparc32_retval): Likewise.
64503         (struct La_sparc64_regs): Likewise.
64504         (struct La_sparc64_retval): Likewise.
64505         (struct audit_ifaces): Remove architecture-specific pltenter and
64506         pltexit members.
64507         * sysdeps/i386/ldsodefs.h: New file.
64508         * sysdeps/powerpc/ldsodefs.h: Likewise.
64509         * sysdeps/s390/ldsodefs.h: Likewise.
64510         * sysdeps/sh/ldsodefs.h: Likewise.
64511         * sysdeps/sparc/ldsodefs.h: Likewise.
64512         * sysdeps/x86_64/ldsodefs.h: Likewise.
64514 2012-07-25  Marek Polacek  <polacek@redhat.com>
64516         [BZ #6808]
64517         * math/libm-test.inc (yn_test): Add another test.
64518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64519         to ERANGE when the result is +-Inf.
64520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64525 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64527         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64528         equal to 0.
64529         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64530         clock_t.
64531         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64533 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64535         * configure.in <sysdeps resolving>: Correct printing
64536         Implies_before.
64537         * configure: Regenerate.
64539 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64541         * math/w_ilogb.c: Include <limits.h>.
64542         * math/w_ilogbl.c: Likewise.
64544 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64546         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64547         va_copy.  Document allowing for unavailable va_copy only as
64548         pre-C99 compatibility.
64549         * manual/string.texi (Copying and Concatenation): Use va_copy
64550         instead of __va_copy in concat example.
64552 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64554         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64555         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64556         it if not null.
64558         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64559         with O_NOLINK passed to __file_name_lookup.
64561         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64562         with O_NOLINK passed to __file_name_lookup.
64564         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64565         negative N or less than NGIDS.
64567         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64568         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64569         enough.  Use memcpy instead of strncpy.
64571 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64573         * elf/Makefile (check-data): Remove.
64574         (localplt.data): New vpath directive.
64575         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64576         instead of $(check-data).
64577         * scripts/data/localplt-generic.data: Move to ...
64578         * sysdeps/generic/localplt.data: ... here.
64579         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64580         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64581         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64583         ... here.
64584         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64586         ... here.
64587         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64589         ... here.
64590         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64592         ... here.
64593         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64595         ... here.
64596         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64598         ... here.
64600 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64602         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64603         PPC32 and PPC64 files.
64604         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64605         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64607 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64609         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64610         __makecontext_ret to ...
64611         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64612         ... here and call exit if uc_link is NULL.  New file.
64613         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64614         __makecontext_ret.S.
64615         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64616         __makecontext_ret to ...
64617         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64618         ... here and call exit if uc_link is NULL.  New file.
64619         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64620         __makecontext_ret.S.
64622 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64624         * elf/elf.h (R_390_IRELATIVE): New definition.
64625         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64626         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64627         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64629         (elf_machine_lazy_rel): Likewise.
64630         * sysdeps/s390/dl-irel.h: New file.
64631         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64632         * sysdeps/s390/s390-64/memset.S: New asm code.
64633         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64634         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64636         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64637         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64638         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64640         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64641         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64642         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64643         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64644         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64645         * sysdeps/s390/s390-32/memset.S: New asm code.
64646         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64648 2012-07-17  Marek Polacek  <polacek@redhat.com>
64650         [BZ #14349]
64651         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64652         * sysdeps/s390/s390-64/configure.in: Likewise.
64653         * sysdeps/sparc/configure.in: Likewise.
64654         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64655         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64656         * sysdeps/i386/configure.in: Likewise.
64657         * sysdeps/x86_64/configure.in: Likewise.
64658         * sysdeps/sh/configure.in: Likewise.
64659         * sysdeps/s390/s390-32/configure: Regenerated.
64660         * sysdeps/s390/s390-64/configure: Likewise.
64661         * sysdeps/x86_64/configure: Likewise.
64662         * sysdeps/sh/configure: Likewise.
64663         * sysdeps/powerpc/powerpc64/configure: Likewise.
64664         * sysdeps/powerpc/powerpc32/configure: Likewise.
64665         * sysdeps/sparc/configure: Likwise.
64666         * sysdeps/i386/configure: Likewise.
64668         * elf/dl-open.c: Comment fixes.
64670 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64672         * Makefile [CXX] (check-data): Remove.
64673         [CXX] (c++-types.data): New vpath directive.
64674         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64675         vpath.  Do not allow for C++ type data being missing.
64676         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64677         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64678         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64679         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64680         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64681         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64682         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64684         ... here.
64685         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64687         ... here.
64688         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64690         ... here.
64691         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64693         ... here.
64694         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64696         ... here.
64697         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64699         ... here.
64700         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64702         ... here.
64703         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64706         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64707         definitions to architecture-specific files.
64708         (TLS_IE): Likewise.
64709         (TLS_LD): Likewise.
64710         (TLS_GD): Likewise.
64711         * sysdeps/i386/tls-macros.h: New file.
64712         * sysdeps/powerpc/tls-macros.h: Likewise.
64713         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64714         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64715         * sysdeps/sh/tls-macros.h: Likewise.
64716         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64717         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64718         * sysdeps/x86_64/tls-macros.h: Likewise.
64720 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64723         zero value for regular exit case.
64725         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64726         (__start_context): Preserve zero value for regular exit case.
64728 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64729             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64731         * manual/setjmp.texi (setcontext): Clarify normal process
64732         termination when uc_link is the null pointer.
64733         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64734         exit call.
64736 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64738         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64739         preprocessor.  Test for each exception mask separately.
64741 2012-07-16  Andreas Jaeger  <aj@suse.de>
64743         * po/ru.po: Update from translation team.
64745 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64747         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64748         equal to 0.
64749         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64750         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64751         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64752         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64753         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64755 2012-07-13  Andreas Jaeger  <aj@suse.de>
64757         * po/fr.po: Update from translation team.
64759 2012-07-12  Marek Polacek  <polacek@redhat.com>
64761         [BZ #14173]
64762         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64764         loop condition.
64766 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64768         [BZ #13717]
64769         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64770         Change to 2.4.1 where previously 2.4.0.
64771         * sysdeps/unix/sysv/linux/configure: Regenerated.
64772         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64773         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64774         version.
64775         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64776         (__ASSUME_AT_CLKTCK): Remove.
64777         (__ASSUME_AT_PAGESIZE): Likewise.
64778         (__ASSUME_AT_XID): Likewise.
64779         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64780         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64781         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64782         unconditionally.
64783         (HAVE_AUX_PAGESIZE): Likewise.
64784         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64785         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64786         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64788 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64790         [BZ #14307]
64791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64792         the temporary buffer used to invoke __gethostbyname2_r,
64793         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64794         host_data / struct gaih_addrtuple.
64795         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64796         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64797         header file nss/nsswitch.h.
64798         * nss/nsswitch.h (global scope): Add definition of implementation
64799         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64800         resolv/nss_dns/dns-host.c).
64802 2012-07-11  Andreas Jaeger  <aj@suse.de>
64804         * po/fr.po: Update from translation team.
64806         * po/sv.po: Update from translation team
64807         * po/fr.po: Another update from translation team.
64809 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64811         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64812         for subnormals or multiply small sinh result by itself.
64813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64816 2012-07-11  David S. Miller  <davem@davemloft.net>
64818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64820 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64822         [BZ #14347]
64823         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64824         (INTERNAL_MARK): Shift it here.
64826 2012-07-10  Marek Polacek  <polacek@redhat.com>
64828         [BZ #14151]
64829         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64830         libc_cv_asm_global_directive with .globl.
64831         * configure: Regenerated.
64832         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64833         with .globl.
64834         * sysdeps/i386/configure: Regenerated.
64835         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64836         with .globl.
64837         * sysdeps/x86_64/configure: Regenerated.
64838         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64839         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64840         * elf/tst-unique2mod2.c: Likewise.
64841         * elf/tst-unique2mod1.c: Likewise.
64842         * elf/tst-unique1mod2.c: Likewise.
64843         * elf/tst-unique1mod1.c: Likewise.
64844         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64845         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64846         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64847         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64848         * sysdeps/mach/sysdep.h: Likewise.
64849         * sysdeps/i386/sysdep.h: Likewise.
64850         * sysdeps/i386/i386-mcount.S: Likewise.
64851         * sysdeps/x86_64/_mcount.S: Likewise.
64852         * sysdeps/x86_64/sysdep.h: Likewise.
64853         * sysdeps/sh/_mcount.S: Likewise.
64854         * sysdeps/sh/sysdep.h: Likewise.
64855         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64856         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64857         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64859         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64860         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64861         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64862         * locale/localeinfo.h: Likewise.
64863         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64864         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64866 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64868         [BZ #14336]
64869         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64870         system".
64871         * manual/message.texi (The Uniforum approach): Likewise.
64872         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64873         (glibc iconv Implementation): Likewise.
64875 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64877         [BZ #14337]
64878         * math/s_clog.c (__clog): Avoid scaling a value down where that
64879         could result in underflow.
64880         * math/s_clog10.c (__clog10): Likewise.
64881         * math/s_clog10f.c (__clog10f): Likewise.
64882         * math/s_clog10l.c (__clog10l): Likewise.
64883         * math/s_clogf.c (__clogf): Likewise.
64884         * math/s_clogl.c (__clogl): Likewise.
64885         * math/libm-test.inc (clog_test): Add more tests.
64886         (clog10_test): Likewise.
64887         * sysdeps/i386/fpu/libm-test-ulps: Update.
64888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64890 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64892         [BZ #14283]
64893         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64894         by 7 not 8 to examine high bit of fractional part.
64896         [BZ #14042]
64897         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64898         for call to __mcount_internal.
64899         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64900         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64901         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64903 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64905         [BZ #14154]
64906         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64907         approximation for values within 0x1p-13f of an odd multiple of
64908         pi/4.
64909         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64910         exception.  Add more tests.
64911         * sysdeps/i386/fpu/libm-test-ulps: Update.
64913         [BZ #6778]
64914         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64915         inputs and return -1 for them.  Do not check for +Inf in case not
64916         reachable for +Inf.
64917         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64918         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64920         and return -1 for them.  Do not check for +Inf in case not
64921         reachable for +Inf.
64922         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64923         define.
64924         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64925         and return -1 for them.  Do not check for +Inf in case not
64926         reachable for +Inf.
64927         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64928         spurious underflow.
64929         * sysdeps/i386/fpu/libm-test-ulps: Update.
64930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64932 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64934         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64936 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64938         [BZ #14157]
64939         [BZ #14331]
64940         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64941         could result in spurious underflow.  Scale down values above
64942         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64943         * math/s_csqrtf.c (__csqrtf): Likewise.
64944         * math/s_csqrtl.c (__csqrtl): Likewise.
64945         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64946         spurious underflow.
64947         * sysdeps/i386/fpu/libm-test-ulps: Update.
64948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64950 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64952         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64953         xopen-msg.sed.
64954         * catgets/xopen-msg.awk: New file.
64955         * catgets/xopen-msg.sed: Removed.
64957         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64958         po2text.sed.
64959         * intl/po2test.awk: New file.
64960         * intl/po2test.sed: Removed.
64962 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64964         [BZ #14328]
64965         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64966         or multiply small sinh result by itself.
64967         * math/s_ctanf.c (__ctanf): Likewise.
64968         * math/s_ctanh.c (__ctanh): Likewise.
64969         * math/s_ctanhf.c (__ctanhf): Likewise.
64970         * math/s_ctanhl.c (__ctanhl): Likewise.
64971         * math/s_ctanl.c (__ctanl): Likewise.
64972         * math/libm-test.inc (ctan_test_tonearest): New function.
64973         (ctan_test_towardzero): Likewise.
64974         (ctan_test_downward): Likewise.
64975         (ctan_test_upward): Likewise.
64976         (ctanh_test_tonearest): Likewise.
64977         (ctanh_test_towardzero): Likewise.
64978         (ctanh_test_downward): Likewise.
64979         (ctanh_test_upward): Likewise.
64980         (main): Call these new functions.
64981         * sysdeps/i386/fpu/libm-test-ulps: Update.
64982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64984 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64986         * .gitignore: Delete /ports entry.
64988 2012-07-03  Andreas Jaeger  <aj@suse.de>
64990         * po/bg.po: Update from translation team.
64991         * po/cs.po: Likewise.
64992         * po/de.po: Likewise.
64993         * po/hr.po: Likewise.
64994         * po/nl.pl: Likewise.
64995         * po/pl.po: Likewise.
64996         * po/vi.po: Likewise.
64998 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65000         * Makeconfig [!+link] (+link-before-libc): New variable.
65001         [!+link] (+link-after-libc): Likewise.
65002         [!+link] (+link-tests): Likewise.
65003         [!+link] (+link): Define in terms of $(+link-before-libc) and
65004         $(+link-after-libc).
65005         [!+link-static] (+link-static-before-libc): New variable.
65006         [!+link-static] (+link-static-after-libc): Likewise.
65007         [!+link-static] (+link-static-tests): Likewise.
65008         [!+link-static] (+link-static): Define in terms of
65009         $(+link-static-before-libc) and $(+link-static-after-libc).
65010         [build-shared] (link-libc-before-gnulib): New variable.
65011         [build-shared] (link-libc-tests): Likewise.
65012         [build-shared] (link-libc): Define in terms of
65013         $(link-libc-before-gnulib).
65014         [!build-shared] (link-libc-tests): New variable.
65015         (link-libc-static-tests): New variable.
65016         [!gnulib] (gnulib-arch): New variable.
65017         [!gnulib] (gnulib-tests): Likewise.
65018         [!gnulib] (static-gnulib-arch): Likewise.
65019         [!gnulib] (static-gnulib-tests): Likewise.
65020         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65021         Define with "=" instead of ":=".
65022         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65023         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65024         * Rules (binaries-all-notests): New variable.
65025         (binaries-all-tests): Likewise.
65026         (binaries-static-notests): Likewise.
65027         (binaries-static-tests): Likewise.
65028         (binaries-all): Define using $(binaries-all-notests) and
65029         $(binaries-all-tests).
65030         (binaries-static): Define using $(binaries-static-notests) and
65031         $(binaries-static-tests).
65032         (binaries-shared-tests): New variable.
65033         (binaries-shared-notests): Likewise.
65034         (binaries-shared): Remove variable.
65035         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65036         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65037         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65038         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65039         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65040         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65041         * elf/Makefile (sln-modules): New variable.
65042         (extra-objs): Add $(sln-modules:=.o).
65043         (ldconfig-modules): Add static-stubs.
65044         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65045         * elf/static-stubs.c: New file.
65047         [BZ #14283]
65048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65049         by 7 not 8 to examine high bit of fractional part.  Use volatile
65050         variables when splitting into final array of floats if
65051         __FLT_EVAL_METHOD__ != 0.
65052         * math/libm-test.inc (cos_test): Add another test.
65053         (sin_test): Likewise.
65054         * sysdeps/i386/fpu/libm-test-ulps: Update.
65056         [BZ #14273]
65057         * math/libm-test.inc (cosh_test): Add more tests.
65059         * version.h (RELEASE): Set to "development".
65060         (VERSION): Set to "2.16.90".
65062 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65064         * NEWS: Update copyright. Remove last-updated date.
65065         Mention math library bug fixes and timezone data changes.
65066         * README: Mention GNU/Hurd, x32, and HPPA support status.
65068 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65070         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65072 2012-06-27  Andreas Jaeger  <aj@suse.de>
65074         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65076 2012-06-25  Andreas Jaeger  <aj@suse.de>
65078         * sysdeps/s390/fpu/libm-test-ulps: Update.
65080 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65081             Thomas Schwinge  <thomas@codesourcery.com>
65083         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65084         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65086         fanotify_mark.
65088 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65090         * sysdeps/mach/start.c: Remove file.
65091         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65092         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65093         * sysdeps/sh/init-first.c: Likewise.
65095         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65096         registers for frame unwinding purposes, add CFI directives.
65097         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65098         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65099         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65100         Likewise.
65102         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65103         __fortify_fail returning.
65104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65106         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65107         sysdeps/sh/____longjmp_chk.S.
65108         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65109         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65110         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65111         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65113         * sysdeps/sh/abort-instr.h: New file.
65114         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65115         process in case exit returns.
65117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65118         initialize the GOT register before use.
65120         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65121         calculation of ARGC > 4.
65123         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65124         meaningful names to some local labels.
65126 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65127             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65129         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65130         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65131         (__arch_compare_and_exchange_val_16_acq): Likewise.
65132         (__arch_compare_and_exchange_val_32_acq): Likewise.
65133         (atomic_exchange_and_add): Fix gUSA sequence.
65134         (atomic_add): Likewise.
65135         (atomic_add_negative): Likewise.
65136         (atomic_add_zero): Likewise.
65137         (atomic_bit_test_set): Likewise.
65139 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65141         [BZ #13579]
65142         * include/link.h (struct link_map): Add l_free_initfini.
65143         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65144         l_initfini.
65145         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65146         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65147         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65148         set.
65150 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65152         * configure.in: Use AC_LANG_SOURCE.
65153         * configure: Regenerate.
65155 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65157         * configure.in (libc_cv_localstatedir): New substituted variable.
65158         * configure: Regenerated.
65159         * config.make.in (localstatedir): New variable, substituted from
65160         libc_cv_localstatedir.
65161         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65162         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65163         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65164         * sysdeps/gnu/configure: Regenerated.
65166 2012-06-21  Jeff Law  <law@redhat.com>
65168         [BZ #14277]
65169         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65170         free.  Simplify list management for _LIBC case.
65172 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65174         [BZ #14273]
65175         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65176         Clear sign bit of 64-bit integer value before comparing against
65177         overflow value.
65179         * sysdeps/mach/configure: Regenerated.
65181 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65183         [BZ #14278]
65184         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65186 2012-06-21  Jeff Law  <law@redhat.com>
65188         [BZ #13882]
65189         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65190         uint16_t for elements in the "seen" array to avoid char overflows.
65191         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65192         * elf/dl-open.c (dl_open_worker): Likewise.
65194 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65196         * scripts/list-sources.sh: Scan PORTS for translations.
65197         * po/libc.pot: Regenerated.
65199 2012-06-21  Andreas Jaeger  <aj@suse.de>
65201         [BZ #12194]
65202         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65203         warning.
65204         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65205         * bits/byteswap-16.h (__bswap_16): Likewise.
65206         * bits/byteswap.h (__bswap_constant_16): Likewise.
65208 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65210         [BZ #14117]
65211         * sysdeps/i386/fpu_control.h: Removed.
65212         * sysdeps/x86_64/fpu_control.h: Moved to ...
65213         * sysdeps/x86/fpu_control.h: Here.
65215         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65216         (_FPU_SETCW): Likewise.
65218 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65220         [BZ #14117]
65221         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65222         * sysdeps/x86/fpu/bits/mathinline.h: This.
65223         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65225         [BZ #14050]
65226         [BZ #14117]
65227         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65228         functions if __x86_64__ is defined.
65230 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65232         * string/endian.h: Add !__ASSEMBLER__ condition for including
65233         conversion interfaces.
65235 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65237         [BZ #14241]
65238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65239         of ABS(x) in calculating zero to negative powers other than odd
65240         integers.
65241         * math/libm-test.inc (pow_test): Add more tests.
65243 2012-06-15  Andreas Jaeger  <aj@suse.de>
65245         * manual/contrib.texi (Contributors): Update entry of Liubov
65246         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65247         Machado Filho.
65249 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65251         * string/string.h: Add __wur to GNU version of strerror_r.
65253 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65255         [BZ #14229]
65256         * string/Makefile (tests): Add tst-strtok_r.
65257         * string/tst-strtok_r.c: New file.
65258         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65259         RAX_LP/RDX_LP on SAVE_PTR.
65261 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65263         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65265 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65267         * libm_test.inc (csqrt_test): Allow more spurious underflow
65268         exceptions.
65269         (j0_test): Likewise.
65270         (j1_test): Likewise.
65271         (y0_test): Likewise.
65272         (y1_test): Likewise.
65274 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65276         * po/Makefile (libc.pot): Use UTF-8 charset.
65278 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65280         [BZ #14210]
65281         Suppress sign-conversion warning from FD_SET.
65282         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65283         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65284         not unsigned long int.
65285         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65287 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65289         [BZ #14050]
65290         [BZ #14117]
65291         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65292         __extern_always_inline instead of __extern_inline.
65293         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65294         (__signbit): Likewise.
65295         (__signbitl): Support C++ namespace.
65296         (lrintf): New inline function.
65297         (lrint): Likewise.
65298         (llrintf): Likewise.
65299         (llrint): Likewise.
65300         (fmaxf): Likewise.
65301         (fmax): Likewise.
65302         (fminf): Likewise.
65303         (fmin): Likewise.
65304         (rint): Likewise.
65305         (rintf): Likewise.
65306         (ceil): Likewise.
65307         (ceilf): Likewise.
65308         (floor): Likewise.
65309         (floorf): Likewise.
65310         (nearbyint): Likewise.
65311         (nearbyintf): Likewise.
65313 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65315         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65316         non-default versions.
65318 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65320         [BZ #14218]
65321         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65323 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65325         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65326         (FE_UPWARD, FE_DOWNWARD): Don't define.
65327         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65328         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65331         reading it.
65332         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65333         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65335 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65337         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65339         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65340         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65342 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65344         [BZ #14117]
65345         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65346         * sysdeps/i386/fpu/Implies: New file.
65347         * sysdeps/x86_64/fpu/Implies: Likewise.
65348         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65349         * sysdeps/x86/fpu/bits/fenv.h: This.
65351         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65352         __SSE_MATH__.
65354 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65356         [BZ #14134]
65357         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65358         character 0xffff that matches the last element of the
65359         conversion table.
65361 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65364         fmodl commit.
65366 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65368         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65369         values higher than 25.6283.
65371 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65374         subnormal exponent extraction and add some __builtin_expect.
65375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65376         Fix for subnormal mantissa calculation.
65378 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65380         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65381         cpu2 is -1 and errno is not ENOSYS.
65383 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65385         [BZ #14117]
65386         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65387         * sysdeps/x86/bits/string.h: This.
65388         * sysdeps/x86_64/bits/string.h: Removed.
65390         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65391         if not compiling for x86-64, but compiling for >= i486.
65393         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65394         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65396         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65397         New macro from Linux kernel 3.4.0.
65398         (FP_XSTATE_MAGIC2): Likewise.
65399         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65400         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65401         (struct _fpx_sw_bytes): New struct.
65402         (struct _xsave_hdr): Likewise.
65403         (struct _ymmh_state): Likewise.
65404         (struct _xstate): Likewise.
65406         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65407         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65408         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65409         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65411         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65413         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65414         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65415         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65416         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65417         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65418         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65420 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65422         [BZ #13743]
65423         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65424         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65425         (sysdep_headers): Include sys/platform/ppc.h.
65426         * sysdeps/powerpc/test-gettimebase.c: Test for
65427         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65428         * manual/Makefile (appendices): Include platform.texi.
65429         * manual/contrib.texi (Contributors): Update @node pointers.
65430         * manual/maint.texi (Maintenance): Likewise.
65431         (Platform): New node.
65432         * manual/platform.texi: New file.  Document the new features.
65434 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65435             Jakub Jelinek  <jakub@redhat.com>
65437         [BZ #14188]
65438         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65439         where __builtin_expect is unavailable.
65441 2012-06-03  David S. Miller  <davem@davemloft.net>
65443         * stdlib/longlong.h: Updated from GCC.
65445 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65447         [BZ #14042]
65448         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65449         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65450         __mcount_internal.
65451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65452         (GLIBC_2.16): Likewise.
65454 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65456         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65458 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65461         (default-abi): New variable.
65462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65463         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65464         variable.
65465         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65466         Likewise.
65467         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65468         Likewise.
65469         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65470         Likewise.
65472         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65473         definition.  Document in comment.
65475 2012-06-01  David S. Miller  <davem@davemloft.net>
65477         * stdlib/longlong.h: Updated from GCC.
65479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65481         [BZ #14117]
65482         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65483         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65484         sys/debugreg.h sys/io.h here.
65485         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65486         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65487         sys/io.h.
65488         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65489         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65490         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65491         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65492         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65493         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65495         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65496         Define only if __x86_64__ is defined.
65498 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65500         [BZ #14048]
65501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65502         Use int64_t for variable i.
65503         * math/libm-test.inc (fmod_test): Add more tests.
65505         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65506         z computation is not scheduled after fetestexcept.
65507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65508         Use math_force_eval instead of asm to ensure calculation scheduled
65509         before exception test.
65510         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65511         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65513 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65516         computation is not scheduled after fetestexcept.
65518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65520         [BZ #14117]
65521         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65522         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65524 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65526         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65527         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65529 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65531         [BZ #14117]
65532         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65533         <bits/wordsize.h>.
65534         (__WCHAR_MIN): Support __WORDSIZE == 64.
65535         (__WCHAR_MAX): Likewise.
65537         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65538         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65540         [BZ #14183]
65541         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65542         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65544         [BZ #14117]
65545         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65548         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65549         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65551         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65552         Defined to 1 if __x86_64__ isn't defined.
65553         (_STAT_VER_LINUX_OLD): New.
65554         (st_atime): Remove duplicate.
65555         (st_mtime): Likewise.
65556         (st_ctime): Likewise.
65558 2012-05-31  David S. Miller  <davem@davemloft.net>
65560         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65561         entries.
65563 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65565         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65566         gen-libm-test.pl.
65568         [BZ #14132]
65569         * elf/dl-reloc.c: Include <_itoa.h>.
65570         (_dl_reloc_bad_type): Remove use of INTUSE.
65571         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65572         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65573         * stdio-common/psiginfo.c (psiginfo): Likewise.
65574         * stdio-common/psignal.c (psignal): Likewise.
65575         * string/strsignal.c (strsignal): Likewise.
65576         * include/signal.h (_sys_siglist): Declare hidden proto.
65577         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65578         INTVARDEF with libc_hidden_data_def.
65579         * stdio-common/itoa-udigits.c: Likewise.
65580         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65581         (_itoa_lower_digits_internal): Remove declaration.
65582         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65583         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65584         (_sys_sigabbrev_internal): Remove aliases.
65585         (_sys_siglist): Define hidden alias.
65587 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65590         bits/sysctl.h.
65592 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65594         [BZ #14117]
65595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65596         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65598         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65599         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65600         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65601         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65602         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65603         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65605         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65607         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65609         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65610         with __addr.
65611         (insw): Likewise.
65612         (insl): Likewise.
65613         (outsb): Likewise.
65614         (outsw): Likewise.
65615         (outsl): Likewise.
65617         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65618         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65619         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65621         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65622         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65624         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65625         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65626         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65628         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65629         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65631         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65632         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65636         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65638         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65639         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65640         to ...
65641         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65643         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65644         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65645         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65648         for x86-64.
65649         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65651 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65653         * math/math.h (M_El): Use two more decimal places.
65654         (M_LOG2El): Likewise.
65655         (M_LOG10El): Likewise.
65656         (M_LN2l): Likewise.
65657         (M_LN10l): Likewise.
65658         (M_PIl): Likewise.
65659         (M_PI_2l): Likewise.
65660         (M_PI_4l): Likewise.
65661         (M_1_PIl): Likewise.
65662         (M_2_PIl): Likewise.
65663         (M_2_SQRTPIl): Likewise.
65664         (M_SQRT2l): Likewise.
65665         (M_SQRT1_2l): Likewise.
65667 2012-05-31  David S. Miller  <davem@davemloft.net>
65669         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65670         values between float registers.
65671         * sysdeps/sparc/sparc64/memset.S: Likewise.
65672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65674 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65676         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65677         -D_FORTIFY_SOURCE=1.
65678         (CPPFLAGS-tst-longjmp_chk.c): Define.
65679         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65680         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65681         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65682         CFLAGS-tst-wchar-h.c.
65684 2012-05-31  Marek Polacek  <polacek@redhat.com>
65686         [BZ #14132]
65687         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65688         __endmntent_internal): Remove declaration.
65689         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65690         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65691         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65693 2012-05-30  David S. Miller  <davem@davemloft.net>
65695         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65696         (___Q_simulate_exceptions): Use real FP ops rather than writing
65697         into the %fsr.
65698         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65699         Likewise.
65701 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65703         [BZ #14117]
65704         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65705         * sysdeps/x86/bits/xtitypes.h: This.
65707         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65708         * sysdeps/x86/bits/wordsize.h: This.
65710         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65711         * sysdeps/x86/bits/huge_vall.h: This.
65713         * sysdeps/i386/bits/select.h: Removed.
65714         * sysdeps/x86_64/bits/select.h: Renamed to ...
65715         * sysdeps/x86/bits/select.h: This.
65717         * sysdeps/i386/bits/setjmp.h: Removed.
65718         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65719         * sysdeps/x86/bits/setjmp.h: This.
65721         * sysdeps/i386/bits/mathdef.h: Removed.
65722         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65723         * sysdeps/x86/bits/mathdef.h: This.
65725 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65727         [BZ #14132]
65728         * include/sys/socket.h (__connect_internal)
65729         (__libc_sa_len_internal): Remove declaration.
65730         (__connect, __libc_sa_len): Declare hidden_proto.
65731         (SA_LEN): Remove use of INTUSE.
65732         * socket/connect.c: Add libc_hidden_def.
65733         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65734         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65735         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65736         alias.
65737         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65739         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65740         of adding _internal alias.
65742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65744         [BZ #14117]
65745         * sysdeps/i386/bits/link.h: Removed.
65746         * sysdeps/i386/bits/linkmap.h: Likewise.
65747         * sysdeps/x86_64/bits/link.h: Renamed to ...
65748         * sysdeps/x86/bits/link.h: This.
65749         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65750         * sysdeps/x86/bits/linkmap.h: This.
65752         * sysdeps/i386/bits/endian.h: Removed.
65753         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65754         * sysdeps/x86/bits/endian.h: This.
65756         * sysdeps/i386/bits/byteswap.h: Removed.
65757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65758         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65759         * sysdeps/x86/bits/byteswap.h: This.
65760         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65761         * sysdeps/x86/bits/byteswap-16.h: This.
65762         * sysdeps/i386/Implies: Add x86.
65763         * sysdeps/x86_64/Implies: Likewise.
65765 2012-05-30  David S. Miller  <davem@davemloft.net>
65767         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65768         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65770         (FP_TRAPPING_EXCEPTIONS): Define.
65771         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65772         (FP_TRAPPING_EXCEPTIONS): Define.
65773         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65774         subnormals only when inexact has been signalled or underflow
65775         exceptions are enabled.
65776         (_FP_PACK_CANONICAL): Likewise.
65778 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65780         [BZ #14183]
65781         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65782         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65784 2012-05-30  Richard Henderson  <rth@twiddle.net>
65786         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65787         with #ifndef NOT_IN_libc.
65789         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65790         marked to avoid plt entry.
65792 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65794         [BZ #14112]
65795         * Makeconfig (default-abi): New macro.
65796         (abi-includes): Likewise.
65797         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65798         $(abi-$(default-abi)-lib-soname) for soname if defined.
65799         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65800         abi-variants.
65801         * Makefile (installed-stubs): Likewise.
65802         * include/stubs-biarch.h: Removed.
65803         * scripts/lib-names.awk: Only handle one library at a time.
65804         * scripts/soversions.awk: Remove WORDSIZE support.
65805         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65806         entries.
65807         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65808         Removed.
65809         (syscall-list-default-condition): Likewise.
65810         (syscall-list-default-condition): Likewise.
65811         (syscall-list-includes): Likewise.
65812         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65813         syscall-list-* with abi-*.  Handle undefined abi-variants.
65814         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65815         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65816         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65817         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65818         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65819         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65820         Removed.
65821         (syscall-list-32-options): Likewise.
65822         (syscall-list-32-condition): Likewise.
65823         (syscall-list-64-options): Likewise.
65824         (syscall-list-64-condition): Likewise.
65825         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65826         macro.
65827         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65828         Renamed to ...
65829         (abi-*): This.
65830         (abi-64-ld-soname): New macro.
65831         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65832         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65833         Renamed to ...
65834         (abi-*): This.
65835         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65836         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65838 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65840         * sysdeps/unix/sysv/linux/kernel-features.h
65841         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65842         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65843         include <kernel-features.h>.
65844         [!__NR_ftruncate64]: Remove conditional code.
65845         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65846         [__NR_ftruncate64]: Make code unconditional.
65847         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65848         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65849         include <kernel-features.h>.
65850         [!__NR_ftruncate64]: Remove conditional code.
65851         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65852         [__NR_ftruncate64]: Make code unconditional.
65853         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65855         include <kernel-features.h>.
65856         [!__NR_ftruncate64]: Remove conditional code.
65857         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65858         [__NR_ftruncate64]: Make code unconditional.
65859         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65861         include <kernel-features.h>.
65862         [!__NR_ftruncate64]: Remove conditional code.
65863         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65864         [__NR_ftruncate64]: Make code unconditional.
65865         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65867         * configure.in (libc_cv_fpie): Weaken to a compile test using
65868         LIBC_TRY_CC_OPTION.
65869         * configure: Regenerated.
65871 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65877         Refreshed.
65878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65884         Refreshed.
65886 2012-05-27  David S. Miller  <davem@davemloft.net>
65888         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65889         (___Q_zero): New.
65890         (__Q_simulate_exceptions): Return void.  Change to simulate
65891         exceptions by writing into the %fsr.
65892         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65893         (__Qp_handle_exceptions): Likewise.
65894         (numbers): Delete.
65895         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65896         __Qp_handle_exceptions.
65897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65898         __Qp_handle_exceptions.
65899         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65900         as unused and give dummy FP_RND_NEAREST initializer.
65901         (FP_INHIBIT_RESULTS): Define.
65902         (___Q_simulate_exceptions): Update declaration.
65903         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65904         formatting.
65905         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65906         as unused and give dummy FP_RND_NEAREST initializer.
65907         (__Qp_handle_exceptions): Update declaration.
65908         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65909         formatting.
65911 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65913         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65914         the temporary FPU control word.
65915         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65916         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65917         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65918         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65919         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65920         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65921         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65922         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65923         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65924         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65925         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65927 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65929         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65930         fields.
65932 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65934         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65935         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65936         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65937         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65938         Likewise.
65939         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65940         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65941         Likewise.
65943 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65945         * po/h.po: Update from translation team.
65947 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65949         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65951         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65952         handling of denormals.
65953         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65954         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65955         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65958         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65960         Likewise.
65962 2012-05-26  Marek Polacek  <polacek@redhat.com>
65964         [BZ #14152]
65965         * math/libm-test.inc (fma_test): Don't always expect underflow
65966         exception.
65968 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65970         [BZ #12416]
65971         * elf/tst-execstack.c: Include stackinfo.h.
65972         (do_test): Adjust test case to ensure that pthread_getattr_np
65973         behaviour remains the same after marking stack executable.
65975 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65977         * sysdeps/unix/sysv/linux/kernel-features.h
65978         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65979         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65980         kernel-features.h.
65981         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65982         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65983         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65984         kernel-features.h.
65985         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65986         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65988 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65990         * configure.in: Define the default includes to being none.
65991         * configure: Regenerated.
65993 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65995         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65996         * sysdeps/x86_64/setjmp.S: Likewise.
65997         * sysdeps/i386/bsd-setjmp.S: Likewise.
65998         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65999         * sysdeps/i386/setjmp.S: Likewise.
66000         * sysdeps/i386/__longjmp.S: Likewise.
66001         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66002         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66004         * include/stap-probe.h: New file.
66005         * configure.in: Handle --enable-systemtap.
66006         * configure: Regenerated.
66007         * config.h.in (USE_STAP_PROBE): New #undef.
66008         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66009         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66010         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66012 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66014         [BZ #13717]
66015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66016         to 2.4.0 where earlier.
66017         * sysdeps/unix/sysv/linux/configure: Regenerated.
66018         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
66023         <kernel-features.h>.
66024         [__ASSUME_32BITUIDS]: Make code unconditional.
66025         [!__ASSUME_32BITUIDS]: Remove conditional code.
66026         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66027         [__ASSUME_32BITUIDS]: Make code unconditional.
66028         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66029         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
66066         <kernel-features.h>.
66067         [__ASSUME_32BITUIDS]: Make code unconditional.
66068         [!__ASSUME_32BITUIDS]: Remove conditional code.
66069         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66070         <kernel-features.h>.
66071         [__NR_setresgid] (__setresgid): Do not declare.
66072         [__ASSUME_32BITUIDS]: Make code unconditional.
66073         [!__ASSUME_32BITUIDS]: Remove conditional code.
66074         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66075         <kernel-features.h>.
66076         [__NR_setresuid] (__setresuid): Do not declare.
66077         [__ASSUME_32BITUIDS]: Make code unconditional.
66078         [!__ASSUME_32BITUIDS]: Remove conditional code.
66079         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
66116         <kernel-features.h>.
66117         [__ASSUME_32BITUIDS]: Make code unconditional.
66118         [!__ASSUME_32BITUIDS]: Remove conditional code.
66119         * sysdeps/unix/sysv/linux/kernel-features.h
66120         (__ASSUME_SETRESUID_SYSCALL): Remove.
66121         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66122         (__ASSUME_32BITUIDS): Likewise.
66123         (__ASSUME_LDT_WORKS): Likewise.
66124         (__ASSUME_O_DIRECTORY): Likewise.
66125         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66126         architecture but not kernel version.
66127         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66128         (__ASSUME_MMAP2_SYSCALL): Likewise.
66129         (__ASSUME_STAT64_SYSCALL): Likewise.
66130         (__ASSUME_IPC64): Likewise.
66131         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66132         <kernel-features.h>.
66133         [__ASSUME_32BITUIDS]: Make code unconditional.
66134         [!__ASSUME_32BITUIDS]: Remove conditional code.
66135         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66136         <kernel-features.h>.
66137         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66138         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66139         132096]: Remove conditional code.
66140         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66141         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
66146         <kernel-features.h>.
66147         [__ASSUME_32BITUIDS]: Make code unconditional.
66148         [!__ASSUME_32BITUIDS]: Remove conditional code.
66149         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66150         <kernel-features.h>.
66151         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66152         unconditional.
66153         (__setresgid): Do not declare.
66154         [__ASSUME_32BITUIDS]: Make code unconditional.
66155         [!__ASSUME_32BITUIDS]: Remove conditional code.
66156         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66157         <kernel-features.h>.
66158         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66159         unconditional.
66160         (__setresuid): Do not declare.
66161         [__ASSUME_32BITUIDS]: Make code unconditional.
66162         [!__ASSUME_32BITUIDS]: Remove conditional code.
66163         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66164         <kernel-features.h>.
66165         [__ASSUME_32BITUIDS]: Make code unconditional.
66166         [!__ASSUME_32BITUIDS]: Remove conditional code.
66167         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66168         <kernel-features.h>.
66169         [__ASSUME_32BITUIDS]: Make code unconditional.
66170         [!__ASSUME_32BITUIDS]: Remove conditional code.
66172 2012-05-25  Richard Henderson  <rth@twiddle.net>
66174         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66175         dl_hwcap to ifunc resolver.
66176         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66177         elf_ifunc_invoke.
66178         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66179         dl_hwcap to ifunc resolver.
66180         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66182 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66184         [BZ #14153]
66185         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66186         for |x| <= 2**-26, not 2**-57.
66187         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66188         exception.
66190 2012-05-24  Jeff Law  <law@redhat.com>
66192         * stdio-common/Makefile (tests): Add bug25.
66193         * stdio-common/bug25.c: New test.
66195 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66197         [BZ #13576]
66198         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66199         multiple of MALLOC_ALIGNMENT in size.
66200         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66202 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66204         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66205         Require >= 256.
66206         (FILENAME_MAX): Use macro-int-constant.
66207         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66208         (_IOFBF): Use macro-int-constant.
66209         (_IOLBF): Likewise.
66210         (_IONBF): Likewise.
66211         (SEEK_CUR): Likewise.
66212         (SEEK_END): Likewise.
66213         (SEEK_SET): Likewise.
66214         (TMP_MAX): Likewise.
66215         (EOF): Use macro-int-constant.  Require < 0.
66216         (NULL): Use macro-constant.  Require == 0.
66217         (stdin): Require type to be FILE *.
66218         (stdout): Likewise.
66219         (stderr): Likewise.
66220         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66221         macro-int-constant.
66222         (EXIT_SUCCESS): Likewise.
66223         (NULL): Use macro-constant.  Require == 0.
66224         (RAND_MAX): Use macro-int-constant.
66225         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66226         [C99-based standards] (strtof): Require function.
66227         [C99-based standards] (strtold): Likewise.
66228         [C99-based standards] (strtoll): Likewise.
66229         [C99-based standards] (strtoull): Likewise.
66230         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66231         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66232         [ISO || ISO99 || ISO11] (math.h): Likewise.
66233         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66234         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66235         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66237 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66239         [BZ #14132]
66240         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66241         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66242         * intl/dgettext.c (DCGETTEXT): Likewise.
66243         * intl/gettext.c (DCGETTEXT): Likewise.
66244         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66245         * posix/regex_internal.h (gettext): Likewise.
66246         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66247         Remove declaration.
66248         * include/argz.h (__argz_count_internal)
66249         (__argz_stringify_internal): Remove declaration.
66250         (__argz_count, __argz_stringify): Declare hidden proto.
66251         * intl/dcgettext.c: Remove use of INTDEF.
66252         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66253         * string/argz-stringify.c: Likewise.
66254         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66255         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66256         Declare hidden proto.
66257         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66258         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66259         Declare hidden proto.
66260         * include/stdio.h (__asprintf_internal): Don't declare.
66261         (__asprintf): Don't define as macro.  Declare hidden proto.
66262         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66263         (__fsetlocking): Declare hidden proto.
66264         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66265         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66266         hidden proto.
66267         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66268         (_IO_setlinebuf): Remove use of INTUSE.
66269         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66270         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66271         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66272         Remove declaration.
66273         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66274         (_IO_do_flush): Remove use of INTUSE.
66275         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66276         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66277         (_IO_adjust_column, _IO_least_wmarker)
66278         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66279         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66280         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66281         (_IO_default_doallocate, _IO_wdefault_doallocate)
66282         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66283         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66284         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66285         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66286         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66287         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66288         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66289         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66290         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66291         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66292         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66293         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66294         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66295         proto.
66296         (_IO_flush_all_internal, _IO_adjust_column_internal)
66297         (_IO_default_uflow_internal, _IO_default_finish_internal)
66298         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66299         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66300         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66301         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66302         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66303         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66304         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66305         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66306         (_IO_file_close_internal, _IO_file_close_it_internal)
66307         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66308         (_IO_file_init_internal, _IO_file_attach_internal)
66309         (_IO_file_fopen_internal, _IO_file_read_internal)
66310         (_IO_file_sync_internal, _IO_file_seek_internal)
66311         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66312         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66313         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66314         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66315         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66316         (_IO_list_all_internal, _IO_link_in_internal)
66317         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66318         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66319         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66320         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66321         (_IO_do_write_internal, _IO_padn_internal)
66322         (_IO_getline_info_internal, _IO_getline_internal)
66323         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66324         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66325         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66326         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66327         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66328         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66329         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66330         with libc_hidden_ver, remove use of INTUSE.
66331         * libio/genops.c: Likewise.
66332         * libio/freopen.c: Likewise.
66333         * libio/freopen64.c: Likewise.
66334         * libio/iofclose.c: Likewise.
66335         * libio/iofdopen.c: Likewise.
66336         * libio/iofflush.c: Likewise.
66337         * libio/iofflush_u.c: Likewise.
66338         * libio/iofgets.c: Likewise.
66339         * libio/iofgets_u.c: Likewise.
66340         * libio/iofopen.c: Likewise.
66341         * libio/iofopncook.c: Likewise.
66342         * libio/iofread.c: Likewise.
66343         * libio/iofread_u.c: Likewise.
66344         * libio/ioftell.c: Likewise.
66345         * libio/iofwrite.c: Likewise.
66346         * libio/iogetline.c: Likewise.
66347         * libio/iogets.c: Likewise.
66348         * libio/iogetwline.c: Likewise.
66349         * libio/iopadn.c: Likewise.
66350         * libio/iopopen.c: Likewise.
66351         * libio/ioseekoff.c: Likewise.
66352         * libio/ioseekpos.c: Likewise.
66353         * libio/iosetbuffer.c: Likewise.
66354         * libio/iosetvbuf.c: Likewise.
66355         * libio/ioungetc.c: Likewise.
66356         * libio/ioungetwc.c: Likewise.
66357         * libio/iovdprintf.c: Likewise.
66358         * libio/iovsprintf.c: Likewise.
66359         * libio/iovsscanf.c: Likewise.
66360         * libio/memstream.c: Likewise.
66361         * libio/obprintf.c: Likewise.
66362         * libio/oldfileops.c: Likewise.
66363         * libio/oldiofclose.c: Likewise.
66364         * libio/oldiofdopen.c: Likewise.
66365         * libio/oldiofopen.c: Likewise.
66366         * libio/oldiopopen.c: Likewise.
66367         * libio/oldstdfiles.c: Likewise.
66368         * libio/putc.c: Likewise.
66369         * libio/setbuf.c: Likewise.
66370         * libio/setlinebuf.c: Likewise.
66371         * libio/stdfiles.c: Likewise.
66372         * libio/strops.c: Likewise.
66373         * libio/vasprintf.c: Likewise.
66374         * libio/vscanf.c: Likewise.
66375         * libio/vsnprintf.c: Likewise.
66376         * libio/vswprintf.c: Likewise.
66377         * libio/wfiledoalloc.c: Likewise.
66378         * libio/wfileops.c: Likewise.
66379         * libio/wgenops.c: Likewise.
66380         * libio/wmemstream.c: Likewise.
66381         * libio/wstrops.c: Likewise.
66382         * libio/__fpurge.c: Likewise.
66383         * libio/__fsetlocking.c: Likewise.
66384         * assert/assert.c: Likewise.
66385         * debug/fgets_chk.c: Likewise.
66386         * debug/fgets_u_chk.c: Likewise.
66387         * debug/fread_chk.c: Likewise.
66388         * debug/fread_u_chk.c: Likewise.
66389         * debug/gets_chk.c: Likewise.
66390         * debug/obprintf_chk.c: Likewise.
66391         * debug/vasprintf_chk.c: Likewise.
66392         * debug/vdprintf_chk.c: Likewise.
66393         * debug/vsnprintf_chk.c: Likewise.
66394         * debug/vsprintf_chk.c: Likewise.
66395         * malloc/mtrace.c: Likewise.
66396         * misc/error.c: Likewise.
66397         * misc/syslog.c: Likewise.
66398         * stdio-common/asprintf.c: Likewise.
66399         * stdio-common/fxprintf.c: Likewise.
66400         * stdio-common/getw.c: Likewise.
66401         * stdio-common/isoc99_fscanf.c: Likewise.
66402         * stdio-common/isoc99_scanf.c: Likewise.
66403         * stdio-common/isoc99_vfscanf.c: Likewise.
66404         * stdio-common/isoc99_vscanf.c: Likewise.
66405         * stdio-common/isoc99_vsscanf.c: Likewise.
66406         * stdio-common/printf-prs.c: Likewise.
66407         * stdio-common/printf_fp.c: Likewise.
66408         * stdio-common/printf_fphex.c: Likewise.
66409         * stdio-common/printf_size.c: Likewise.
66410         * stdio-common/putw.c: Likewise.
66411         * stdio-common/scanf.c: Likewise.
66412         * stdio-common/sprintf.c: Likewise.
66413         * stdio-common/tmpfile.c: Likewise.
66414         * stdio-common/vfprintf.c: Likewise.
66415         * stdio-common/vfscanf.c: Likewise.
66416         * stdlib/strfmon_l.c: Likewise.
66417         * sunrpc/openchild.c: Likewise.
66418         * sunrpc/xdr_stdio.c: Likewise.
66419         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66420         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66422 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66426         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66427         in the third column, to generate for the shared library an IFUNC
66428         that uses _dl_vdso_vsym.
66429         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66430         * Makeconfig (object-suffixes-noshared): New variable.
66432         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66433         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66434         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66435         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66437         [BZ #14132]
66438         * include/sys/time.h (__gettimeofday): Remove macro.
66439         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66440         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66441         Remove INTDEF.
66442         (__gettimeofday): Add libc_hidden_def.
66443         (gettimeofday): Add libc_hidden_weak.
66444         * sysdeps/mach/gettimeofday.c: Likewise.
66445         * sysdeps/posix/gettimeofday.c: Likewise.
66446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66447         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66449         (__gettimeofday_internal): Remove strong_alias.
66450         (__gettimeofday): Add libc_hidden_def.
66451         (gettimeofday): Add libc_hidden_weak.
66452         * sysdeps/unix/syscalls.list (gettimeofday):
66453         Remove __gettimeofday_internal alias.
66455 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66456             H.J. Lu  <hongjiu.lu@intel.com>
66458         [BZ #12495]
66459         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66460         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66461         (largebin_index_32_big): New.
66462         (largebin_index): Use it for 16-byte alignment.
66463         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66464         correction with front_misalign.
66466 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66470         Likewise.
66471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66472         Likewise.
66473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66474         Likewise.
66475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66476         Likewise.
66477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66478         Likewise.
66479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66480         Likewise.
66481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66482         Likewise.
66483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66484         Likewise.
66485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66486         Likewise.
66487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66488         Likewise.
66489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66490         Likewise.
66491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66492         Likewise.
66494         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66495         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66497 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66499         [BZ #10846]
66500         [BZ #14036]
66501         * math/libm-test.inc (exp_test): Add test from bug 14036.
66502         (pow_test): Add test from bug 10846.
66504         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66505         and other flags.
66506         (special_function): Do not include flags in test name.
66507         (parse_args): Likewise.
66508         * sysdeps/i386/fpu/libm-test-ulps: Update.
66509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66511         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66514         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66515         exceptions.
66516         * math/libm-test.inc ("Philosophy"): Update comment about
66517         exception testing.
66518         (UNDERFLOW_EXCEPTION): New macro.
66519         (UNDERFLOW_EXCEPTION_OK): Likewise.
66520         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66521         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66522         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66523         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66524         (INVALID_EXCEPTION_OK): Update value.
66525         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66526         (OVERFLOW_EXCEPTION_OK): Likewise.
66527         (IGNORE_ZERO_INF_SIGN): Likewise.
66528         (test_exceptions): Handle underflow exceptions.
66529         (acos_test): Update for underflow exception expectations.
66530         (cexp_test): Likewise.
66531         (clog_test): Likewise.
66532         (clog10_test): Likewise.
66533         (csqrt_test): Likewise.
66534         (ctan_test): Likewise.
66535         (ctanh_test): Likewise.
66536         (exp_test): Likewise.
66537         (exp10_test): Likewise.
66538         (exp2_test): Likewise.
66539         (expm1_test): Likewise.
66540         (fma_test): Likewise.
66541         (j0_test): Likewise.
66542         (jn_test): Likewise.
66543         (nexttoward_test): Likewise.
66544         (pow_test): Likewise.
66545         (scalbn_test): Likewise.
66546         (scalbln_test): Likewise.
66547         (tan_test): Likewise.
66548         (y1_test): Likewise.
66549         * sysdeps/i386/fpu/libm-test-ulps: Update.
66550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66552 2012-05-23  David S. Miller  <davem@davemloft.net>
66554         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66555         (__libc_sigaction): Remove unused local variables.
66557 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66559         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66561 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66563         mktime: avoid signed integer overflow
66564         * time/mktime.c (__mktime_internal): Do not mishandle the case
66565         where diff == INT_MIN.
66567         mktime: simplify computation of average
66568         * time/mktime.c (ranged_convert): Use new time_t_avg function
66569         instead of rolling our own (probably-slower) code.
66571         mktime: do not assume signed right shift propagates sign bit
66572         * time/mktime.c (isdst_differ): New static function.
66573         (__mktime_internal): No need to normalize tm_isdst now.
66574         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66575         tm_isdst values.
66577         mktime: merge another wrapv change from gnulib
66578         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66579         from some compilers.
66581         mktime: remove incorrect attempt at unusual arithmetics
66582         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66583         The code didn't really work on such machines anyway.
66584         (TYPE_MINIMUM): Assume two's complement.
66585         (twos_complement_arithmetic): Verify that long_int and time_t
66586         are two's complement (or unsigned, in the latter case).
66588         mktime: check signed shifts on long_int and time_t, too
66589         * time/mktime.c (SHR): Check that shifts work as desired
66590         on the types long_int and time_t too, as SHR is used on
66591         such types.
66593         mktime: do not assume 'long' is wide enough
66594         * time/mktime.c (verify): Move decl up.
66595         (long_int): New type.
66596         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66597         to remove assumption in the code that 'long' is wide enough to
66598         store year values.  This assumption is not true on x32 and on
66599         some non-glibc platforms.
66601         mktime: merge wrapv change from gnulib
66602         * time/mktime.c (WRAPV): New macro.
66603         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66604         (guess_time_tm, __mktime_internal): Do not assume that signed
66605         integer overflow wraps around; modern compilers generate code
66606         where this assumption is no longer valid.
66608 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66610         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66611         Replace "jmp L(pseudo_end)" with "ret".
66612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66613         Likewise.
66615 2012-05-23  Andreas Jaeger  <aj@suse.de>
66617         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66618         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66620 2012-05-23  Andreas Jaeger  <aj@suse.de>
66621             Maximilian Attems  <max@stro.at>
66623         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66624         New macros.
66626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66629         code so that pseudo_end is just ret and the stack pointer is
66630         correct also for static library in error case.
66632 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66634         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66635         move to syscalls.list.
66636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66641         * manual/install.texi (Running make install): Do not mention Linux
66642         kernel version for which pt_chown is not needed.
66643         (Linux): Do not mention problems with nscd with 2.0 kernels.
66644         * INSTALL: Regenerated.
66646 2012-05-23  Andreas Jaeger  <aj@suse.de>
66648         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66649         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66650         macro.
66651         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66653         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66655         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66659         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66660         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66661         * sysdeps/unix/sysv/linux/bits/in.h
66662         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66664 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66666         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66667         (PREPARE_VERSION): Just use assert instead, it will be elided
66668         under [NDEBUG] anyway.
66670 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66672         * sysdeps/unix/sysv/linux/Makefile: Include
66673         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66674         (sysdep_routines): Remove sysctl.
66675         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66676         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66677         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66678         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66679         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66681 2012-05-22  Andreas Jaeger  <aj@suse.de>
66683         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66684         that pseudo_end is just ret and the stack pointer is correct also
66685         for static library in error case.
66687 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66689         [BZ #14122]
66690         * nss/nsswitch.c (defconfig_entries): New variable.
66691         (__nss_database_lookup): Don't leak defconfig entries.
66692         (nss_parse_service_list): Don't leak on error paths.
66693         (free_database_entries): New function.
66694         (free_defconfig): New function.
66695         (free_mem): Move common code to free_database_entries.
66697 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66699         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66700         Add arch_prctl.
66701         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66704         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66706         New macro.
66707         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66708         (INTERNAL_SYSCALL_TYPES): Likewise.
66709         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66710         (LOAD_REGS_TYPES_[1-6]): Likewise.
66711         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66712         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66714 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66716         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66717         copysignl for GLIBC_2_0.
66718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66719         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66721         logbl for GLIBC_2_0.
66722         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66723         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66725 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66728         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66730         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66731         Use "neg %eax".
66733         * time/mktime.c: Update copyright years.
66735 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66737         mktime: merge comment-quoting-style change from gnulib
66738         * time/mktime.c: Quote 'like this' in comments.
66739         The GNU coding standards suggest that we no longer quote `like this',
66740         as "`" and "'" are typically rendered asymmetrically nowadays.
66741         The typical gnulib style is to quote 'like this' when quoting
66742         code, and "like this" when quoting English.
66744         * time/mktime.c (compile-command): Add "-I.".
66746         mktime: merge mktime-internal.h change from gnulib
66747         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66749         mktime: merge time_r change from gnulib
66750         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66752         mktime: merge DEBUG change from gnulib
66753         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66754         case system <time.h> has a #define.
66756         mktime: merge <sys/types.h> change from gnulib
66757         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66758         since <time.t> is now guaranteed to define time_t.
66760         mktime: merge HAVE_CONFIG_H change from gnulib
66761         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66763 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66766         Use "neg %eax".
66768         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66769         __rlim_t cast.
66770         (struct rusage): Use anonymous union to pad each field to
66771         __syscall_slong_t.
66773 2012-05-21  David S. Miller  <davem@davemloft.net>
66775         * Makefules (o-iterator): Remove .s cases.
66776         (compile-command.s): Delete.
66777         (COMPILE.s): Delete.
66778         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66780 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66782         * configure.in (libc_cv_predef_stack_protector): Only consider
66783         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66784         * configure: Regenerated.
66786 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66789         New macro.  Use R*LP on int and pointer.
66790         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66791         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66792         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66793         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66795         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66796         [__WORDSIZE_TIME64_COMPAT32] instead of
66797         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66798         (struct utmp): Likewise.
66799         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66800         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66801         Renamed to ...
66802         (__WORDSIZE_TIME64_COMPAT32): This.
66803         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66804         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66805         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66806         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66807         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66808         (__WORDSIZE_TIME64_COMPAT32): New macro.
66810 2012-05-21  Andreas Jaeger  <aj@suse.de>
66812         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66813         only if [SHARED]. Add prototype for __wcschr_ia32.
66815 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66817         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66818         of %rbp unmolested in the jmp_buf while mangling the low bits.
66819         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66820         unmolested high bits of %rbp while demangling the low bits.
66821         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66823 2012-05-21  Andreas Jaeger  <aj@suse.de>
66825         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66826         * sunrpc/svc_simple.c: Use it for registerrpc.
66827         * sunrpc/xcrypt.c: Use it for passwd2des.
66829         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66833         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66834         Don't define if [__SYSCALL_WORDSIZE != 32].
66835         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66836         New macro.
66838 2012-05-21  Bruno Haible  <bruno@clisp.org>
66839             Andreas Jaeger  <aj@suse.de>
66841         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66842         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66843         inptr and inend for must_buffer_ch.
66844         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66845         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66846         * stdio-common/Makefile (tests): Remove bug15.
66847         (bug15-ENV): Remove macro.
66848         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66849         anymore.
66851 2012-05-19  Andreas Jaeger  <aj@suse.de>
66852             Roland McGrath  <roland@hack.frob.com>
66854         * manual/contrib.texi: Completely rewritten. It contains now an
66855         alphabetical list of contributors and their contributions.
66857 2012-05-21  Richard Henderson  <rth@twiddle.net>
66859         * misc/getauxval.c (__getauxval): Use unsigned long int.
66860         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66861         (getauxval): Use unsigned long int.
66863 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66865         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66867 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66869         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66870         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66871         __alignof__ (long double).
66873 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66877 2012-05-20  Richard Henderson  <rth@twiddle.net>
66879         * misc/getauxval.c: New file.
66880         * misc/sys/auxv.h: New file.
66881         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66882         (routines): Add getauxval.
66883         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66884         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66885         * elf/dl-sysdep.c (_dl_auxv): Remove.
66886         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66887         * elf/dl-support.c (_dl_auxv): New variable.
66888         (_dl_aux_init): Initialize it.
66889         * manual/startup.texi (Auxiliary Vector): New node.
66890         * sysdeps/generic/bits/hwcap.h: New file.
66891         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66892         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66893         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66894         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66895         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66896         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66898         Update.
66899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66908 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66912 2012-05-19  David S. Miller  <davem@davemloft.net>
66914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66916 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66918         [BZ #14123]
66919         * math/s_ccosh.c: Include <float.h>
66920         (__ccosh): Avoid internal overflow calculating sinh and cosh
66921         values before multiplying by sin and cos values.
66922         * math/s_ccoshf.c: Likewise.
66923         * math/s_ccoshl.c: Likewise.
66924         * math/s_csin.c: Likewise.
66925         * math/s_csinf.c: Likewise.
66926         * math/s_csinl.c: Likewise.
66927         * math/s_csinh.c: Likewise.
66928         * math/s_csinhf.c: Likewise.
66929         * math/s_csinhl.c: Likewise.
66930         * math/libm-test.inc (ccos_test): Add more tests.
66931         (ccosh_test): Likewise.
66932         (csin_test): Likewise.
66933         (csinh_test): Likewise.
66934         * sysdeps/i386/fpu/libm-test-ulps: Update.
66935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66937 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66939         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66940         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66942         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66944 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66946         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66947         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66948         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66949         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66950         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66951         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66952         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66953         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66954         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66955         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66956         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66957         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66958         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66959         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66960         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66961         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66962         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66963         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66964         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66965         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66966         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66967         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66968         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66969         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66970         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66971         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66972         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66973         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66974         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66975         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66976         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66978 2012-05-18  Andreas Jaeger  <aj@suse.de>
66980         * csu/.gitignore: Delete.
66982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66984         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66985         (timex): Use __syscall_slong_t.
66987 2012-05-18  Andreas Jaeger  <aj@suse.de>
66988             Carlos O'Donell  <carlos_odonell@mentor.com>
66990         * manual/install.texi (Configuring and compiling): Update
66991         description about files modified in the source directory.
66992         * INSTALL: Regenerated.
66994 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66996         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66997         value.  Use "or" to set return value to -1.
66998         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66999         negate return value.
67001 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67003         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67004         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67005         failure if the compiler has Graphite support disabled.
67006         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67007         Likewise.
67008         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67009         (CFLAGS-memmove.c): Likewise.
67010         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67011         Likewise.
67013 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67015         * sysdeps/x86_64/x32/_itoa.h: New file.
67017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67018         getdents system call only if kernel and user dirents have the
67019         same d_ino and d_off.
67021         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67022         LLONG_MAX != LONG_MAX.
67023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67024         (_fitoa_word): Likewise.
67026         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67027         years.
67028         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67029         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67030         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67033         include <bits/wordsize.h>.  Check __x86_64__ instead of
67034         __WORDSIZE.
67035         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67036         if __x86_64__ is defined.  Use anonymous union on fpstate.
67038         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67039         anonymous union.
67041 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67043         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67044         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67045         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67046         Refer to _rtld_local_ro instead of _rtld_global_ro.
67047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67048         Likewise.
67049         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67050         Likewise.
67051         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67052         Likewise.
67053         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67054         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67055         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67057         [BZ #10882]
67058         * sysdeps/powerpc/powerpc32/dl-machine.c
67059         (__elf_machine_runtime_setup) [PROF]: Don't reference
67060         _dl_prof_resolve.
67062 2012-05-18  Andreas Jaeger  <aj@suse.de>
67064         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67065         function only available for GCCs before 3.4 since GCC 3.4
67066         introduced a builtin.
67067         (lrint): Likewise.
67068         (llrintf): Likewise.
67069         (llrint): Likewise.
67070         (fmaxf): Likewise.
67071         (fmax): Likewise.
67072         (fminf): Likewise.
67073         (fmin): Likewise.
67074         (rint): Likewise.
67075         (rintf): Likewise.
67076         (nearbyint): Likewise.
67077         (nearbyintf): Likewise.
67078         (ceil): Likewise.
67079         (ceilf): Likewise.
67080         (floor): Likewise.
67081         (floorf): Likewise.
67083 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67085         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67086         on both fields and cast pointer to __syscall_ulong_t.
67088         * bits/types.h (__fsword_t): New type.
67089         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67090         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67092         (__FSWORD_T_TYPE): Likewise.
67093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67094         (__FSWORD_T_TYPE): Likewise.
67095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67096         (__FSWORD_T_TYPE): Likewise.
67097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67098         (__FSWORD_T_TYPE): Likewise.
67099         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67100         __SWORD_TYPE with __fsword_t.
67101         (statfs64): Likewise.
67103 2012-05-17  David S. Miller  <davem@davemloft.net>
67105         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67107 2012-05-17  Andreas Jaeger  <aj@suse.de>
67109         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67110         warning.
67112 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67114         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67116 2012-05-17  Andreas Jaeger  <aj@suse.de>
67118         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67119         when it is used.
67121 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67123         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67125 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67127         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67128         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67130 2012-05-17  Andreas Jaeger  <aj@suse.de>
67131             Carlos O'Donell  <carlos_odonell@mentor.com>
67133         [BZ #14059]
67134         * sysdeps/x86_64/multiarch/init-arch.h
67135         (bit_YMM_Usable): Rename to...
67136         (bit_AVX_Usable): ... this.
67137         (bit_FMA4_Usable): New macro.
67138         (bit_XMM_state): New macro.
67139         (bit_YMM_state): New macro.
67140         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67141         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67142         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67143         (CPUID_OSXSAVE): New macro.
67144         (CPUID_AVX): New macro.
67145         (CPUID_FMA4): New macro.
67146         (index_YMM_Usable): Rename to...
67147         (index_AVX_Usable): ... this.
67148         (HAS_AVX): Use HAS_ARCH_FEATURE.
67149         (HAS_FMA4): Likewise.
67150         (HAS_YMM_USABLE): Remove.
67151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67152         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67153         are present.
67154         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67155         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67156         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67157         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67158         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67160 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67162         * math/libm-test.c: Support platforms without multiple rounding modes.
67163         * math/bug-nextafter.c: Support platforms without FP exceptions.
67164         * math/bug-nexttoward.c: Likewise.
67165         * math/test-fenv.c: Likewise.
67166         * math/test-misc.c: Likewise.
67167         * stdlib/bug-getcontext.c: Likewise.
67169 2012-05-17  Andreas Jaeger  <aj@suse.de>
67171         * manual/examples/search.c (critter_cmp): Change signature to
67172         avoid warnings.
67173         * manual/string.texi (Collation Functions): Likewise.
67175 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67177         * bits/types.h: Fold copyright years.
67178         * bits/typesizes.h: Likewise.
67179         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67181         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67183         * time/time.h: Likewise.
67185 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67187         [BZ #208]
67188         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67189         in instead of returning them.  Return void.
67190         (__libc_mallinfo): Accumulate over all arenas.
67191         (__malloc_stats): Adjust for change in int_mallinfo interface.
67193 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67195         [BZ #10375]
67196         * configure.in (NM): Add AC_CHECK_TOOL for it.
67197         (libc_extra_cflags): New substituted variable.
67198         Check for -fstack-protector being used implicitly.
67199         * configure: Regenerated.
67200         * config.make.in (config-extra-cflags): New variable,
67201         gets @libc_extra_cflags@.
67202         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67204         [BZ #10375]
67205         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67206         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67207         * configure: Regenerated.
67208         * config.make.in (CPPUNDEFS): New substituted variable.
67209         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67210         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67211         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67213 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67215         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67216         (mq_attr): Use __syscall_slong_t.
67218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67220         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67221         Check __x86_64__ instead of __WORDSIZE.
67222         (_STAT_VER_LINUX): Likewise.
67223         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67224         __syscall_ulong_t and __syscall_slong_t.
67225         (stat64): Likewise.
67227 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67229         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67231 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67233         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67237         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67238         __syscall_ulong_t.
67240         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67241         include <bits/wordsize.h>.  Check __x86_64__ instead of
67242         __WORDSIZE.
67243         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67244         defined.
67245         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67247         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67248         include <bits/wordsize.h>.  Check __x86_64__ instead of
67249         __WORDSIZE.
67250         (user_regs_struct): Use "__extension__ unsigned long long"
67251         instead of "unsigned long" if __x86_64__ is defined.
67252         (user): Likewise.  Pad after pointer field if __ILP32__ is
67253         defined.
67255 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67257         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67258         versions 5 to 9.
67259         * configure: Regenerated.
67260         * manual/install.texi (texinfo): Increase version requirement to
67261         4.5 or later.
67262         * INSTALL: Regenerated.
67264         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67266 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67268         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67270         * sysdeps/x86_64/x32/ffs.c: New file.
67272         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67273         __syscall_ulong_t.
67274         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67275         defined.  Use __syscall_ulong_t.
67276         (shminfo): Use __syscall_ulong_t.
67277         (shm_info): Likewise.
67279         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67280         __syscall_ulong_t.
67282         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67283         <bits/wordsize.h>.
67284         (msgqnum_t): Use __syscall_ulong_t.
67285         (msglen_t): Likewise.
67286         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67287         __syscall_ulong_t.
67289         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67290         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67292         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67294         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67295         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67297         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67298         __syscall_slong_t.
67300         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67301         include <bits/wordsize.h>.  Check __x86_64__ instead of
67302         __WORDSIZE.
67304         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67305         "unsigned long long int" if __x86_64__ is defined.
67306         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67308         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67309         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67310         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67312         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67313         <stdint.h>.
67314         (GET_PC): Cast to uintptr_t first.
67315         (GET_FRAME): Likewise.
67316         (GET_STACK): Likewise.
67318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67320         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67321         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67322         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67323         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67324         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67325         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67326         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67327         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67328         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67329         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67330         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67331         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67332         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67333         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67334         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67335         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67336         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67337         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67339         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67340         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67341         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67342         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67343         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67345         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67346         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67348 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67350         * Makerules (+depfiles): Also collect depfiles from .oS in
67351         $(extra-objs).
67352         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67353         .oS, $(libnldbl-routines)).
67355         * Makerules (native-compile-mkdep-flags): Define.
67356         * sunrpc/Makefile (extra-objs): Add $(addprefix
67357         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67358         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67359         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67360         calling $(make-target-directory).
67362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67364         * bits/types.h (__snseconds_t): Removed.
67365         * time/time.h (struct timespec): Replace __snseconds_t with
67366         __syscall_slong_t.
67367         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67368         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67369         Likewise.
67370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67371         (__SNSECONDS_T_TYPE): Likewise.
67372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67373         (__SNSECONDS_T_TYPE): Likewise.
67374         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67375         (__SNSECONDS_T_TYPE): Likewise.
67377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67379         * sysdeps/mach/hurd/bits/typesizes.h
67380         (__SYSCALL_SLONG_TYPE): New macro.
67381         (__SYSCALL_ULONG_TYPE): Likewise.
67383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67385         * bits/types.h (__syscall_slong_t): New type.
67386         (__syscall_ulong_t): Likewise.
67388         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67389         (__SYSCALL_ULONG_TYPE): Likewise.
67390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67391         (__SYSCALL_SLONG_TYPE): Likewise.
67392         (__SYSCALL_ULONG_TYPE): Likewise.
67393         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67394         (__SYSCALL_SLONG_TYPE): Likewise.
67395         (__SYSCALL_ULONG_TYPE): Likewise.
67396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67397         (__SYSCALL_SLONG_TYPE): Likewise.
67398         (__SYSCALL_ULONG_TYPE): Likewise.
67400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67402         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67403         Add sigaltstack-offsets.sym.
67404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67405         <sigaltstack-offsets.h>.
67406         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67407         longjmp_msg pointer.
67408         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67409         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67410         signal stack.
67411         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67413 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67415         * elf/stackguard-macros.h: Remove file.
67416         * sysdeps/generic/stackguard-macros.h: New file.
67417         * sysdeps/i386/stackguard-macros.h: Likewise.
67418         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67419         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67420         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67421         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67422         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67423         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67424         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67425         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67426         <elf/stackguard-macros.h>.
67428         [BZ #14109]
67429         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67430         __aligned__ in attribute.
67431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67432         (gregset_t): Likewise.
67434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67436         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67437         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67438         * sysdeps/x86_64/x32/Implies-after: New file.
67440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67442         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67443         and access return value for _dl_profile_fixup.  Use R10_LP to
67444         load frame size.
67446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67448         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67452         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67453         * sysdeps/x86_64/x32/sysdep.h: New file.
67455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67457         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67458         * sysdeps/x86_64/setjmp.S: Likewise.
67460 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67462         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67463         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67464         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67465         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67466         remove unused global constant.
67468 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67470         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67471         include of <not-cancel.h>.
67473 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67475         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67477 2012-05-15  Jeff Law  <law@redhat.com>
67478             Andreas Jaeger  <aj@suse.de>
67480         [BZ #13594]
67481         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67482         out from...
67483         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67484         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67485         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67486         code changing __hst_map_handle.map.
67488 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67490         * configure.in (sysnames): Look for Implies-before and Implies-after
67491         files.
67492         * configure: Regenerated.
67494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67496         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67497         8-byte data alignment with LP_SIZE alignment.
67499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67501         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67502         into R10_LP.
67504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67506         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67510         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67511         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67512         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67513         Likewise.
67514         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67518         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67519         (stackinfo_sub_sp): Likewise.
67521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67523         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67524         RAX_LP.
67526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67529         into R*_LP.
67531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67533         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67534         sizes into R*_LP.
67536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67538         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67542         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67543         into R11_LP and load __x86_64_shared_cache_size_half into
67544         R8_LP.
67546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67548         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67549         R8_LP.
67551 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67554         logb for POWER7.
67555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67556         logbf for POWER7.
67557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67558         logbl for POWER7.
67559         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67560         powerpc32/power7/fpu/s_logb.c via #include.
67561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67562         powerpc32/power7/fpu/s_logbf.c via #include.
67563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67564         powerpc32/power7/fpu/s_logbl.c via #include.
67566 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67568         * README.libm: Remove file.
67570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67572         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67573         count for x32.  Use R*_LP and omit operand-size suffix.
67575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67577         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67578         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67579         * sysdeps/x86_64/x32/shlib-versions: New file.
67581 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67583         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67584         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67585         Use _dl_fatal_printf instead.
67587 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67589         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67590         set if not set by the user.  Do not allow for being unset.
67591         * sysdeps/unix/sysv/linux/configure: Regenerated.
67593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67595         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67596         the `q' suffix from lea and replace .quad with ASM_ADDR.
67598 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67601         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67602         instead of $17.
67603         (PTR_DEMANGLE): Likewise.
67605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67607         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67608         (LP_OP): Likewise.
67609         (ASM_ADDR): Likewise.
67610         (RAX_LP): Likewise.
67611         (RBP_LP): Likewise.
67612         (RBX_LP): Likewise.
67613         (RCX_LP): Likewise.
67614         (RDI_LP): Likewise.
67615         (RSI_LP): Likewise.
67616         (RSP_LP): Likewise.
67617         (R8_LP): Likewise.
67618         (R9_LP): Likewise.
67619         (R10_LP): Likewise.
67620         (R10_LP): Likewise.
67621         (R11_LP): Likewise.
67622         (R12_LP): Likewise.
67623         (R13_LP): Likewise.
67624         (R14_LP): Likewise.
67625         (R15_LP): Likewise.
67627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67629         * sysdeps/x86_64/x32/dl-machine.h: New file.
67631 2012-05-14  Andreas Jaeger  <aj@suse.de>
67633         * manual/Makefile (subdir): Remove export of subdir.
67634         (all): Remove target.
67635         (.PHONY): Remove all from list.
67636         (mkinstalldirs): Remove.
67637         (.PHONY): Remove installdirs from list.
67638         ($(inst_infodir)/libc.info): Use make-target-directory.
67639         (installdirs): Remove.
67640         (subdir_%): Remove.
67641         (glibc-targets): Remove.
67642         (lib): Remove.
67643         (stubs): Remove.
67644         ($(objpfx)stubs ../po/manual.pot): Remove.
67645         ($(objpfx)stamp%): Remove.
67646         (make-target-directory): Remove.
67647         (subdir_install): Remove.
67648         (routines): Remove.
67649         (aux): Remove.
67650         (sources): Remove.
67651         (objects): Remove.
67652         (headers): Remove.
67654         [BZ #13750]
67655         * manual/.gitignore: Remove, it's not needed anymore.
67656         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67657         all files in it.
67658         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67659         directory.
67660         (texis): Renamed to $(objpfx)texis.
67661         (texis-path): New, contains path to generated files.
67662         (chapters.%): Use texis-path for complete path, add extra argument
67663         libc-texinfo.sh.
67664         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67665         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67666         (summary,texi, stamp-summary): Use complete path of
67667         files. Generate files in build dir.
67668         (dir-add.texi): Build in build dir.
67669         (libm-err.texi,stamp-libm-err): Likewise.
67670         (version.texi, stamp-version): Likewise.
67671         (.%c.texi): Likewise.
67672         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67673         (mostlyclean): Remove target.
67674         (realclean): Remove target.
67675         (generated): Add new variable with contents from mostlyclean and
67676         realclean, remove entries duplicated in common-mostlyclean, add
67677         stamp-libm-err and stamp-version.
67678         (generated-dirs): Add libc directory.
67679         ($(inst_infodir)/libc.info): Install files from build dir.
67681         * manual/install.texi (Configuring and compiling): Adjust since
67682         the info files are not part of the tar ball anymore.
67684 2012-05-14  Andreas Jaeger  <aj@suse.de>
67686         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67687         variable.
67689 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67691         [BZ #13717]
67692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67693         to 2.2.0 where earlier.
67694         * sysdeps/unix/sysv/linux/configure: Regenerated.
67695         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67696         Remove conditional code.
67697         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67698         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67699         Remove conditional code.
67700         [!__NR_lchown]: Likewise.
67701         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67702         [__NR_lchown]: Likewise.
67703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67704         comment referencing __ASSUME_LCHOWN_SYSCALL.
67705         * sysdeps/unix/sysv/linux/i386/sigaction.c
67706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67708         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67709         Remove conditional code.
67710         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67711         (__protocol_available): Remove #if 0 code.
67712         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67713         conditional code.
67714         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67715         * sysdeps/unix/sysv/linux/kernel-features.h
67716         (__ASSUME_GETCWD_SYSCALL): Don't define.
67717         (__ASSUME_REALTIME_SIGNALS): Likewise.
67718         (__ASSUME_PREAD_SYSCALL): Likewise.
67719         (__ASSUME_PWRITE_SYSCALL): Likewise.
67720         (__ASSUME_POLL_SYSCALL): Likewise.
67721         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67722         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67723         non-SPARC.
67724         (__ASSUME_SIOCGIFNAME): Don't define.
67725         (__ASSUME_MSG_NOSIGNAL): Likewise.
67726         (__ASSUME_SENDFILE): Define unconditionally.
67727         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67728         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67729         conditional code.
67730         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67731         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67732         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67733         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67734         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67735         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67736         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67741         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67750         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67753         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67756         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67759         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67760         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67761         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67762         Remove conditional code.
67763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67764         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67765         Remove conditional code.
67766         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67767         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67768         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67769         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67770         Remove conditional code.
67771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67772         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67773         Remove conditional code.
67774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67775         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67776         Remove conditional code.
67777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67778         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67779         Remove conditional code.
67780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67781         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67782         Remove conditional code.
67783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67784         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67785         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67786         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67787         * sysdeps/unix/sysv/linux/sigaction.c
67788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67790         * sysdeps/unix/sysv/linux/sigpending.c
67791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67793         * sysdeps/unix/sysv/linux/sigprocmask.c
67794         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67795         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67796         * sysdeps/unix/sysv/linux/sigsuspend.c
67797         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67798         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67800         (__libc_missing_rt_sigs): Remove.
67801         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67802         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67803         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67804         Remove conditional code.
67805         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67806         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67807         return 1.
67808         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67809         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67810         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67811         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67813 2012-05-14  Andreas Jaeger  <aj@suse.de>
67815         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67816         it's not used in glibc.
67817         (__coshm1): Likewise.
67818         (__acosh1p): Likewise.
67819         (__sgn): Likewise.
67821         * manual/string.texi (Copying and Concatenation): Add missing
67822         variable in concat example.
67823         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67827         [BZ #14103]
67828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67829         __builtin_clzl with __builtin_clzll.
67831 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67833         [BZ #14104]
67834         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67835         libc_freeres_ptr.
67837 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67839         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67840         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67841         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67842         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67844 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67846         * NEWS: Update ia64 info.
67848 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67850         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67851         used as bcopy.
67853 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67855         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67856         * sysdeps/unix/syscalls.list (dup3): Likewise.
67857         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67858         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67860 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67862         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67863         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67865 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67867         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67868         thread pointer.
67869         (TLS_IE): Use mov/add instead of movq/addq to load thread
67870         pointer.
67871         (TLS_GD_PREFIX): New.
67872         (TLS_GD): Use it.
67874 2012-05-11  David S. Miller  <davem@davemloft.net>
67876         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67877         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67878         (_FPU_SETCW): Likewise.
67880 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67882         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67883         is 32-byte aligned.
67885 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67887         [BZ #11837]
67888         * iconvdata/gb18030.c: Update tables.
67889         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67890         characters specially.
67891         (BODY for TO_LOOP): Add encoding of missing ranges.
67893 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67895         [BZ #13673]
67896         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67897         * sysdeps/mach/hurd/dup3.c: Likewise.
67898         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67899         * sysdeps/powerpc/memmove.c:: Likewise.
67901 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67904         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67906 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67908         * elf/elf.h (R_X86_64_RELATIVE64): New.
67909         (R_X86_64_NUM): Updated.
67910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67911         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67912         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67913         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67914         tst-quad1pie tst-quad2pie
67915         (modules-names): Add tst-quadmod1 tst-quadmod2.
67916         ($(objpfx)tst-quad1): New dependency.
67917         ($(objpfx)tst-quad2): Likewise.
67918         ($(objpfx)tst-quad1pie): Likewise.
67919         ($(objpfx)tst-quad2pie): Likewise.
67920         * sysdeps/x86_64/tst-quad1.c: New file.
67921         * sysdeps/x86_64/tst-quad1pie.c: New file.
67922         * sysdeps/x86_64/tst-quad2.c: Likewise.
67923         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67924         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67925         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67926         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67927         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67931         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67932         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67933         * streams/stropts.h (t_scalar_t): Define type.
67935         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67936         (_PATH_PRESERVE): Set to "/var/lib".
67937         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67939         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67940         instead of int.
67942         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67943         if __dir_mkfile succeeded.
67945         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67946         checking for _hurd_dtablesize.  Unlock it right after having
67947         finished _hurd_dtable allocation.
67949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67951         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67952         * sysdeps/mach/hurd/configure: Regenerated.
67953         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67954         special-casing to...
67955         * sysdeps/gnu/configure.in: ... this new file.
67956         * sysdeps/unix/sysv/linux/configure: Regenerated.
67957         * sysdeps/gnu/configure: New generated file.
67959         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67960         for Linux: use nsec instead of usec, as well as:
67961         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67962         members of type struct timespec.
67963         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67964         New macros.
67965         (struct stat64): Likewise.
67966         (_STATBUF_ST_NSEC): New macro.
67967         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67969         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67970         __strtoul_internal rather than strtoul.
67972 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67974         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67975         and reject them.
67977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67979         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67980         which preserves existing values.
67981         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67983 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67985         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67986         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67987         greater than FD_SETSIZE.
67989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67991         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67992         allocated, call __vm_protect to finish enabling the existing space, and
67993         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67994         allocate the remainder.
67996 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67998         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67999         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68003         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68004         sysdeps/mach/hurd/readlink.c.
68006         * posix/tst-sysconf.c (posix_options): Only use
68007         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68008         _POSIX_SYNCHRONIZED_IO when they are defined
68009         * sysdeps/mach/hurd/bits/posix_opt.h:
68010         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68011         (_XOPEN_REALTIME): Undefine macro.
68012         (_XOPEN_REALTIME_THREADS): Undefine macro.
68013         (_XOPEN_SHM): Undefine macro.
68014         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68015         macro to -1.
68016         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68017         macro to -1.
68018         (_POSIX_ASYNC_IO): Undefine macro.
68019         (_POSIX_PRIORITIZED_IO): Undefine macro.
68020         (_POSIX_SPIN_LOCKS): Define macro to -1.
68022         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68023         SA_NODEFER, SA_RESETHAND.
68024         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68025         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68026         F_DUPFD_CLOEXEC.
68028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68030         * elf/Makefile (pldd-modules): Define unconditionally.
68032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68034         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68038         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68039         Return ENOENT when name is empty.
68040         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68044         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68046         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68050         Fix mlock in all cases except non-readable pages.
68051         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68052         instead of VM_PROT_ALL as parameter to __vm_wire function.
68054         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68055         (__mkdir): When path is `/', just fail with EEXIST.
68056         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68060         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68061         <sys/uio.h> (for writev).
68062         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68063         and <sys/param.h> (for MIN).
68065 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68067         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68068         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68069         if interrupted.
68071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68073         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68074         Depend on against $(link-rpcuserlibs).
68076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68078         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68079         (__libc_stack_end): Do not use attribute_relro.
68080         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68081         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68082         to libthread-provided value.
68083         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68084         attribute_relro.
68086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68088         [BZ #3748]
68089         * bits/libc-lock.h (__libc_once_get): New macro.
68090         * sysdeps/mach/bits/libc-lock.h: Likewise.
68091         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68093         instead of using implementation details.
68095         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68096         * libio/freopen.c: Likewise.
68097         * libio/freopen64.c: Likewise.
68098         * misc/syslog.c: Likewise.
68099         * nscd/connections.c: Likewise.
68100         * nscd/netgroupcache.c: Likewise.
68101         * sysdeps/posix/getcwd.c: Likewise.
68103 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68105         * math/w_ilogbf.c: Add #include <limits.h>.
68107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68109         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68110         path instead of returning without unlocking.
68112         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68113         immediate-write ioctls.
68114         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68118         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68119         __builtin_frame_address instead of making assumptions about the
68120         location of the return address relative to DATA.  Force early load of
68121         the return address.
68122         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68123         __builtin_frame_address.
68125         dup3 for GNU Hurd.
68126         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68127         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68128         implement dup3 and do some further code clean-ups.
68129         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68130         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68134         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68136         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68137         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68138         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68139         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68140         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68141         d->port.lock.
68143         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68144         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68145         when handler == SIG_ERR, not when handler != SIG_ERR.
68147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68149         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68150         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68151         definitions.
68153         accept4 for GNU Hurd.
68154         * include/sys/socket.h (__libc_accept4): New prototype.
68155         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68156         to implement __libc_accept4.
68157         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68158         __libc_accept4.
68159         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68161         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68162         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68163         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68164         signal-defines.sym.
68166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68168         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68170 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68172         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68173         assertion on O_CLOEXEC flag.
68174         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68175         * hurd/intern-fd.c: Likewise.
68176         * hurd/port2fd.c: Likewise.
68178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68180         [BZ #3906]
68181         * bits/in.h (IPV6_PKTINFO): Define new macro.
68182         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68184 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68186         [BZ #13954]
68187         [BZ #13955]
68188         [BZ #13956]
68189         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68190         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68191         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68192         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68194         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68195         * math/libm-test.inc (logb_test) : Additional logb tests.
68197 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68198             Andreas Jaeger  <aj@suse.de>
68200         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68201         * configure: Regenerated.
68202         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68203         * config.make.in (link-obsolete-rpc): New substituted variable.
68204         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68205         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68206         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68207         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68208         so that libc.a contains the symbols.
68209         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68210         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68211         * sunrpc/auth_none.c: Likewise.
68212         * sunrpc/auth_unix.c: Likewise.
68213         * sunrpc/authdes_prot.c: Likewise.
68214         * sunrpc/authuxprot.c: Likewise.
68215         * sunrpc/clnt_gen.c: Likewise.
68216         * sunrpc/clnt_perr.c: Likewise.
68217         * sunrpc/clnt_raw.c: Likewise.
68218         * sunrpc/clnt_simp.c: Likewise.
68219         * sunrpc/clnt_tcp.c: Likewise.
68220         * sunrpc/clnt_udp.c: Likewise.
68221         * sunrpc/clnt_unix.c: Likewise.
68222         * sunrpc/des_crypt.c: Likewise.
68223         * sunrpc/des_soft.c: Likewise.
68224         * sunrpc/get_myaddr.c: Likewise.
68225         * sunrpc/key_call.c: Likewise.
68226         * sunrpc/key_prot.c: Likewise.
68227         * sunrpc/netname.c: Likewise.
68228         * sunrpc/pm_getmaps.c: Likewise.
68229         * sunrpc/pm_getport.c: Likewise.
68230         * sunrpc/pmap_clnt.c: Likewise.
68231         * sunrpc/pmap_prot.c: Likewise.
68232         * sunrpc/pmap_prot2.c: Likewise.
68233         * sunrpc/pmap_rmt.c: Likewise.
68234         * sunrpc/publickey.c: Likewise.
68235         * sunrpc/rpc_cmsg.c: Likewise.
68236         * sunrpc/rpc_common.c: Likewise.
68237         * sunrpc/rpc_dtable.c: Likewise.
68238         * sunrpc/rpc_prot.c: Likewise.
68239         * sunrpc/rpc_thread.c: Likewise.
68240         * sunrpc/rtime.c: Likewise.
68241         * sunrpc/svc.c: Likewise.
68242         * sunrpc/svc_auth.c: Likewise.
68243         * sunrpc/svc_raw.c: Likewise.
68244         * sunrpc/svc_run.c: Likewise.
68245         * sunrpc/svc_tcp.c: Likewise.
68246         * sunrpc/svc_udp.c: Likewise.
68247         * sunrpc/svc_unix.c: Likewise.
68248         * sunrpc/svcauth_des.c: Likewise.
68249         * sunrpc/xcrypt.c: Likewise.
68250         * sunrpc/xdr.c: Likewise.
68251         * sunrpc/xdr_array.c: Likewise.
68252         * sunrpc/xdr_float.c: Likewise.
68253         * sunrpc/xdr_intXX_t.c: Likewise.
68254         * sunrpc/xdr_mem.c: Likewise.
68255         * sunrpc/xdr_rec.c: Likewise.
68256         * sunrpc/xdr_ref.c: Likewise.
68257         * sunrpc/xdr_sizeof.c: Likewise.
68258         * sunrpc/xdr_stdio.c: Likewise.
68260 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68262         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68263         change.  Update copyright years.
68265 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68267         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68269 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68270             Joseph Myers  <joseph@codesourcery.com>
68271             Paul Pluzhnikov  <ppluzhnikov@google.com>
68273         [BZ #14012]
68274         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68275         requiring rpcgen.
68276         [cross-compiling] (extra-libs): Likewise.
68277         [cross-compiling] (extra-libs-others): Likewise.
68278         [cross-compiling] (librpcsvc-routines): Likewise.
68279         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68280         [cross-compiling] (omit-deps): Likewise.
68281         (sunrpc-CPPFLAGS): New variable.
68282         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68283         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68284         (cross-rpcgen-objs): New variable.
68285         (extra-objs): Append $(cross-rpcgen-objs).
68286         ($(cross-rpcgen-objs)): New rule.
68287         ($(objpfx)cross-rpcgen): Likewise.
68288         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68289         comment.
68290         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68291         ($(objpfx)x%.stmp): Likewise.
68292         * sunrpc/proto.h [IS_IN_build] (_): Define.
68293         [IS_IN_build] (_libc_intl_domainname): Likewise.
68295 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68297         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68298         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68299         and R_X86_64_TPOFF64.
68301 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68303         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68304         sysdeps/unix/sysv/syscalls.list.
68305         (stime): Likewise.
68306         (utime): Likewise.
68307         * sysdeps/unix/sysv/syscalls.list: Remove file.
68309 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68311         [BZ #3440]
68312         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68313         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68314         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68315         (__LC_IDENTIFICATION): Make these macros useful in #if
68316         expressions, as required by C99.
68318 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68320         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68321         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68322         after this.
68324 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68326         * stdlib/longlong.h: Updated from GCC.
68328 2012-05-09  Andreas Jaeger  <aj@suse.de>
68330         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68331         default is first entry.
68332         (run_mode): Set type.
68333         (main): Remove informal message about syslog.
68334         (options): Fix typo.
68336         [BZ #14053]
68337         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68338         to asm.
68339         (lrint): Likewise.
68340         (llrintf): Likewise.
68341         (llrint): Likewise.
68342         (rint): Likewise.
68343         (rintf): Likewise.
68344         (nearbyint): Likewise.
68345         (nearbyintf): Likewise.
68347 2012-05-09  Andreas Jaeger  <aj@suse.de>
68348             Pedro Alves  <palves@redhat.com>
68350         * nscd/nscd.c (run_mode): Use enum.
68351         (main): Cleanup coding style issue.
68353 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68354             Andreas Jaeger  <aj@suse.de>
68356         * nscd/nscd.c (go_background): Replaced with...
68357         (run_mode): ... this.
68358         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68359         (options): Add -F --foreground.
68360         (main): Implement it.
68361         (parse_opt): Parse it.
68363 2012-05-09  Andreas Jaeger  <aj@suse.de>
68365         [BZ #14083]
68366         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68367         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68368         -Wconversion warning.
68369         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68370         Likewise.
68372 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68374         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68375         == 0.
68376         (LC_ALL): Use macro-int-constant.
68377         (LC_COLLATE): Likewise.
68378         (LC_CTYPE): Likewise.
68379         (LC_MESSAGES): Likewise.
68380         (LC_MONETARY): Likewise.
68381         (LC_NUMERIC): Likewise.
68382         (LC_TIME): Likewise.
68383         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68384         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68386         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68387         Specify type.
68388         [C99-based standards] (float_t): Expect type.
68389         [C99-based standards] (double_t): Expect type.
68390         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68391         type.
68392         [C99-based standards] (HUGE_VALL): Likewise.
68393         [C99-based standards] (INFINITY): Likewise.
68394         [C99-based standards] (NAN): Likewise.
68395         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68396         [C99-based standards] (FP_NAN): Likewise.
68397         [C99-based standards] (FP_NORMAL): Likewise.
68398         [C99-based standards] (FP_SUBNORMAL): Likewise.
68399         [C99-based standards] (FP_ZERO): Likewise.
68400         [C99-based standards] (FP_FAST_FMA): Use
68401         optional-macro-int-constant.  Specify type.  Require == 1.
68402         [C99-based standards] (FP_FAST_FMAF): Likewise.
68403         [C99-based standards] (FP_FAST_FMAL): Likewise.
68404         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68405         [C99-based standards] (FP_ILOGBNAN): Likewise.
68406         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68407         Specify type.
68408         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68409         [C99-based standards] (math_errhandling): Specify type.
68410         [ISO99 || ISO11] (signgam): Do not allow.
68411         [non-C99-based standards] (copysignf): Do not allow.
68412         [non-C99-based standards] (exp2f): Likewise.
68413         [non-C99-based standards] (log2f): Likewise.
68414         [non-C99-based standards] (modff): Allow.
68415         [non-C99-based standards] (erff): Do not allow.
68416         [non-C99-based standards] (erfcf): Likewise.
68417         [non-C99-based standards] (gammaf): Likewise.
68418         [non-C99-based standards] (hypotf): Likewise.
68419         [non-C99-based standards] (j0f): Likewise.
68420         [non-C99-based standards] (j1f): Likewise.
68421         [non-C99-based standards] (jnf): Likewise.
68422         [non-C99-based standards] (lgammaf): Likewise.
68423         [non-C99-based standards] (tgammaf): Likewise.
68424         [non-C99-based standards] (y0f): Likewise.
68425         [non-C99-based standards] (y1f): Likewise.
68426         [non-C99-based standards] (ynf): Likewise.
68427         [non-C99-based standards] (isnanf): Likewise.
68428         [non-C99-based standards] (acoshf): Likewise.
68429         [non-C99-based standards] (asinhf): Likewise.
68430         [non-C99-based standards] (atanhf): Likewise.
68431         [non-C99-based standards] (cbrtf): Likewise.
68432         [non-C99-based standards] (expm1f): Likewise.
68433         [non-C99-based standards] (ilogbf): Likewise.
68434         [non-C99-based standards] (log1pf): Likewise.
68435         [non-C99-based standards] (logbf): Likewise.
68436         [non-C99-based standards] (nextafterf): Likewise.
68437         [non-C99-based standards] (remainderf): Likewise.
68438         [non-C99-based standards] (rintf): Likewise.
68439         [non-C99-based standards] (scalbf): Likewise.
68440         [non-C99-based standards] (copysignl): Likewise.
68441         [non-C99-based standards] (exp2l): Likewise.
68442         [non-C99-based standards] (log2l): Likewise.
68443         [non-C99-based standards] (modfl): Allow.
68444         [non-C99-based standards] (erfl): Do not allow.
68445         [non-C99-based standards] (erfcl): Likewise.
68446         [non-C99-based standards] (gammal): Likewise.
68447         [non-C99-based standards] (hypotl): Likewise.
68448         [non-C99-based standards] (j0l): Likewise.
68449         [non-C99-based standards] (j1l): Likewise.
68450         [non-C99-based standards] (jnl): Likewise.
68451         [non-C99-based standards] (lgammal): Likewise.
68452         [non-C99-based standards] (tgammal): Likewise.
68453         [non-C99-based standards] (y0l): Likewise.
68454         [non-C99-based standards] (y1l): Likewise.
68455         [non-C99-based standards] (ynl): Likewise.
68456         [non-C99-based standards] (isnanl): Likewise.
68457         [non-C99-based standards] (acoshl): Likewise.
68458         [non-C99-based standards] (asinhl): Likewise.
68459         [non-C99-based standards] (atanhl): Likewise.
68460         [non-C99-based standards] (cbrtl): Likewise.
68461         [non-C99-based standards] (expm1l): Likewise.
68462         [non-C99-based standards] (ilogbl): Likewise.
68463         [non-C99-based standards] (log1pl): Likewise.
68464         [non-C99-based standards] (logbl): Likewise.
68465         [non-C99-based standards] (nextafterl): Likewise.
68466         [non-C99-based standards] (remainderl): Likewise.
68467         [non-C99-based standards] (rintl): Likewise.
68468         [non-C99-based standards] (scalbl): Likewise.
68469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68470         [non-C99-based standards] (FP_*): Do not allow.
68471         [C99-based standards] (FP_*): Change to
68472         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68473         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68474         allow.
68475         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68476         (SIG_ERR): Likewise.
68477         [X/Open-based standards] (SIG_HOLD): Likewise.
68478         (SIG_IGN): Likewise.
68479         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68480         positive value.
68481         (SIGFPE): Likewise.
68482         (SIGILL): Likewise.
68483         (SIGINT): Likewise.
68484         (SIGSEGV): Likewise.
68485         (SIGTER): Likewise.
68486         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68487         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68488         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68489         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68490         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68491         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68492         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68493         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68494         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68495         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68496         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68497         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68498         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68499         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68500         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68501         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68502         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68503         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68504         [X/Open-based standards] (SIGTRAP): Likewise.
68505         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68506         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68507         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68508         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68509         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68510         allow.
68512 2012-05-08  Ian Wienand  <ianw@vmware.com>
68514         [BZ #14080]
68515         * time/tzset.c (__tzset_parse_tz): Update default rules for
68516         daylight time changes in the Energy Policy Act of 2005.
68518 2012-05-09  Andreas Jaeger  <aj@suse.de>
68520         [BZ #13983]
68521         * elf/ldconfig.c (parse_conf): Change string to make clear that
68522         ldconfig only issued a warning if ld.so.conf does not exist.
68524 2012-05-08  David S. Miller  <davem@davemloft.net>
68526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68527         movxtod instead of popping the value on the stack.
68529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68531 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68533         * config.h.in: Add HAVE_ARM_PCS_VFP.
68535 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68537         [BZ #13979]
68538         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68539         checking but the checks are disabled for any reason.
68541 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68543         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68544         and ELF64_R_TYPE with ELFW(R_TYPE).
68546 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68548         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68549         (ulimit): Likewise.
68551         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68552         (settimeofday): Likewise.
68554 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68556         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68557         a struct th_u2 inside the union, and move tu_block/tu_code into
68558         a new th_u3 union of tu_block/tu_code inside of that.  Move
68559         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68560         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68561         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68562         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68563         (th_stuff): Change to th_u1.tu_stuff.
68564         (th_data): Define.
68565         (th_msg): Change to th_u1.th_u2.tu_data.
68567 2012-05-07  David S. Miller  <davem@davemloft.net>
68569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68571         [BZ #14074]
68572         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68573         (SETUP_PIC_REG): Use it.
68574         (SETUP_PIC_REG_LEAF): Use it.
68576 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68578         [BZ #13885]
68579         [BZ #13923]
68580         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68581         USE_AS_EXPM1L.
68582         (EXPL_FINITE): Likewise.
68583         (FLDLOG): Likewise.
68584         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68585         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68586         e_expl.S.
68587         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68588         USE_AS_EXPM1L.
68589         (EXPL_FINITE): Likewise.
68590         (FLDLOG): Likewise.
68591         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68592         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68593         e_expl.S.
68594         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68595         test of -max_value argument for long double.
68596         * sysdeps/i386/fpu/libm-test-ulps: Update.
68597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68599 2012-05-06  David S. Miller  <davem@davemloft.net>
68601         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68602         quad soft-float symbols whose references which are compiler
68603         generated.
68604         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68606 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68608         [BZ #13884]
68609         [BZ #13914]
68610         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68611         USE_AS_EXP10L.
68612         (EXPL_FINITE): Likewise.
68613         (FLDLOG): Likewise.
68614         (c0): Likewise.
68615         (c1): Likewise.
68616         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68617         Adjust comments for base varying.
68618         (__expl_finite): Change alias to EXPL_FINITE.
68619         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68620         e_expl.S.
68621         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68622         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68623         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68624         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68626         USE_AS_EXP10L.
68627         (EXPL_FINITE): Likewise.
68628         (FLDLOG): Likewise.
68629         (c0): Likewise.
68630         (c1): Likewise.
68631         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68632         Adjust comments for base varying.
68633         (__expl_finite): Change alias to EXPL_FINITE.
68634         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68635         tests for bugs.
68636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68638         [BZ #14064]
68639         * math/libm-test.inc (check_float_internal): Correct ulp
68640         calculation for subnormal expected results.
68642 2012-05-06  Andreas Jaeger  <aj@suse.de>
68644         * Makeconfig (+math-flags): New, set to -frounding-math.
68645         (+cflags): Add +math-flags so that all of glibc gets compiled with
68646         it.
68648         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68650 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68652         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68653         Disable one test.
68655         [BZ #13787]
68656         [BZ #13922]
68657         [BZ #14036]
68658         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68659         (__ieee754_expl): Allow for and saturate large arguments.
68660         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68661         (u_threshold): Likewise.
68662         (__exp): Call __ieee754_exp before checking for overflow and
68663         underflow.
68664         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68665         (u_threshold): Likewise.
68666         (__expf): Call __ieee754_expf before checking for overflow and
68667         underflow.
68668         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68669         (u_threshold): Likewise.
68670         (__expl): Call __ieee754_expl before checking for overflow and
68671         underflow.
68672         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68673         (__ieee754_expl): Allow for and saturate large arguments.
68674         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68675         missing overflow exception on overflow.
68676         (expm1_test): Do not allow missing overflow exception on overflow.
68678         * sysdeps/i386/fpu/e_expl.c: Move to ...
68679         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68680         rather than using inline asm.
68681         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68682         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68683         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68685         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68686         (nice): Likewise.
68687         (poll): Likewise.
68688         (signal): Likewise.
68689         (time): Likewise.
68690         (times): Likewise.
68692 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68694         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68695         sysdeps/unix/common/syscalls.list.
68696         (fchmod): Likewise.
68697         (fchown): Likewise.
68698         (ftruncate): Likewise.
68699         (getrusage): Likewise.
68700         (gettimeofday): Likewise.
68701         (setpgid): Likewise.
68702         (setregid): Likewise.
68703         (setreuid): Likewise.
68704         (sigaction): Likewise.
68705         (truncate): Likewise.
68706         (vhangup): Likewise.
68707         * sysdeps/unix/common/syscalls.list: Remove file.
68708         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68709         * sysdeps/unix/sysv/linux/Implies: Likewise.
68711 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68713         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68715         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68716         Moved to ...
68717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68718         Here.
68719         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68720         to ...
68721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68722         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68723         to ...
68724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68725         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68726         to ...
68727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68728         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68729         to ...
68730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68731         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68732         to ...
68733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68734         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68735         to ...
68736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68737         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68738         to ...
68739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68740         Here.
68741         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68742         to ...
68743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68744         Here.
68745         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68746         to ...
68747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68748         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68749         Moved to ...
68750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68751         Here.
68752         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68753         to ...
68754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68756 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68758         * sysdeps/unix/common/bits/dirent.h: Remove file.
68759         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68761         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68762         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68763         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68764         * sysdeps/unix/bsd/isatty.c: Likewise.
68765         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68766         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68767         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68769 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68771         [BZ #13563]
68772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68773         long double comparison inaccuracies.
68774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68777 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68779         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68780         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68782 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68784         [BZ #14049]
68785         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68786         nonzero digits before rounding a hex value.
68787         * stdlib/tst-strtod.c (tests): Add another test.
68789 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68791         * sysdeps/s390/fpu/libm-test-ulps: Update.
68793 2012-05-03  Andreas Jaeger  <aj@suse.de>
68795         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68796         does not get optimized out.
68797         (malloc_opt_barrier): New.
68799 2012-05-03  Andreas Jaeger  <aj@suse.de>
68800             Roland McGrath  <roland@hack.frob.com>
68802         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68803         intermediate file deletion.
68804         (generated): Add .symlist files.
68806 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68808         [BZ #13775]
68809         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68810         Redirect under this condition.
68811         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68812         [__USE_GNU] (__dprintf_chk): Not under this condition.
68813         [__USE_GNU] (__vdprintf_chk): Likewise.
68814         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68815         under this condition.
68816         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68817         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68818         [__USE_XOPEN2K8] (vdprintf): Likewise.
68819         [__USE_GNU] (__dprintf_chk): Not under this condition.
68820         [__USE_GNU] (__vdprintf_chk): Likewise.
68821         [__USE_GNU] (dprintf): Likewise.
68822         [__USE_GNU] (vdprintf): Likewise.
68824 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68826         * elf/Makefile (common-generated): Set this instead of generated for
68827         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68828         $(all-built-dso)-derived lists.
68830 2012-05-03  Andreas Jaeger  <aj@suse.de>
68832         * sysdeps/i386/fpu/libm-test-ulps: Update.
68834         * FAQ: Removed.
68835         * FAQ.in: Likewise.
68836         * scripts/gen-FAQ.pl: Likewise.
68837         * manual/install.texi (Installation): Point to online location of
68838         FAQ.
68839         * Makefile (files-for-dist): Remove FAQ.
68840         (FAQ): Remove.
68842 2012-05-02  Allan McRae  <allan@archlinux.org>
68844         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68845         (LDFLAGS-reldepmod5.so): Likewise.
68846         (LDFLAGS-reldep6mod1.so): Likewise.
68847         (LDFLAGS-reldep6mod4.so): Likewise.
68848         (LDFLAGS-reldep8mod3.so): Likewise.
68849         (LDFLAGS-unload4mod1.so): Likewise.
68850         (LDFLAGS-unload4mod2.so): Likewise.
68851         (LDFLAGS-tst-initorder): Likewise.
68852         (LDFLAGS-tst-initordera2.so): Likewise.
68853         (LDFLAGS-tst-initordera3.so): Likewise.
68854         (LDFLAGS-tst-initordera4.so): Likewise.
68855         (LDFLAGS-tst-initorderb2.so): Likewise.
68856         (LDFLAGS-noload): Likewise.
68857         (LDFLAGS-next): Likewise.
68858         (LDFLAGS-order2mod1.so): Likewise.
68859         (LDFLAGS-order2mod2.so): Likewise.
68860         (LDFLAGS-tst-initorder2): Likewise.
68861         (LDFLAGS-tst-initorder2a.so): Likewise.
68862         (LDFLAGS-tst-initorder2b.so): Likewise.
68863         (LDFLAGS-tst-initorder2c.so): Likewise.
68864         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68866 2012-05-02  David S. Miller  <davem@davemloft.net>
68868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68870 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68872         [BZ #14055]
68873         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68875 2012-05-02  Andreas Jaeger  <aj@suse.de>
68877         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68878         since we manipulate rounding mode.
68879         (CPPFLAGS-test-idouble.c): Likewise.
68880         (CPPFLAGS-test-ifloat.c): Likewise.
68881         (CFLAGS-test-ldouble.c): Likewise.
68882         (CFLAGS-test-double.c): Likewise.
68883         (CFLAGS-test-float.c): Likewise.
68884         (CFLAGS-test-misc.c): Likewise.
68885         (CFLAGS-test-test-fenv.c): Likewise.
68887 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68889         [BZ #2550]
68890         [BZ #2570]
68891         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68892         comparisons to determine direction to adjust input.
68894 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68896         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68897         output to the target.
68899         * scripts/localplt.awk: New file.
68900         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68901         (check-localplt-CFLAGS): Variable removed.
68902         ($(all-built-dso:=.jmprel)): New static pattern rule.
68903         (generated): Add those targets.
68904         (localplt-built-dso): New variable.
68905         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68907         * elf/check-localplt.c: File removed.
68909         * scripts/check-execstack.awk: New file.
68910         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68911         (check-execstack-CFLAGS): Variable removed.
68912         ($(objpfx)check-execstack.h): Target removed.
68913         ($(objpfx)execstack-default): New target.
68914         (generated): Add that instead of check-execstack.h.
68915         ($(all-built-dso:=.phdr)): New static pattern rule.
68916         (generated): Add those targets.
68917         * elf/check-execstack.c: File removed.
68919         * scripts/check-textrel.awk: New file.
68920         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68921         (check-textrel-CFLAGS): Variable removed.
68922         (all-built-dso): Use := to define.o
68923         ($(all-built-dso:=.dyn)): New static pattern rule.
68924         (generated): Add those targets.
68925         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68926         * config.make.in (READELF): New substituted variable.
68927         * elf/check-textrel.c: File removed.
68929 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68931         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68932         allow.
68933         * conform/data/ctype.h-data [C99-based standards] (isblank):
68934         Expect function.
68935         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68936         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68938         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68939         Specify type.  Require positive value.
68940         (EILSEQ): Likewise.
68941         (ERANGE): Likewise.
68942         [ISO || POSIX] (EILSEQ): Do not expect.
68943         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68944         Specify type.  Require positive value.
68945         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68946         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68947         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68948         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68949         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68950         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68951         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68952         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68953         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68954         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68955         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68956         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68957         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68958         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68959         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68960         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68961         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68962         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68963         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68964         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68965         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68966         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68967         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68968         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68969         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68970         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68971         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68972         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68973         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68974         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68975         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68976         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68977         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68978         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68979         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68980         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68981         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68982         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68983         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68984         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68985         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68986         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68987         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68988         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68989         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68990         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68991         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68992         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68993         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68994         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68995         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68996         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68997         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68998         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68999         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69000         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69001         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69002         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69003         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69004         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69005         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69006         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69007         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69008         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69009         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69010         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69011         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69012         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69013         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69014         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69015         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69016         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69017         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69018         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69019         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69020         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69021         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69022         Require >= 2.
69023         (FLT_ROUNDS): Expect as macro, not constant.
69024         (FLT_MANT_DIG): Use macro-int-constant.
69025         (DBL_MANT_DIG): Likewise.
69026         (LDBL_MANT_DIG): Likewise.
69027         (FLT_DIG): Likewise.
69028         (DBL_DIG): Likewise.
69029         (LDBL_DIG): Likewise.
69030         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69031         (DBL_MIN_EXP): Likewise.
69032         (LDBL_MIN_EXP): Likewise.
69033         (FLT_MAX_EXP): Use macro-int-constant.
69034         (DBL_MAX_EXP): Likewise.
69035         (LDBL_MAX_EXP): Likewise.
69036         (FLT_MAX_10_EXP): Likewise.
69037         (DBL_MAX_10_EXP): Likewise.
69038         (LDBL_MAX_10_EXP): Likewise.
69039         (FLT_MAX): Use macro-constant.
69040         (DBL_MAX): Likewise.
69041         (LDBL_MAX): Likewise.
69042         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69043         (DBL_EPSILON): Likewise.
69044         (LDBL_EPSILON): Likewise.
69045         (FLT_MIN): Likewise.
69046         (DBL_MIN): Likewise.
69047         (LDBL_MIN): Likewise.
69048         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69049         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69050         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69051         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69052         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69053         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69054         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69055         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69056         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69057         [ISO11] (FLT_TRUE_MIN): Likewise.
69058         [ISO11] (LDBL_TRUE_MIN): Likewise.
69059         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69060         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69061         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69062         (SCHAR_MAX): Likewise.
69063         (UCHAR_MAX): Likewise.
69064         (CHAR_MIN): Likewise.
69065         (CHAR_MAX): Likewise.
69066         (MB_LEN_MAX): Use macro-int-constant.
69067         (SHRT_MIN): Use macro-int-constant.  Specify type.
69068         (SHRT_MAX): Likewise.
69069         (USHRT_MAX): Likewise.
69070         (INT_MAX): Likewise.
69071         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69072         bound negative.
69073         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69074         bound with "U".
69075         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69076         bound with "L".
69077         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69078         bound negative.  Suffix upper bound with "L".
69079         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69080         bound with "UL".
69081         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69082         Specify type.
69083         [C99-based standards] (LLONG_MAX): Likewise.
69084         [C99-based standards] (ULLONG_MAX): Likewise.
69085         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69086         == 0.
69087         [ISO11] (max_align_t): Require type.
69088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69090         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69091         from $CFLAGS, without defining away __attribute__ calls.
69092         (checknamespace): Use $CFLAGS_namespace.
69094         * conform/conformtest.pl (@keywords): Only include C99 keywords
69095         for standards based on C99 or C11.
69097         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69098         Disable tests.
69099         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69100         UNIX98]: Likewise.
69102         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69103         usability of symbols in #if.
69105         * conform/conformtest.pl: If macro or constant types start
69106         "promoted:", expect the symbol to be of the following type
69107         promoted by the integer promotions.
69109         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69110         in one place.  Also handle "macro-constant".
69112         * conform/conformtest.pl: Only accept expected macro values with
69113         "==".  Parse all "macro" lines in one place.
69114         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69116         * conform/conformtest.pl: Handle braced types on "constant" lines
69117         instead of handling "typed-constant".
69118         * conform/data/signal.h-data: Use "constant" instead of
69119         "typed-constant".
69121         * conform/conformtest.pl: Handle "optional-" at start of lines in
69122         one place rather than duplicating several cases.  Handle each
69123         format of "macro" line with initial "optional-".
69125         * conform/conformtest.pl: Only accept expected constant or
69126         optional-constant values with "==".  Parse all "constant" lines in
69127         one place.  Parse all "optional-constant" lines in one place.
69128         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69129         * conform/data/fmtmsg.h-data: Likewise.
69130         * conform/data/netinet/in.h-data: Likewise.
69131         * conform/data/tar.h-data: Likewise.
69132         * conform/data/limits.h-data: Use "==" form on "constant" and
69133         "optional-constant" lines.
69135         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69136         Use -std=c99 for XOPEN2K.
69137         (@knownproblems): Remove.
69138         (newtoken): Don't check %isknown.
69140         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69141         Do not expect macro.
69142         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69143         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69144         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69145         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69146         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69147         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69148         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69149         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69150         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69151         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69152         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69153         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69154         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69155         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69156         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69157         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69158         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69159         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69160         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69161         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69162         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69163         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69164         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69165         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69166         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69167         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69168         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69169         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69170         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69171         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69172         [XPG3] (acosh): Likewise.
69173         [XPG3] (asinh): Likewise.
69174         [XPG3] (atanh): Likewise.
69175         [XPG3] (cbrt): Likewise.
69176         [XPG3] (expm1): Likewise.
69177         [XPG3] (ilogb): Likewise.
69178         [XPG3] (log1p): Likewise.
69179         [XPG3] (logb): Likewise.
69180         [XPG3] (nextafter): Likewise.
69181         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69182         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69183         [XPG3] (remainder): Likewise.
69184         [XPG3] (rint): Likewise.
69185         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69186         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69187         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69188         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69189         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69190         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69191         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69192         [UNIX98 || XOPEN2K] (scalb): Expect.
69193         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69194         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69195         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69196         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69197         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69198         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69199         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69200         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69201         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69202         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69203         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69204         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69205         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69206         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69207         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69208         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69209         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69210         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69211         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69212         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69213         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69214         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69215         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69216         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69217         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69218         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69219         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69220         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69221         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69222         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69223         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69224         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69225         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69226         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69227         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69228         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69229         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69230         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69231         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69232         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69233         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69234         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69235         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69236         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69237         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69238         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69239         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69240         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69241         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69242         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69243         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69244         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69245         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69246         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69247         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69248         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69249         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69250         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69251         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69252         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69253         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69254         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69255         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69256         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69257         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69258         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69259         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69260         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69261         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69262         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69263         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69264         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69265         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69266         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69267         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69268         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69269         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69270         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69271         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69272         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69273         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69274         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69275         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69276         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69277         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69278         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69279         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69280         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69281         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69282         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69283         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69284         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69285         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69286         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69287         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69288         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69289         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69290         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69291         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69292         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69293         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69294         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69295         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69296         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69297         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69298         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69299         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69300         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69301         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69302         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69303         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69304         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69305         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69306         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69307         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69308         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69309         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69310         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69311         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69312         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69313         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69314         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69315         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69316         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69317         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69318         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69319         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69320         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69321         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69322         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69323         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69324         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69325         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69326         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69327         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69328         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69329         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69331         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69332         _XOPEN_SOURCE_EXTENDED for XPG4.
69334         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69336         * Makeconfig (localtime): Remove variable.
69337         (inst_localtime-file): Likewise.
69339 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69342         Update.
69343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69344         Update.
69345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69346         Update.
69347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69348         Update.
69349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69350         Update.
69351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69352         Update.
69353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69354         Update.
69355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69356         Update.
69357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69358         Update.
69360 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69362         [BZ #2550]
69363         [BZ #2570]
69364         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69365         comparisons to determine direction to adjust input.
69366         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69367         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69368         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69369         Likewise.
69370         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69371         Likewise.
69372         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69373         Likewise.
69374         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69375         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69376         Likewise.
69377         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69378         Likewise.
69379         * math/libm-test.inc (nexttoward_test): Add more tests.
69381 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69383         [BZ #14040]
69384         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69385         in version GLIBC_2.1, not GLIBC_2.0.
69386         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69387         Likewise.
69389 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69391         [BZ #13942]
69392         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69393         (1 - x) * (1 + x).
69394         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69395         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69396         * math/libm-test.inc (acos_test): Add more tests.
69397         (asin_test): Likewise.
69398         * sysdeps/i386/fpu/libm-test-ulps: Update.
69399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69401         [BZ #14034]
69402         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69403         of square root.
69404         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69405         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69406         * math/libm-test.inc (acos_test_tonearest): New function.
69407         (acos_test_towardzero): Likewise.
69408         (acos_test_downward): Likewise.
69409         (acos_test_upward): Likewise.
69410         (asin_test_tonearest): Likewise.
69411         (asin_test_towardzero): Likewise.
69412         (asin_test_downward): Likewise.
69413         (asin_test_upward): Likewise.
69414         (main): Call the new functions.
69415         * sysdeps/i386/fpu/libm-test-ulps: Update.
69416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69418         [BZ #13884]
69419         [BZ #13924]
69420         * math/e_exp10.c: Include <float.h>.
69421         (__ieee754_exp10): Handle underflow here rather than multiplying
69422         large negative argument by M_LN10.
69423         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69424         of __ieee754_expf.
69425         * math/e_exp10l.c: Include <float.h>.
69426         (__ieee754_exp10l): Handle underflow here rather than multiplying
69427         large negative argument by M_LN10l.
69428         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69429         spurious overflow exception on underflow.
69431 2012-04-29  Marek Polacek  <polacek@redhat.com>
69433         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69434         (__fortify_function): New macro.
69435         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69436         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69437         __extern_always_inline.
69438         * libio/bits/stdio2.h: Likewise.
69439         * libio/bits/stdio.h: Likewise.
69440         * string/string.h: Likewise.
69441         * string/bits/string3.h: Likewise.
69442         * include/stdio.h: Likewise.
69443         * stdlib/bits/stdlib.h: Likewise.
69444         * stdlib/stdlib.h: Likewise.
69445         * rt/bits/mqueue2.h: Likewise.
69446         * rt/mqueue.h: Likewise.
69447         * posix/bits/unistd.h: Likewise.
69448         * posix/unistd.h: Likewise.
69449         * io/bits/poll2.h: Likewise.
69450         * io/bits/fcntl2.h: Likewise.
69451         * io/fcntl.h: Likewise.
69452         * io/sys/poll.h: Likewise.
69453         * misc/bits/syslog.h: Likewise.
69454         * misc/bits/syslog-ldbl.h: Likewise.
69455         * misc/sys/syslog.h: Likewise.
69456         * socket/bits/socket2.h: Likewise.
69457         * socket/sys/socket.h: Likewise.
69458         * debug/tst-chk1.c: Likewise.
69459         * wcsmbs/bits/wchar2.h: Likewise.
69460         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69461         * wcsmbs/wchar.h: Likewise.
69463 2012-04-29  Andreas Jaeger  <aj@suse.de>
69465         * Makerules (tests): Remove enable-check-abi protection.
69466         (check-abi-warn): Remove.
69467         (check-abi-%): Remove check-abi-warn usage.
69469         * configure.in: Remove check-abi configure option.
69470         * configure: Regenerated.
69471         * config.make.in (enable-check-abi): Remove.
69473 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69475         [BZ #14033]
69476         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69477         double functions to double *_finite functions.
69479         [BZ #13941]
69480         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69481         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69482         LDBL_MIN_EXP.
69483         * stdio-common/Makefile (tests): Add tst-sprintf3.
69484         * stdio-common/tst-sprintf3.c: New file.
69486         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69487         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69489 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69491         * conform/conformtest.pl: Remove duplicate typed-constant
69492         handling.
69494 2012-04-28  David S. Miller  <davem@davemloft.net>
69496         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69497         (check-abi-%): Remove AWK script prerequisite and explicit
69498         abilist directory.
69499         (check-abi): Rewrite to just diff the symlist with the abilist.
69500         (config-tls, config-abi-config): Delete, no longer used.
69501         (update-abi-%): Remove AWK script and explicit abilist directory.
69502         (update-abi): Rewrite to simply compare and conditionally copy the
69503         symlist and the sysdep abilist file.  Remove update-abi-config
69504         checks.
69505         * abilist/ld.abilist: Remove.
69506         * abilist/libBrokenLocale.abilist: Remove.
69507         * abilist/libanl.abilist: Remove.
69508         * abilist/libcrypt.abilist: Remove.
69509         * abilist/libdl.abilist: Remove.
69510         * abilist/librt.abilist: Remove.
69511         * abilist/libthread_db.abilist: Remove.
69512         * abilist/libutil.abilist: Remove.
69513         * scripts/extract-abilist.awk: Remove.
69514         * scripts/merge-abilist.awk: Remove.
69515         * sysdeps/generic/libcidn.abilist: New file.
69516         * sysdeps/generic/libnss_compat.abilist: New file.
69517         * sysdeps/generic/libnss_db.abilist: New file.
69518         * sysdeps/generic/libnss_dns.abilist: New file.
69519         * sysdeps/generic/libnss_files.abilist: New file.
69520         * sysdeps/generic/libnss_hesiod.abilist: New file.
69521         * sysdeps/generic/libnss_nis.abilist: New file.
69522         * sysdeps/generic/libnss_nisplus.abilist: New file.
69523         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69524         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69525         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69526         file.
69527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69528         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69529         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69530         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69531         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69532         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69533         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69534         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69535         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69536         file.
69537         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69538         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69539         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69540         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69541         file.
69542         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69543         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69544         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69545         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69546         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69547         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69548         file.
69549         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69550         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69551         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69552         file.
69553         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69555         New file.
69556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69557         New file.
69558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69559         New file.
69560         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69561         New file.
69562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69563         New file.
69564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69565         New file.
69566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69567         New file.
69568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69569         New file.
69570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69571         New file.
69572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69573         New file.
69574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69575         New file.
69576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69577         New file.
69578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69579         New file.
69580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69581         file.
69582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69583         New file.
69584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69585         New file.
69586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69587         file.
69588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69589         New file.
69590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69591         New file.
69592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69593         file.
69594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69595         New file.
69596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69597         New file.
69598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69599         New file.
69600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69601         New file.
69602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69603         New file.
69604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69605         New file.
69606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69608         file.
69609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69610         New file.
69611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69612         file.
69613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69614         file.
69615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69616         file.
69617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69618         file.
69619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69620         file.
69621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69622         New file.
69623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69624         file.
69625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69626         file.
69627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69628         New file.
69629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69630         file.
69631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69633         file.
69634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69635         New file.
69636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69637         file.
69638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69639         file.
69640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69641         file.
69642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69643         file.
69644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69645         file.
69646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69647         New file.
69648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69649         file.
69650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69651         file.
69652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69653         New file.
69654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69655         file.
69656         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69657         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69658         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69659         file.
69660         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69661         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69662         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69663         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69664         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69665         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69666         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69667         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69668         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69669         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69672         file.
69673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69674         New file.
69675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69676         file.
69677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69678         file.
69679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69680         file.
69681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69682         file.
69683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69684         file.
69685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69686         New file.
69687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69688         New file.
69689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69690         file.
69691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69692         New file.
69693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69694         file.
69695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69697         file.
69698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69699         New file.
69700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69701         file.
69702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69703         file.
69704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69705         file.
69706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69707         file.
69708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69709         file.
69710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69711         New file.
69712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69713         New file.
69714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69715         file.
69716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69717         New file.
69718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69719         file.
69721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69723         * conform/conformtest.pl: Fix typo in handling typed-constant from
69724         allow-header.
69726 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69728         * README: Cut down references to pre-2.6 Linux kernels and
69729         Linuxthreads.  Update lists of configurations in libc and ports
69730         and sort alphabetically.  Say "or newer" with Linux kernel version
69731         requirements.
69733         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69735 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69737         [BZ #887]
69738         * math/libm-test.inc (logb_test_downward): New test to expose
69739         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69740         rounding mode.
69742 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69744         [BZ #14027]
69745         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69746         to be done.
69747         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69748         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69750 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69752         * sysdeps/unix/i386/brk.S: Remove file.
69753         * sysdeps/unix/i386/dl-brk.S: Likewise.
69754         * sysdeps/unix/i386/pipe.S: Likewise.
69755         * sysdeps/unix/i386/sigreturn.S: Likewise.
69756         * sysdeps/unix/i386/syscall.S: Likewise.
69757         * sysdeps/unix/i386/vfork.S: Likewise.
69758         * sysdeps/unix/i386/wait.S: Likewise.
69760         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69761         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69763         * configure.in (arm*-none*): Do not allow without
69764         --enable-hacker-mode.
69765         (netbsd*): Remove case setting base_os.
69766         (386bsd*): Likewise.
69767         (freebsd*): Likewise.
69768         (bsdi*): Likewise.
69769         (osf*): Likewise.
69770         (sunos*): Likewise.
69771         (ultrix*): Likewise.
69772         (newsos*): Likewise.
69773         (dynix*): Likewise.
69774         (*bsd*): Likewise.
69775         (sysv*): Likewise.
69776         (isc*): Likewise.
69777         (esix*): Likewise.
69778         (sco*): Likewise.
69779         (minix*): Likewise.
69780         (irix4*): Likewise.
69781         (irix6*): Likewise.
69782         (solaris[2-9]*): Likewise.
69783         (none): Likewise.
69784         * configure: Regenerated.
69786 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69788         [BZ #11521]
69789         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69790         overflow or cancellation in calculating denominator.
69791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69792         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69793         down expression to avoid unexpected rounding in newer GCCs.
69794         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69796 2012-04-26  David S. Miller  <davem@davemloft.net>
69798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69799         long-double compat symbols.
69800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69814 2012-04-25  David S. Miller  <davem@davemloft.net>
69816         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69817         HWCAP_* values only after the memory barriers have been defined.
69818         (atomic_full_barrier): Define.
69819         (atomic_read_barrier): Define.
69820         (atomic_write_barrier): Define.
69822 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69824         * shlib-versions: Add libgcc_s version information.
69825         * sysdeps/generic/libgcc_s.h: Remove.
69826         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69827         libgcc_s.h.
69828         * sysdeps/gnu/unwind-resume.c: Likewise.
69829         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69831 2012-04-25  David S. Miller  <davem@davemloft.net>
69833         * sysdeps/unix/sparc/brk.S: Delete.
69834         * sysdeps/unix/sparc/dl-brk.S: Delete.
69835         * sysdeps/unix/sparc/pipe.S: Delete.
69836         * sysdeps/unix/sparc/sysdep.S: Delete.
69837         * sysdeps/unix/sparc/sysdep.h: Delete.
69838         * sysdeps/unix/sparc/vfork.S: Delete.
69839         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69840         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69841         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69842         (ret_ERRVAL, r0, r1, MOVE): Define.
69843         (JUMPTARGET): Remove.
69844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69845         sysdeps/unix/sparc/sysdep.h
69846         (ENTRY, END): Remove.
69847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69849 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69851         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69852         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69853         -DIS_IN_build.
69855         * timezone/README: Update upstream location and email address for
69856         tzcode and tzdata.
69857         * timezone/zdump.c: Update from tzcode 2012b.
69858         * timezone/zic.c: Likewise.
69860         * configure.in (libc_cv_as_needed): Remove test.
69861         * configure: Regenerated.
69862         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69863         conditional definition.
69864         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69865         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69866         * config.make.in (have-as-needed): Remove variable.
69868 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69869             Paul Pluzhnikov  <ppluzhnikov@google.com>
69871         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69872         strings correctly.
69874 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69876         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69877         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69878         * sysdeps/sh/strlen.S: Likewise.
69880 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69882         * sysdeps/unix/fork.S: Remove file.
69883         * sysdeps/unix/i386/fork.S: Likewise.
69884         * sysdeps/unix/sparc/fork.S: Likewise.
69886         * sysdeps/unix/system.c: Remove file.
69887         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69889         * sysdeps/unix/getegid.S: Remove file.
69890         * sysdeps/unix/geteuid.S: Likewise.
69892 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69894         * scripts/check-localplt.awk: New file.
69895         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69896         of diff.
69897         * scripts/data/localplt-generic.data: Add a comment.
69899         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69900         NODE when __dir_mkfile failed.
69901         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69902         Reported by Ludovic Courtès <ludo@gnu.org>.
69904 2012-04-24  Andreas Jaeger  <aj@suse.de>
69906         * Makerules (common-clean): Also remove gen-as-const-headers
69907         files.
69909 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69911         * Makerules (native-compile): Do not change working directory for
69912         build.  Use $(OUTPUT_OPTION) in command.
69913         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69915 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69917         [BZ #13886]
69918         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69919         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69920         * math/libm-test.inc (floor_test): Add more tests.
69921         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69923 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69925         * sysdeps/unix/getdents.c: Remove file.
69926         * sysdeps/unix/sysv/getdents.c: Likewise.
69927         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69929         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69930         sysdeps/unix/mman/syscalls.list.
69931         (mmap): Likewise.
69932         (mprotect): Likewise.
69933         (msync): Likewise.
69934         (munmap): Likewise.
69935         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69936         * sysdeps/unix/mman/syscalls.list: Remove.
69937         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69939         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69940         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69941         * configure: Regenerated.
69942         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69943         $(libgcc_s_suffix).
69944         * config.make.in (libgcc_s_suffix): Remove variable.
69946 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69948         * sysdeps/unix/sysv/gethostname.c: Move to ...
69949         * sysdeps/posix/gethostname.c: ... here.
69951         * sysdeps/unix/execve.S: Remove file.
69953         * sysdeps/unix/_exit.S: Remove file.
69955 2012-04-23  Andreas Jaeger  <aj@suse.de>
69957         [BZ #13739]
69958         * manual/Makefile: Remove make dist support, there's no
69959         need for a stand-alone documentation tar ball.
69960         (TEXI2DVI): Define always, it's not in Makeconfig.
69961         (dist): Removed.
69962         (tar-it): Removed.
69963         (edition): Removed.
69964         (glibc-doc-$(edition).tar): Removed
69965         (%.Z): Removed.
69966         (%.gz): Removed.
69967         (%.uu): Removed.
69968         (ETAGS): Remove, it's in Makeconfig.
69969         (move-if-change): Remove, it's in Makeconfig.
69971 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69973         [BZ #13970]
69974         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69975         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69976         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69977         (strtod_l, strtof_l, strtold_l): Remove __wur.
69978         It is not necessarily an error to ignore strtol's return value.
69979         One can reliably look at the stored endptr to decide whether
69980         the number had valid syntax.
69982 2012-04-21  Andreas Jaeger  <aj@suse.de>
69984         [BZ #13739]
69985         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69987 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69989         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69990         * sysdeps/unix/sysv/Versions: Remove file.
69992 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69994         [BZ #13927]
69995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69997 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69999         [BZ #7064]
70000         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70001         version from __vm86.
70003 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70005         * sysdeps/unix/common/lxstat.c: Remove file.
70006         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70008         * sysdeps/unix/sysv/Makefile: Remove file.
70010         * sysdeps/unix/sysv/direct.h: Remove file.
70012         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70013         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70014         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70015         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70016         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70017         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70018         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70020         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70022         * sysdeps/unix/xmknod.c: Remove file.
70023         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70025         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70027         * sysdeps/unix/sysv/i386/time.S: Remove file.
70029         * sysdeps/unix/fxstat.c: Remove file.
70030         * sysdeps/unix/xstat.c: Likewise.
70031         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70033         * sysdeps/unix/sysv/sigaction.c: Remove file.
70035         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70036         (sysdep_headers): Remove variable.
70037         [termio.h not in sysdep_headers] (generated): Likewise.
70038         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70039         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70040         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70041         * sysdeps/unix/sysv/tcflow.c: Likewise.
70042         * sysdeps/unix/sysv/tcflush.c: Likewise.
70043         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70044         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70045         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70046         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70047         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70049         * sysdeps/unix/siglist.c: Remove file.
70051         * sysdeps/unix/getppid.S: Remove file.
70053         * sysdeps/unix/mkdir.c: Remove file.
70054         * sysdeps/unix/rmdir.c: Likewise.
70056 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70058         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70059         ERR_MAX value.
70060         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70061         errlist-compat value.
70063 2012-04-18  David S. Miller  <davem@davemloft.net>
70065         * sysdeps/generic/memcopy.h (reg_char): Delete.
70066         * debug/strcat_chk.c: Use char, not reg_char.
70067         * debug/strcpy_chk.c: Likewise.
70068         * debug/strncat_chk.c: Likewise.
70069         * debug/strncpy_chk.c: Likewise.
70070         * string/memchr.c: Likewise.
70071         * string/memrchr.c: Likewise.
70072         * string/rawmemchr.c: Likewise.
70073         * string/strcat.c: Likewise.
70074         * string/strchr.c: Likewise.
70075         * string/strchrnul.c: Likewise.
70076         * string/strcmp.c: Likewise.
70077         * string/strcpy.c: Likewise.
70078         * string/strncat.c: Likewise.
70079         * string/strncmp.c: Likewise.
70080         * string/strncpy.c: Likewise.
70082 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70084         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70085         __builtin_memcopy is called when src and dest ranges are known to not
70086         overlap.
70088 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70090         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70091         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70092         fwd_align_merge macro call.
70093         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70094         bwd_align_merge macro call.
70095         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70097 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70099         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70100         bwd_align_merge macros.
70101         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70102         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70103         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70105 2012-04-18  David S. Miller  <davem@davemloft.net>
70107         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70109 2012-04-18  Andreas Jaeger  <aj@suse.de>
70111         [BZ# 6794]
70112         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70113         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70114         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70116         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70117         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70118         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70120         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70121         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70122         Adjust for changed ldbl-128 files.
70124         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70125         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70126         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70128 2012-04-17  David S. Miller  <davem@davemloft.net>
70130         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70132 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70134         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70135         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70136         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70137         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70138         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70139         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70141 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70143         [BZ #6794]
70144         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70145         * math/libm-test.inc: Add ilogb errno and exception tests.
70146         * math/w_ilogb.c: New file: ilogb wrapper.
70147         * math/w_ilogbf.c: New file: ilogbf wrapper.
70148         * math/w_ilogbl.c: New file: ilogbl wrapper.
70149         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70150         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70151         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70152         exception being thrown with 0.0 as argument.
70153         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70154         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70155         exception being thrown with 0.0 as argument.
70156         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70157         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70158         exception being thrown with 0.0 as argument.
70159         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70160         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70161         exception being thrown with 0.0 as argument.
70162         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70163         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70164         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70165         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70166         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70167         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70168         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70169         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70170         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70172 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70174         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70175         with altivec.
70177 2012-04-16  Marek Polacek  <polacek@redhat.com>
70179         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70181 2012-04-16  Marek Polacek  <polacek@redhat.com>
70183         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70184         operands of fdivp instruction.
70186 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70188         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70189         * elf/tst-auditmod3b.c: Likewise.
70190         * elf/tst-auditmod4b.c: Likewise.
70191         * elf/tst-auditmod5b.c: Likewise.
70192         * elf/tst-auditmod6b.c: Likewise.
70193         * elf/tst-auditmod6c.c: Likewise.
70194         * elf/tst-auditmod7b.c: Likewise.
70195         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70196         * sysdeps/x86_64/preconfigure.in: Likewise.
70197         * sysdeps/x86_64/preconfigure: Regenerated.
70199 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70201         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70202         __ILP32__.
70204 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70206         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70207         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70209 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70211         [BZ #13973]
70212         * locale/iso-639.def: Fix gl language name. Spotted by
70213         Yaron Shahrabani.
70215 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70217         [BZ #2074]
70218         * libio/libio.h (__io_write_fn): Update comment.
70220 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70222         [BZ #2074]
70223         * stdio.texi (Hook Functions): The user provided writer function
70224         is not allowed to return -1.
70226 2012-04-11  David S. Miller  <davem@davemloft.net>
70228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70230 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70232         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70233         Add a leading slash to rtkaio.
70235 2012-04-11  Jim Meyering  <meyering@redhat.com>
70237         [BZ #11959]
70238         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70239         It is not necessarily an error to ignore fwrite's return
70240         value.  One can reliably use ferror to test for errors after
70241         the fact.
70243 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70245         * bits/types.h (__snseconds_t): New type.
70246         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70248         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70249         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70250         (__SNSECONDS_T_TYPE): Likewise.
70251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70252         (__SNSECONDS_T_TYPE): Likewise.
70253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70254         (__SNSECONDS_T_TYPE): Likewise.
70256 2012-04-10  Andreas Jaeger  <aj@suse.de>
70258         [BZ #2636]
70259         * manual/time.texi (Processor Time): Return type of times is
70260         elapsed real time since an arbitrary point in the past.
70261         (CPU Time): Move CLK_TCK from here...
70262         (Processor Time): ...to here.  Correct description.
70263         * manual/conf.texi (Constants for Sysconf): Correct description of
70264         _SC_CLK_TCK.
70266 2012-04-10  David S. Miller  <davem@davemloft.net>
70268         [BZ #13967]
70269         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70270         where the is a gap between DT_REL(A) and DT_JMPREL.
70272 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70274         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70275         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70276         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70278 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70280         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70281         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70282         (dl_main): Handle --inhibit-cache.
70283         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70284         _dl_inhibit_cache.
70285         * elf/dl-load.c (_dl_map_object): Use it.
70286         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70288 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70290         [BZ #13872]
70291         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70292         (__ieee754_powl): Saturate large exponents rather than testing for
70293         overflow of y*log2(x).
70294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70295         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70296         exceptions.
70298         [BZ #11521]
70299         * math/s_ctan.c: Include <float.h>.
70300         (__ctan): Avoid internal overflow or cancellation in calculating
70301         denominator.
70302         * math/s_ctanf.c: Likewise.
70303         * math/s_ctanl.c: Likewise.
70304         * math/s_ctanh.c: Likewise.
70305         * math/s_ctanhf.c: Likewise.
70306         * math/s_ctanhl.c: Likewise.
70307         * math/libm-test.inc (ctan_test): Add more tests.
70308         (ctanh_test): Likewise.
70309         * sysdeps/i386/fpu/libm-test-ulps: Update.
70310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70312 2012-04-09  Andreas Jaeger  <aj@suse.de>
70314         [BZ #6894]
70315         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70316         is an optional BSD extension.
70318         [BZ #10254]
70319         * manual/stdio.texi (Opening Streams): Document additional fopen
70320         parameters.
70322 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70324         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70325         %eax without telling the compiler.
70327 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70329         [BZ # 13963]
70330         * manual/install.texi: Use sourceware.org.
70332 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70334         [BZ #13873]
70335         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70336         (__ieee754_pow): Generate overflow and underflow using huge*huge
70337         and tiny*tiny rather than just returning constant infinity or zero
70338         for large exponents.
70339         * math/libm-test.inc (pow_test): Require overflow exceptions for
70340         applicable cases of large exponents.
70342         [BZ #706]
70343         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70344         (__ieee754_pow): Use iterative multiplication algorithm only for
70345         integer exponents with absolute value below 1024.  Check for odd
70346         integer exponents when using algorithm for real exponents.
70347         * math/libm-test.inc (pow_test): Add more tests.
70348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70350 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70352         [BZ #13705]
70353         * math/libm-test.inc (exp_test): Do not allow overflow exception
70354         on underflow test.
70356 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70358         [BZ #13705]
70359         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70360         instead of __kernel_standard_f.
70362 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70364         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70365         * sysdeps/x86_64/memset_chk.S: Likewise.
70367 2012-04-08  Andreas Jaeger  <aj@suse.de>
70369         [BZ #10153]
70370         * manual/startup.texi (Environment Access): Describe return value
70371         for putenv and setenv.
70373         [BZ #6895]
70374         * manual/filesys.texi (Directory Entries): Add description for
70375         DT_LNK.
70377         [BZ #6890]
70378         * manual/filesys.texi (Directory Entries): Clarify that it's file
70379         system not operating system in the description of DT_UNKNOWN.
70381         [BZ #6578]
70382         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70384 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70386         [BZ #6649]
70387         * manual/llio.texi (Opening and Closing Files): Add cross
70388         reference to explain mode argument.
70390 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70392         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70393         * sysdeps/x86_64/memset_chk.S: Likewise.
70395 2012-04-07  David S. Miller  <davem@davemloft.net>
70397         * elf/elf.h (R_SPARC_WDISP10): Define.
70398         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70399         R_SPARC_SIZE32.
70400         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70401         R_SPARC_SIZE64 and R_SPARC_H34.
70403 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70406         conditions and remove no longer applicable assertion.
70408 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70410         * bits/byteswap.h: Include <features.h>.
70411         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70412         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70414 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70416         * bits/byteswap.h (__bswap_16): Removed.
70417         Include <bits/byteswap-16.h> to get __bswap_16.
70418         * sysdeps/i386/bits/byteswap.h: Likewise.
70419         * sysdeps/s390/bits/byteswap.h: Likewise.
70420         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70421         * bits/byteswap-16.h: New file.
70422         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70423         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70424         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70425         * string/Makefile (headers): Add bits/byteswap-16.h.
70427 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70429         [BZ #13895]
70430         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70431         extra indirection.
70432         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70433         * nss/tst-nss-static.c: New.
70435 2012-04-06  Robert Millan  <rmh@gnu.org>
70437         [BZ #6486]
70438         * manual/llio.texi (File Position Primitive): lseek
70439         refers to WHENCE when it really means OFFSET.
70441 2012-04-06  Andreas Jaeger  <aj@suse.de>
70443         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70444         strncmp declarations.
70446         * abilist/libc.abilist: Add __poll and __ppoll.
70448 2012-04-05  David S. Miller  <davem@davemloft.net>
70450         * scripts/check-local-headers.sh: Accept a host triplet in the
70451         path matched by the exclude regexp.
70453         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70454         definition.
70455         * sysdeps/powerpc/powerpc32/dl-machine.h
70456         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70457         * sysdeps/s390/s390-32/dl-machine.h
70458         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70459         * sysdeps/sparc/sparc32/dl-machine.h
70460         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70461         * sysdeps/sparc/sparc64/dl-machine.h
70462         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70464         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70465         lazy binding.
70466         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70467         undefined symbol errors.
70469         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70470         DT_NEEDED entries.
70472 2012-04-05  Michael Matz  <matz@suse.de>
70474         [BZ #13592]
70475         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70477 2012-04-05  Andreas Jaeger  <aj@suse.de>
70479         [BZ #13908]
70480         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70481         comment.
70483 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70485         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70486         which ROUND is no valid rounding mode.
70488 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70490         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70491         read again.
70492         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70494 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70496         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70497         an exception using FPU order intentionally.
70499 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70501         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70502         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70503         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70504         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70506 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70508         [BZ #12340]
70509         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70510         EINVAL when BUFLEN is too smal.
70512 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70514         [BZ #13553]
70515         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70516         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70518 2012-04-03  Andreas Jaeger  <aj@suse.de>
70520         [BZ #13938]
70521         * manual/setjmp.texi (System V contexts): Fix sentence.
70523         [BZ #13926]
70524         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70525         New macro for this case.
70526         [!__GNUC__] (__bswap_64): New inline function for this case.
70527         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70528         * bits/byteswap.h: Likewise.
70529         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70530         ull, guard with __GLIBC_HAVE_LONG_LONG.
70532         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70533         __GLIBC_HAVE_LONG_LONG.
70535         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70536         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70538 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70540         [BZ #13691]
70541         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70542         inptr and inend, rather than using last_ch.
70544 2012-04-02  David S. Miller  <davem@davemloft.net>
70546         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70547         * stdio-common/printf-parse.h (read_int): Change return type to
70548         'int', return -1 on INT_MAX overflow.
70549         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70550         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70551         overflows INT_MAX.  Check for overflow of in-format-string precision
70552         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70553         SIZE_MAX not INT_MAX for integer overflow test.
70554         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70555         skip the construct in the format string but do not record anything.
70556         * stdio-common/bug22.c: Adjust to test both width/prevision
70557         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70558         explicitly for proper errno values.
70560 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70562         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70563         CHAR_MAX.
70564         * string/test-strcmp.c [! WIDE]: Likewise.
70565         * time/tst-mktime2.c: Likewise for INT_MAX.
70566         * string/test-string.h: #include <sys/param.h> for MIN.
70568         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70569         * sysdeps/i386/init-first.c (init): Likewise.
70570         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70571         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70572         * sysdeps/sh/init-first.c (init): Likewise.
70574 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70576         * po/ru.po: Update from translation team.
70577         * po/vi.po: Likewise.
70579 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70581         * resolv/nss_dns/dns-host.c: Merge copyright years.
70583 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70586         Optimize memcpy with prefetch if
70587         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70588         src, dst pointers have unequal 16 byte alignments.
70590 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70592         [BZ #13928]
70593         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70594         from a CNAME entry and return the minimum ttl for the query.
70595         (gaih_getanswer_slice): Likewise.
70597 2012-03-30  Jeff Law  <law@redhat.com>
70599         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70600         due to long keys.
70601         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70602         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70604         * resolv/nss_dns/dns-host.c: Update copyright year.
70606 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70608         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70609         requests to save a system call.  Fix check that all bytes are sent.
70611         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70612         comments for sendmmsg.
70614 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70616         [BZ #13691]
70617         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70618         with only 1 character between 0x0041 and 0x01b0.
70619         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70620         * wcsmbs/tst-mbsnrtowcs.c: New file.
70622 2012-03-29  David S. Miller  <davem@davemloft.net>
70624         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70625         small copies by hand.
70627 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70629         [BZ #13761]
70630         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70631         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70632         group memberships.
70634 2012-03-28  David S. Miller  <davem@davemloft.net>
70636         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70637         that branches into memcpy.
70638         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70641         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70642         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70643         bits.
70644         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70645         implementation too.
70646         * sysdeps/sparc/mempcpy.S: New file.
70648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70649         the IFUNC routine in the libc case.
70650         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70652         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70653         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70654         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70655         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70656         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70657         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70658         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70659         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70661         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70662         loop to 256 bytes instead of 64 bytes and fix test signedness.
70664         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70665         * sysdeps/sparc/sparc32/Makefile: rather than here...
70666         * sysdeps/sparc/sparc64/Makefile: and here.
70668 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70670         * malloc/mallocbug.c: Avoid warnings about unused variables.
70672 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70674         [BZ #13760]
70675         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70676         in the right place. Discard and retry query if response is
70677         larger than input buffer size.
70679 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70681         [BZ #369]
70682         [BZ #2678]
70683         [BZ #3866]
70684         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70685         x for large integer exponent.
70686         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70687         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70688         sign of result as needed afterwards.
70689         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70690         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70691         result for underflowing pow the same as for overflow.
70692         (__kernel_standard_l): Handle powl overflow and underflow here
70693         rather than calling __kernel_standard.
70694         * math/libm-test.inc (pow_test): Add more tests.
70696         [BZ #3868]
70697         [BZ #13879]
70698         [BZ #13910]
70699         [BZ #13911]
70700         [BZ #13912]
70701         [BZ #13913]
70702         [BZ #13915]
70703         [BZ #13916]
70704         [BZ #13917]
70705         [BZ #13918]
70706         [BZ #13919]
70707         [BZ #13920]
70708         [BZ #13921]
70709         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70710         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70711         (__kernel_standard_l): New function.
70712         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70713         __kernel_standard.
70714         * math/w_acosl.c (__acosl): Likewise.
70715         * math/w_asinl.c (__asinl): Likewise.
70716         * math/w_atan2l.c (__atan2l): Likewise.
70717         * math/w_atanhl.c (__atanhl): Likewise.
70718         * math/w_coshl.c (__coshl): Likewise.
70719         * math/w_exp10l.c (__exp10l): Likewise.
70720         * math/w_exp2l.c (__exp2l): Likewise.
70721         * math/w_fmodl.c (__fmodl): Likewise.
70722         * math/w_hypotl.c (__hypotl): Likewise.
70723         * math/w_j0l.c (__j0l, __y0l): Likewise.
70724         * math/w_j1l.c (__j1l, __y1l): Likewise.
70725         * math/w_jnl.c (__jnl, __ynl): Likewise.
70726         * math/w_lgammal.c (__lgammal): Likewise.
70727         * math/w_log10l.c (__log10l): Likewise.
70728         * math/w_log2l.c (__log2l): Likewise.
70729         * math/w_logl.c (__logl): Likewise.
70730         * math/w_powl.c (__powl): Likewise.
70731         * math/w_remainderl.c (__remainderl): Likewise.
70732         * math/w_scalbl.c (sysv_scalbl): Likewise.
70733         * math/w_sinhl.c (__sinhl): Likewise.
70734         * math/w_sqrtl.c (__sqrtl): Likewise.
70735         * math/w_tgammal.c (__tgammal): Likewise.
70736         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70737         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70738         * math/libm-test.inc (acos_test): Add more tests.
70739         (acosh_test): Likewise.
70740         (asin_test): Likewise.
70741         (atanh_test): Likewise.
70742         (exp_test): Likewise.
70743         (exp10_test): Likewise.
70744         (exp2_test): Likewise.
70745         (expm1_test): Likewise.
70746         (lgamma_test): Likewise.
70747         (log_test): Likewise.
70748         (log10_test): Likewise.
70749         (log1p_test): Likewise.
70750         (log2_test): Likewise.
70751         (pow_test): Do not allow some spurious overflow exceptions.
70752         (sqrt_test): Add more tests.
70753         (tgamma_test): Likewise.
70754         (y0_test): Likewise.
70755         (y1_test): Likewise.
70756         (yn_test): Likewise.
70758 2012-03-27  Anton Blanchard  <anton@samba.org>
70760         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70761         MAP_HUGETLB.
70762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70763         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70766 2012-03-27  David S. Miller  <davem@davemloft.net>
70768         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70770         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70771         have-as-vis3 check.
70773 2012-03-27  Andreas Jaeger  <aj@suse.de>
70775         * sysdeps/x86_64/elf/configure.in: Moved to ...
70776         * sysdeps/x86_64/configure.in: ... here.
70777         * sysdeps/x86_64/elf/start.S: Moved to ...
70778         * sysdeps/x86_64/start.S: ... here.
70779         * sysdeps/x86_64/elf/configure: Delete.
70781         * sysdeps/x86_64/configure.in: Merge contents from
70782         sysdeps/i386/configure.in (without i686 check).
70784         * sysdeps/i386/elf/Versions: Merge into ...
70785         * sysdeps/i386/Versions: ... this.
70786         * sysdeps/i386/elf/Versions: Delete file.
70787         * sysdeps/i386/elf/start.S: Moved to ...
70788         * sysdeps/i386/start.S: ...here.
70789         * sysdeps/i386/elf/configure.in: Merge into...
70790         * sysdeps/i386/configure.in: ...here.
70791         * sysdeps/i386/elf/configure.in: Delete file.
70792         * sysdeps/i386/elf/configure: Delete file.
70794         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70795         * debug/backtracesyms.c: ... here.
70796         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70797         * debug/backtracesymsfd.c: ... here.
70798         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70799         * sysdeps/generic/ifunc-sel.h: ... here.
70801         * sysdeps/unix/i386/start.c: Delete file.
70802         * sysdeps/unix/sparc/start.c: Delete file.
70803         * sysdeps/unix/start.c: Delete file.
70805         * sysdeps/sh/elf/configure.in: Moved to ...
70806         * sysdeps/sh/configure.in: ... here.
70807         * sysdeps/sh/elf/start.S: Moved to ...
70808         * sysdeps/sh/start.S: ... here.
70809         * sysdeps/sh/elf/configure: Delete file.
70811         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70812         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70813         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70814         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70815         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70816         * sysdeps/powerpc/powerpc64/start.S: here.
70817         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70818         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70819         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70820         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70821         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70823         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70824         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70825         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70826         * sysdeps/powerpc/powerpc32/start.S: ... here.
70827         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70828         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70829         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70831         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70832         * sysdeps/powerpc/ifunc-sel.h: ... here.
70833         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70834         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70836         * sysdeps/sparc/elf/configure.in: Moved to ...
70837         * sysdeps/sparc/configure.in: ... here.
70838         * sysdeps/sparc/elf/configure: Delete file.
70839         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70840         * sysdeps/sparc/sparc32/start.S: ... here.
70841         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70842         * sysdeps/sparc/sparc64/start.S: ... here.
70843         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70844         * sysdeps/sparc/sparc32/Makefile: ... this.
70845         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70846         * sysdeps/sparc/sparc64/Makefile: ... this.
70848         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70849         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70850         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70851         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70852         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70853         * sysdeps/s390/s390-32/setjmp.S: ... here.
70854         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70855         * sysdeps/s390/s390-32/configure.in: ... here.
70856         * sysdeps/s390/s390-32/elf/configure: Delete file.
70857         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70858         * sysdeps/s390/s390-32/start.S: ... here.
70860         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70861         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70862         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70863         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70864         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70865         * sysdeps/s390/s390-64/setjmp.S: ... here.
70866         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70867         * sysdeps/s390/s390-64/configure.in: ... here
70868         * sysdeps/s390/s390-64/elf/configure: Delete file.
70869         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70870         * sysdeps/s390/s390-64/start.S: ... here.
70871         * sysdeps/s390/s390-64/elf/configure: Delete.
70873         * configure.in: Remove support for elf directories in sysdeps.
70875         * configure: Regenerated.
70876         * sysdeps/i386/configure: Regenerated.
70877         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70878         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70879         * sysdeps/s390/s390-32/configure: Regenerated.
70880         * sysdeps/s390/s390-64/configure: Regenerated.
70881         * sysdeps/sh/configure: Regenerated.
70882         * sysdeps/sparc/configure: Regenerated.
70883         * sysdeps/x86_64/configure: Regenerated.
70885 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70890         denormal result into account.
70892 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70894         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70895         Reported by Allan McRae <allan@archlinux.org>.
70897 2012-03-23  Jeff Law  <law@redhat.com>
70899         * nss/getnssent.c (__nss_getent): Fix typo.
70901 2012-03-23  David S. Miller  <davem@davemloft.net>
70903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70905 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70907         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70908         to pad to uint64_t for each field.
70909         (dl_tls_index): Replace unsigned long with uint64_t.
70911 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70912         Paul Pluzhnikov  <ppluzhnikov@google.com>
70914         [BZ #6528]
70915         * grp/Makefile (otherlibs): Don't set it.
70916         * inet/Makefile (otherlibs): Likewise.
70917         * login/Makefile (otherlibs): Likewise.
70918         * nscd/Makefile (otherlibs): Likewise.
70919         * posix/Makefile (otherlibs): Likewise.
70920         * pwd/Makefile (otherlibs): Likewise.
70921         * rt/Makefile (otherlibs): Likewise.
70922         * sunrpc/Makefile (otherlibs): Likewise.
70923         * nss/Makefile (otherlibs): Likewise.
70924         Add libnss_files to routines and static-only-routines.
70925         ($(objpfx)getent): Remove rule.
70926         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70927         static-only-routines.
70929 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70931         [BZ #13892]
70932         * math/s_cexp.c: Include <float.h>.
70933         (__cexp): Handle exp result overflowing not necessarily
70934         overflowing both real and imaginary parts of result.
70935         * math/s_cexpf.c: Likewise.
70936         * math/s_cexpl.c: Likewise.
70937         * math/libm-test.inc (cexp_test): Add more tests.
70938         * sysdeps/i386/fpu/libm-test-ulps: Update.
70939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70941 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70943         * include/link.h (ELFW): New macro.
70944         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70945         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70947 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70949         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70950         with uint64_t.
70952 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70954         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70955         declaration.
70956         (struct La_x32_retval): Likewise.
70958 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70960         * sysdeps/x86_64/preconfigure.in: New file.
70961         * sysdeps/x86_64/preconfigure: New generated file.
70963 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70965         [BZ #13824]
70966         * math/e_exp2l.c: Include <float.h>.
70967         (__ieee754_exp2l): Handle overflow and underflow cases
70968         separately.  Only pass fractional part of argument to
70969         __ieee754_expl.
70970         * math/libm-test.inc (exp2_test): Add more tests.
70972         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70973         negating x to take absolute value.
70974         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70975         Likewise.
70976         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70977         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70978         Likewise.
70979         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70980         computing low part if x was negated.
70981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70983 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70985         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70986         la_x32_gnu_pltexit.
70987         (pltexit): Cast int_retval to ptrdiff_t.
70988         * elf/tst-auditmod3b.c: Likewise.
70989         * elf/tst-auditmod4b.c: Likewise.
70990         * elf/tst-auditmod5b.c: Likewise.
70991         * elf/tst-auditmod6b.c: Likewise.
70992         * elf/tst-auditmod6c.c: Likewise.
70993         * elf/tst-auditmod7b.c: Likewise.
70995         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70996         and x32_gnu_pltexit.
70998         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70999         __ELF_NATIVE_CLASS.
71000         (La_x32_regs): New macro.
71001         (La_x32_retval): Likewise.
71002         (la_x32_gnu_pltenter): New function prototype.
71003         (la_x32_gnu_pltexit): Likewise.
71005 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71008         exponent.
71010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71012         * configure.in (libc_cv_cc_nofma): Check for option to disable
71013         generation of FMA instructions.
71014         * configure: Regenerate.
71015         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71016         * sysdeps/ieee754/dbl-64/Makefile: New file.
71017         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71018         Remove brandred-fma4.
71019         (CFLAGS-brandred-fma4.c): Remove.
71020         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71021         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71022         define.
71023         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71024         define.
71026 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71028         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71029         LLONG_MAX != LONG_MAX.
71030         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71031         (_fitoa_word): Likewise.
71032         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71033         LLONG_MAX != LONG_MAX.
71034         * stdio-common/_itowa.h: Include <_itoa.h>.
71035         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71036         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71037         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71038         only if not defined.
71039         (_ITOA_WORD_TYPE): Likewise.
71040         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71041         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71043 2012-03-21  David S. Miller  <davem@davemloft.net>
71045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71047 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71049         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71050         of x86_64 when setting libc_cv_slibdir, libdir and
71051         libc_cv_localedir.
71052         * sysdeps/unix/sysv/linux/configure: Regenerated.
71054 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71056         * manual/lang.texi (Old Varargs): Remove section.
71057         (How Variadic): Update menu.
71058         (va_start): Do not mention varargs.h.
71060 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71061             Joseph Myers  <joseph@codesourcery.com>
71063         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71064         link test.
71065         * configure: Regenerated.
71067 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71069         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71070         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71071         conformtest.pl
71073 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71075         * NOTES: Remove.
71076         * Makefile (files-for-dist): Remove NOTES.
71077         (NOTES): Remove rule.
71078         * README: Don't refer to NOTES.
71079         * manual/creature.texi: Don't include macros.texi.
71080         * manual/intro.texi (creature.texi): Remove comment referring to
71081         NOTES.
71083         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71084         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71085         * configure: Regenerated.
71086         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71087         LIBC_TRY_CC_OPTION.
71088         (libc_cv_as_i686): Likewise.
71089         (libc_cv_cc_avx): Likewise.
71090         (libc_cv_cc_sse2avx): Likewise.
71091         (libc_cv_cc_fma4): Likewise.
71092         (libc_cv_cc_novzeroupper): Likewise.
71093         * sysdeps/i386/configure: Regenerated.
71095         [BZ #13883]
71096         * sysdeps/i386/fpu/s_cexp.S: Remove.
71097         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71098         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71099         * math/libm-test.inc (cexp_test): Add more tests.
71100         * sysdeps/i386/fpu/libm-test-ulps: Update.
71101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71103 2012-03-21  Allan McRae  <allan@archlinux.org>
71105         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71107 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71109         [BZ #13871]
71110         * math/w_exp2.c: Do not include <float.h>.
71111         (o_threshold, u_threshold): Remove.
71112         (__exp2): Calculate result before checking finiteness and calling
71113         __kernel_standard.
71114         * math/w_exp2f.c: Likewise.
71115         * math/w_exp2l.c: Likewise.
71116         * math/libm-test.inc (exp2_test): Require overflow exception for
71117         1e6 input.
71119         [BZ #3866]
71120         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71121         range of signed 64-bit integers before using fistpll.  Remove
71122         checks for whether integers fit in mantissa bits.
71123         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71124         the range of signed 32-bit integers before using fistpl.  Remove
71125         checks for whether integers fit in mantissa bits.
71126         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71127         (__ieee754_powl): Test for y outside the range of signed 64-bit
71128         integers before using fistpll.  Reduce 64-bit values to 63-bit
71129         ones as needed.
71130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71131         divide-by-zero is raised for zero to large negative powers.
71132         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71133         (__ieee754_powl): Test for y outside the range of signed 64-bit
71134         integers before using fistpll.  Reduce 64-bit values to 63-bit
71135         ones as needed.
71136         * math/libm-test.inc (pow_test): Add more tests.
71138 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71140         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71141         <stdio-common/_itoa.h>.
71142         * debug/segfault.c: Likewise.
71143         * elf/dl-cache.c: Likewise.
71144         * elf/dl-minimal.c: Likewise.
71145         * elf/dl-misc.c: Likewise.
71146         * elf/dl-sysdep.c: Likewise.
71147         * elf/dl-version.c: Likewise.
71148         * elf/rtld.c: Likewise.
71149         * hurd/hurdsock.c: Likewise.
71150         * hurd/lookup-retry.c: Likewise.
71151         * malloc/malloc.c: Likewise.
71152         * malloc/mtrace.c: Likewise.
71153         * nscd/nscd_getgr_r.c: Likewise.
71154         * nscd/nscd_getpw_r.c: Likewise.
71155         * nscd/nscd_getserv_r.c: Likewise.
71156         * posix/getopt_init.c: Likewise.
71157         * posix/wordexp.c: Likewise.
71158         * stdio-common/_itoa.c: Likewise.
71159         * stdio-common/printf_fphex.c: Likewise.
71160         * stdio-common/vfprintf.c: Likewise.
71161         * string/_strerror.c: Likewise.
71162         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71163         * sysdeps/i386/i686/hp-timing.h: Likewise.
71164         * sysdeps/mach/_strerror.c: Likewise.
71165         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71166         * sysdeps/mach/hurd/sethostid.c: Likewise.
71167         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71168         * sysdeps/mach/xpg-strerror.c: Likewise.
71169         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71170         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71171         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71172         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71173         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71174         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71175         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71176         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71177         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71178         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71179         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71180         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71181         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71182         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71183         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71184         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71185         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71186         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71187         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71188         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71189         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71191         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71193         * stdio-common/_itoa.h: Moved to ...
71194         * sysdeps/generic/_itoa.h: Here.
71196         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71198         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71199         instead of "_itoa.h" and "_itowa.h".
71200         * stdio-common/vfprintf.: Likewise.
71202 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71204         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71205         <bits/wordsize.h>.
71206         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71207         (__signbit): Likwise.
71208         (llrintf): Likwise.
71209         (llrint): Likwise.
71211 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71213         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71214         __WORDSIZE != 64.
71216 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71218         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71219         OVERFLOW_EXCEPTION_OK.
71220         * math/libm-test.inc ("Philosophy"): Update comment about
71221         exception testing.
71222         (OVERFLOW_EXCEPTION): Define.
71223         (OVERFLOW_EXCEPTION_OK): Likewise.
71224         (INVALID_EXCEPTION_OK): Renumber.
71225         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71226         (IGNORE_ZERO_INF_SIGN): Likewise.
71227         (test_exceptions): Handle FE_OVERFLOW.
71228         (exp10_test): Expect overflow exceptions.
71229         (exp2_test): Likewise.
71230         (expm1_test): Likewise.
71231         (nextafter_test): Likewise.
71232         (pow_test): Likewise.
71233         (scalbn_test): Likewise.
71234         (scalbln_test): Likewise.
71236 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71238         * sysdeps/x86_64/bits/atomic.h
71239         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71240         64bit integer.
71241         (atomic_exchange_acq): Likewise.
71242         (__arch_exchange_and_add_body): Likewise.
71243         (__arch_add_body): Likewise.
71244         (atomic_add_negative): Likewise.
71245         (atomic_add_zero): Likewise.
71247 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71249         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71250         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71252 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71254         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71255         Check __x86_64__ instead of __WORDSIZE.
71257 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71259         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71261 2012-03-19  David S. Miller  <davem@davemloft.net>
71263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71265         * sysdeps/sparc/fpu/fenv_private.h: New file.
71266         * sysdeps/sparc/fpu/math_private.h: Use it.
71267         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71268         Remove.
71269         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71270         (libc_feholdexcept_setroundl): Remove.
71271         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71272         Remove.
71273         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71274         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71278         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71279         int64_t instead of long int.
71280         (INSERT_WORDS64): Likwise.
71282 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71284         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71285         _Unwind_GetCFA return to _Unwind_Ptr first.
71287 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71289         [BZ #13629]
71290         * math/s_clog.c: Include <float.h>.
71291         (__clog): Scale large or subnormal inputs.
71292         * math/s_clogf.c: Likewise.
71293         * math/s_clogl.c: Likewise.
71294         * math/s_clog10.c: Include <float.h>.
71295         (M_LOG10_2): Define.
71296         (__clog10): Scale large or subnormal inputs.
71297         * math/s_clog10f.c: Likewise.
71298         * math/s_clog10l.c: Likewise.
71299         * math/libm-test.inc (clog_test): Add more tests.
71300         (clog10_test): Likewise.
71301         * sysdeps/i386/fpu/libm-test-ulps: Update.
71302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71304         [BZ #11451]
71305         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71306         x and y.
71307         * math/libm-test.inc (atan2_test): Add another test.
71309         * Makerules (common-objdir-compile): Remove.
71310         * sysdeps/unix/Makefile (config-generated): Do not add
71311         $(unix-generated) to variable.
71312         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71313         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71314         Remove rule.
71315         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71316         Likewise.
71317         [generic bits/local_lim.h] (before-compile): Do not append to
71318         variable.
71319         [generic bits/local_lim.h] (common-generated): Likewise.
71320         [generic sys/param.h] (before-compile): Do not append to variable.
71321         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71322         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71323         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71324         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71325         include.
71326         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71327         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71328         [generic sys/param.h] ($(addprefix
71329         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71330         [generic sys/param.h] (common-generated): Do not append to
71331         variable.
71332         [generic sys/param.h] (sysdep_headers): Likewise.
71333         [generic bits/errno.h] (before-compile): Do not append to
71334         variable.
71335         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71336         rule.
71337         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71338         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71339         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71340         [generic bits/errno.h] (common-generated): Do not append to
71341         variable.
71342         [generic bits/ioctls.h] (before-compile): Do not append to
71343         variable.
71344         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71345         rule.
71346         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71347         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71348         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71349         rule.
71350         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71351         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71352         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71353         [generic bits/ioctls.h] (common-generated): Do not append to
71354         variable.
71355         [generic sys/syscall.h] (syscall.h): Remove variable.
71356         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71357         rule.
71358         [generic sys/syscall.h] (before-compile): Do not append to
71359         variable.
71360         [generic sys/syscall.h] (common-generated): Likewise.
71361         * sysdeps/unix/errnos-tmpl.c: Remove file.
71362         * sysdeps/unix/errnos.awk: Likewise.
71363         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71364         * sysdeps/unix/ioctls.awk: Likewise.
71365         * sysdeps/unix/mk-local_lim.c: Likewise.
71366         * sysdeps/unix/snarf-ioctls: Likewise.
71368 2012-03-19  Richard Henderson  <rth@twiddle.net>
71370         * sysdeps/i386/fpu/fenv_private.h: New file.
71371         * sysdeps/i386/fpu/math_private.h: Use it.
71372         (math_opt_barrier, math_force_eval): Remove.
71373         (libc_feholdexcept_setround_53bit): Remove.
71374         (libc_feupdateenv_53bit): Remove.
71375         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71376         (math_opt_barrier, math_force_eval): Remove.
71377         (libc_feholdexcept): Remove.
71378         (libc_feholdexcept_setround): Remove.
71379         (libc_fetestexcept, libc_fesetenv): Remove.
71380         (libc_feupdateenv_test): Remove.
71381         (libc_feupdateenv, libc_feholdsetround): Remove.
71382         (libc_feresetround): Remove.
71384         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71385         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71387         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71388         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71389         (libc_feupdateenv_testl): New.
71390         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71391         (libc_feupdateenv_testf): New.
71392         (libc_feupdateenv): Use libc_feupdateenv_test.
71393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71394         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71396         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71397         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71398         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71399         (libc_feresetround_noex): New.
71400         (libc_feresetround_noexf): New.
71401         (libc_feresetround_noexl): New.
71402         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71403         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71404         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71405         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71406         SET_RESTORE_ROUND.
71407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71409         (__cos): Likewise.
71410         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71411         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71412         SET_RESTORE_ROUND_NOEX.
71413         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71414         SET_RESTORE_ROUND_NOEXF.
71415         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71416         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71417         (libc_feholdsetroundf): New.
71418         (libc_feresetround, libc_feresetroundf): New.
71420         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71421         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71422         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71424         * sysdeps/generic/math_private.h: Include <fenv.h>.
71425         (default_libc_feholdexcept): New.
71426         (default_libc_feholdexcept_setround): New.
71427         (default_libc_fesetenv, default_libc_feupdateenv): New.
71428         (libc_feholdexcept): Only define if undefined.
71429         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71430         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71431         (libc_feholdexcept_setroundl): Likewise.
71432         (libc_feholdexcept_setround_53bit): Likewise.
71433         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71434         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71435         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71436         (libc_feupdateenv_53bit): Likewise.
71437         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71438         (libc_feholdexcept): Convert from macro to inline function.
71439         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71440         (libc_fesetenv, libc_feupdateenv): Likewise.
71442         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71443         not previously defined.
71444         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71445         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71446         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71447         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71448         * sysdeps/ieee754/flt-32/math_private.h: New file.
71449         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71450         math_private.h below SET_FLOAT_WORD.
71451         (__isnan, __isinf_ns, __finite): Remove.
71452         (__isnanf, __isinf_nsf, __finitef): Remove.
71454 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71458 2012-03-17  David S. Miller  <davem@davemloft.net>
71460         [BZ #6471]
71461         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71462         for 2.16.
71464 2012-03-16  David S. Miller  <davem@davemloft.net>
71466         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71467         warnings.
71469         [BZ #6471]
71470         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71471         properly.
71472         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71473         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71474         sysdep_routines when subdir is sysvipc.
71475         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71476         __getshmlba helper.
71478         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71480 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71482         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71483         [__LP64__].
71485 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71487         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71488         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71489         (__lround): Renamed to ...
71490         (__llround): This.  Replace long int with long long int.
71491         Define lround functions as aliases of llround functions.
71492         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71494 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71496         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71497         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71498         adresses to uintptr_t.  Replace "long int" and "unsigned long
71499         int" with "greg_t" on va_arg.
71501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71503         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71504         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71506         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71507         Move e_machine check before EI_CLASS check.  Handle x32
71508         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71509         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71510         SKIP_EM_IA_64 and include
71511         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71513         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71514         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71515         (add_system_dir): New macro.
71517         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71518         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71520 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71522         [BZ #2551]
71523         [BZ #2552]
71524         [BZ #2553]
71525         [BZ #2554]
71526         [BZ #2562]
71527         [BZ #2563]
71528         [BZ #2565]
71529         [BZ #2566]
71530         [BZ #2576]
71531         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71532         (y0): Likewise.
71533         * math/w_j0f.c (j0f): Likewise.
71534         (y0f): Likewise.
71535         * math/w_j0l.c (__j0l): Likewise.
71536         (__y0l): Likewise.
71537         * math/w_j1.c (j1): Likewise.
71538         (y1): Likewise.
71539         * math/w_j1f.c (j1f): Likewise.
71540         (y1f): Likewise.
71541         * math/w_j1l.c (__j1l): Likewise.
71542         (__y1l): Likewise.
71543         * math/w_jn.c (jn): Likewise.
71544         (yn): Likewise.
71545         * math/w_jnf.c (jnf): Likewise.
71546         (ynf): Likewise.
71547         * math/w_jnl.c (__jnl): Likewise.
71548         (__ynl): Likewise.
71549         * math/libm-test.inc (j0_test): Add more tests.
71550         (j1_test): Likewise.
71551         (jn_test): Likewise.  Add trailing semicolon to existing test.
71552         (y0_test): Likewise.
71553         (y1_test): Likewise.
71554         * sysdeps/i386/fpu/libm-test-ulps: Update.
71555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71557         [BZ #13851]
71558         [BZ #13854]
71559         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71560         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71561         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71562         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71563         (__tanl): Set errno for infinite argument.
71564         * sysdeps/i386/fpu/mptan.c: Remove.
71565         * sysdeps/i386/fpu/s_tan.S: Likewise.
71566         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71567         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71568         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71569         * math/libm-test.inc (tan_test): Add more tests and enable more
71570         tests for double and long double.
71571         * sysdeps/i386/fpu/libm-test-ulps: Update.
71572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71574 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71576         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71577         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71579 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71581         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71582         * configure.in: Use it for both main tree and add-ons.
71583         * configure: Regenerated.
71585 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71587         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71589 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71591         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71592         in comment.
71594         [BZ #13851]
71595         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71596         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71597         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71598         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71599         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71600         infinite argument.
71601         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71603         != 0 for prec == 2.
71604         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71605         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71606         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71607         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71608         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71609         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71610         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71611         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71612         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71613         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71614         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71615         * math/libm-test.inc (cos_test): Add more tests and enable more
71616         tests for long double.
71617         (sin_test): Likewise.
71618         (sincos_test): Likewise.
71619         * sysdeps/i386/fpu/libm-test-ulps: Update.
71620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71622 2012-03-16  David S. Miller  <davem@davemloft.net>
71624         * sysdeps/sparc/fpu/math_private.h: New file.
71626 2012-03-15  David S. Miller  <davem@davemloft.net>
71628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71629         file.
71630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71632         file.
71633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71639         sysdep routines.
71640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71642         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71643         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71645         * sysdeps/sparc/sparc-ifunc.h: New file.
71646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71647         sparc-ifunc.h
71648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71650         Likewise.
71651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71652         Likewise.
71653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71657         Likewise.
71658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71663         Likewise.
71664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71665         Likewise.
71666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71672         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71691 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71693         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71694         scaling.
71695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71697 2012-03-15  Andreas Jaeger  <aj@suse.de>
71699         [BZ #13852]
71700         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71701         ieee754/flt-32 implementation for sin, cos and sincos.
71702         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71703         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71704         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71705         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71706         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71707         ieee754/flt-32 implementation for tan.
71709         * math/libm-test.inc (cos_test): Enable some large input tests for
71710         float as well
71711         (sin_test): Likewise.
71712         (sincos_test): Likewise.
71713         (tan_test): Add tests for large input.
71715         * sysdeps/i386/fpu/libm-test-ulps: Update.
71717 2012-03-15  Andreas Jaeger  <aj@suse.de>
71719         [BZ #13658]
71720         * math/libm-test.inc (cos_test): Add more test cases.
71721         (sin_test): Likewise.
71722         (sincos_test): Likewise.
71724 2012-03-15  Andreas Jaeger  <aj@suse.de>
71726         [BZ #13837]
71727         * math/libm-test.inc (cos_test): Add a test case for large input
71728         value.
71729         (sin_test): Likewise.
71730         (sincos_test): Likewise.
71732 2012-03-15  Andreas Jaeger  <aj@suse.de>
71733             Joseph Myers  <joseph@codesourcery.com>
71735         [BZ #13658]
71736         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71737         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71738         * sysdeps/i386/fpu/branred.c: Likewise.
71739         * sysdeps/i386/fpu/dosincos.c: Likewise.
71740         * sysdeps/i386/fpu/mpa.c: Likewise.
71741         * sysdeps/i386/fpu/s_cos.S: Likewise.
71742         * sysdeps/i386/fpu/s_sin.S: Likewise.
71743         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71744         * sysdeps/i386/fpu/sincos32.c: Likewise.
71746         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71747         Define.
71748         (libc_feupdateenv_53bit): Define.
71749         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71750         Define.
71751         (libc_feupdateenv_53bit): Define.
71753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71754         53 bit (without extend i386 double precision).
71756         * math/libm-test.inc (sincos_test): Add tests for large input.
71757         (sin): Likewise.
71758         (cos): Likewise.
71760         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71762 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71766 2012-03-15  David S. Miller  <davem@davemloft.net>
71768         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71769         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71770         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71771         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71784         file.
71785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71787         file.
71788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71790         file.
71791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71793         file.
71794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71796         fmin/fmax sysdep routines.
71797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71799 2012-03-14  David S. Miller  <davem@davemloft.net>
71801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71806         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71807         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71808         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71818         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71822         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71827         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71828         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71830         routines.
71831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71832         file.
71833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71835         file.
71836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71838         file.
71839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71841         file.
71842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71844         file.
71845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71847         file.
71848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71849         file.
71850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71851         file.
71852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71853         file.
71854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71855         New file.
71856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71857         file.
71858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71859         file.
71860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71862         file.
71863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71865         file.
71866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71868         file.
71869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71871         VIS3 routines.
71873         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71874         New file.
71876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71878         * sysdeps/sparc/configure.in: New file.
71879         * sysdeps/sparc/configure: Generate.
71880         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71881         * configure: Regenerate.
71882         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71883         * config.make.in (have-as-vis3): New.
71884         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71885         available use -Av9d instead of -Av9a.
71886         * sysdeps/sparc/sparc64/Makefile: Likewise.
71887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71889         New file.
71890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71891         file.
71892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71893         New file.
71894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71895         file.
71896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71899         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71900         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71902         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71903         fzeros/fnegs to load 0x80000000 into a float register instead of
71904         using the stack.
71905         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71907 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71910         bits/syscall.h.
71911         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71912         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71913         ($(inst_includedir)/bits/syscall.h): Remove rule.
71914         ($(objpfx)bits/syscall.d): Include instead of
71915         $(objpfx)syscall-list.d.
71916         (generated): Change syscall-list.h and syscall-list.d to
71917         bits/syscall.h and bits/syscall.d.
71919 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71921         [BZ #13846]
71922         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71924 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71926         [BZ #13841]
71927         * math/s_csqrt.c: Include <float.h>.
71928         (__csqrt): Scale large or subnormal inputs.
71929         * math/s_csqrtf.c: Likewise.
71930         * math/s_csqrtl.c: Likewise.
71931         * math/libm-test.inc (csqrt_test): Add more tests.
71932         * sysdeps/i386/fpu/libm-test-ulps: Update.
71933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71935         [BZ #13840]
71936         * math/libm-test.inc (hypot_test): Add more tests.
71938 2012-03-13  David S. Miller  <davem@davemloft.net>
71940         [BZ #13840]
71941         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71942         double-precision for the calculation instead of scaling.
71944 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71946         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71947         manipulate bits before adding and subtracting TWO52[sx].
71948         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71950         Likewise.
71951         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71953 2012-03-13  David S. Miller  <davem@davemloft.net>
71955         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71956         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71958         rtld-global-offsets.h
71959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71961         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71962         large parameters.
71964         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71966         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71967         'err' in the ifdef scope in which it is actually used.
71969         * nss/nss_db/db-init.c: Include string.h
71971 2012-03-12  David S. Miller  <davem@davemloft.net>
71973         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71974         masking out of the most significant byte of random value used.
71975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71976         Fix coding style in previous change.
71978         * sysdeps/unix/sysv/linux/kernel-features.h
71979         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71980         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71981         expression.
71982         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71983         later.
71985 2012-03-11  David S. Miller  <davem@davemloft.net>
71987         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71988         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71989         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71990         for 'resultvar' otherwise things get truncated on 64-bit.
71992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71993         Fix masking out of the most significant byte of random value used.
71995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71997 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72001 2012-03-09  David S. Miller  <davem@davemloft.net>
72003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72004         variables with appropriate CPP guards.
72005         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72006         from the frame pointer, not the stack pointer.  Correct layout
72007         comments.  Fix test on resulting framesize and the management of
72008         the outregs buffer for pltexit.  Preserve floating point return
72009         values across _dl_call_pltexit call.
72010         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72011         framesize and the management of the outregs buffer for pltexit.
72012         Preserve floating point return values across _dl_call_pltexit
72013         call.
72014         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72015         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72016         (la_sparc64_gnu_pltexit): New functions.
72017         (print_exit): Fix format string for return register value.
72019 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72021         * sunrpc/Makefile (others): Add rpcgen.
72022         ($(objpfx)rpcgen): Remove special build rule and dependency on
72023         libc.
72024         * sunrpc/rpcgen.c: New file.
72026 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72028         [BZ #13673]
72029         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72030         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72031         * sysdeps/i386/crti.S: Likewise.
72032         * sysdeps/i386/crtn.S: Likewise.
72033         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72034         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72035         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72036         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72037         * sysdeps/sh/crti.S: Likewise.
72038         * sysdeps/sh/crtn.S: Likewise.
72039         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72041         [BZ #13673]
72042         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72043         with URL.
72044         * locale/programs/locfile-kw.gperf: Likewise.
72045         * locale/programs/charmap-kw.h: Regenerated.
72046         * locale/programs/locfile-kw.h: Likewise.
72048         [BZ #13673]
72049         * intl/plural.y: Replace FSF snail mail address with URL.
72050         * intl/plural.c: Regenerated.
72052 2012-03-09  Richard Henderson  <rth@twiddle.net>
72054         * include/math_private.h: Remove file.
72055         * math/math_private.h: Move file ...
72056         * sysdeps/generic/math_private.h: ... here.
72058         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72059         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72060         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72062         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72063         and <math_private.h>.
72064         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72065         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72066         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72067         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72068         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72069         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72072         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72073         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72075         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72076         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72078         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72079         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72080         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72081         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72082         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72083         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72085         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72086         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72087         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72088         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72089         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72090         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72091         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72092         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72094         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72096         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72097         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72098         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72099         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72101         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72102         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72103         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72104         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72105         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72106         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72107         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72108         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72109         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72110         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72111         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72113         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72114         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72115         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72116         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72117         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72118         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72119         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72120         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72121         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72122         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72123         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72125         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72126         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72127         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72128         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72129         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72132         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72134         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72142         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72143         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72144         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72145         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72147         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72148         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72149         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72151         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72152         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72153         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72154         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72155         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72157         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72158         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72159         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72160         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72161         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72162         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72163         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72164         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72165         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72166         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72167         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72168         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72169         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72170         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72171         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72172         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72173         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72174         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72175         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72176         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72177         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72178         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72180         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72181         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72182         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72183         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72184         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72185         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72186         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72187         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72188         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72189         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72190         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72191         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72192         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72193         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72194         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72195         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72196         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72197         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72198         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72199         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72200         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72201         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72202         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72203         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72204         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72205         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72206         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72207         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72208         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72209         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72210         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72211         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72212         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72213         * sysdeps/ieee754/k_standard.c: Likewise.
72214         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72215         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72216         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72217         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72218         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72219         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72220         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72221         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72222         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72223         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72224         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72225         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72226         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72227         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72228         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72229         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72230         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72231         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72232         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72233         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72234         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72235         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72236         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72237         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72238         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72239         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72240         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72241         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72242         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72244         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72248         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72249         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72250         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72251         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72252         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72253         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72254         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72255         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72256         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72257         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72258         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72259         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72260         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72261         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72262         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72263         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72264         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72265         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72266         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72267         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72270         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72271         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72272         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72273         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72274         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72275         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72276         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72277         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72280         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72281         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72283         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72284         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72285         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72286         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72288         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72289         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72290         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72291         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72293         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72294         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72295         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72296         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72298         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72299         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72300         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72301         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72302         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72304         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72305         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72306         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72307         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72310         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72311         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72313         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72316         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72317         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72318         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72321         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72322         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72323         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72324         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72325         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72326         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72330         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72331         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72332         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72333         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72334         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72335         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72336         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72337         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72338         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72339         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72340         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72341         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72342         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72343         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72344         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72345         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72346         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72347         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72348         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72349         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72351         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72352         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72353         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72354         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72355         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72356         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72357         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72358         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72359         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72360         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72363         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72364         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72365         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72366         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72367         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72368         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72369         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72370         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72371         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72372         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72373         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72374         * sysdeps/ieee754/s_lib_version.c: Likewise.
72375         * sysdeps/ieee754/s_matherr.c: Likewise.
72376         * sysdeps/ieee754/s_signgam.c: Likewise.
72377         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72378         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72379         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72380         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72381         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72382         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72383         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72384         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72385         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72386         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72387         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72388         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72389         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72390         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72391         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72392         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72393         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72394         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72395         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72399 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72401         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72402         * sunrpc/rpc_main.c: Likewise.
72403         * sunrpc/rpc_svcout.c: Likewise.
72405 2012-03-09  David S. Miller  <davem@davemloft.net>
72407         * include/math_private.h: New file.
72409 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72411         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72412         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72413         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72414         from <bits/socket_type.h>.
72415         (enum __socket_type): Don't define here.
72416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72418         bits/socket_type.h.
72420         [BZ #13566]
72421         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72422         checking __USE_GNU.
72424         * Makerules ($(inst_includedir)/%.h): New rule.
72425         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72426         (install-others): Remove variable setting.
72427         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72429 2012-03-08  Richard Henderson  <rth@twiddle.net>
72431         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72432         from macro to inline function; merge with the
72433         !__LIBC_INTERNAL_MATH_INLINES version.
72434         (__ieee754_sqrtf): Likewise.
72436         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72437         to inline function.
72438         (__rintf, __floor, __floorf): Likewise.
72440         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72441         macro to inline function.
72442         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72444         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72445         not <math/math_private.h>.
72447 2012-03-08  David S. Miller  <davem@davemloft.net>
72449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72450         copyright year.
72451         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72453 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72455         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72456         normalization.
72457         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72458         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72460 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72462         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72463         be defined individually, they must be defined as a block.  Define
72464         S for printing a string instead of hidint the different by using a
72465         macro for adding the 'l'.
72466         * stdio-common/tst-fphex-wide.c: Adjust.
72468 2012-03-07  Marek Polacek  <polacek@redhat.com>
72470         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72472 2012-03-08  Marek Polacek  <polacek@redhat.com>
72474         [BZ #13806]
72475         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72476         * stdio-common/tst-fphex.c: Define a few macros to make the
72477         test reusable.  Use them.
72478         * stdio-common/tst-fphex-wide.c: New file.
72480 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72482         [BZ #6911]
72483         * manual/macros.texi (gnusystems): New macro.
72484         (nongnusystems): Likewise.
72485         (gnulinuxhurdsystems): Likewise.
72486         (gnuhurdsystems): Likewise..
72487         (gnulinuxsystems): Likewise.
72488         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72489         variants of the GNU system, not "GNU system".
72490         * manual/conf.texi: Likewise.
72491         * manual/errno.texi: Likewise.  Update example of errno macro
72492         expansion.
72493         * manual/filesys.texi: Likewise.
72494         (getumask): Document as specific to GNU/Hurd.
72495         * manual/install.texi: Likewise.  Reword some references to
72496         GNU/Linux.
72497         * manual/intro.texi: Likewise.
72498         * manual/io.texi: Likewise.
72499         (File Name Portability): Detail which constraints are inapplicable
72500         to all GNU systems and which are only inapplicable to GNU/Hurd.
72501         * manual/job.texi: Likewise.
72502         * manual/llio.texi: Likewise.
72503         (O_NOCTTY): Document as present on GNU/Linux.
72504         * manual/maint.texi: Likewise.
72505         * manual/memory.texi: Likewise.
72506         * manual/pattern.texi: Likewise.
72507         * manual/pipe.texi: Likewise.
72508         * manual/process.texi: Likewise.
72509         * manual/resource.texi: Likewise.
72510         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72511         child on GNU/Hurd.
72512         * manual/setjmp.texi: Likewise.
72513         * manual/signal.texi: Likewise.
72514         * manual/startup.texi: Likewise.
72515         * manual/stdio.texi: Likewise.
72516         * manual/terminal.texi: Likewise.
72517         (ONLCR): Document as POSIX.
72518         (OXTABS): Document availability on GNU/Linux as XTABS.
72519         (ONOEOT): Document availability separately from other bits.
72520         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72521         * manual/time.texi: Likewise.
72522         * manual/users.texi: Likewise.
72523         * INSTALL: Regenerated.
72524         * sysdeps/gnu/errlist.c: Regenerated.
72526         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72527         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72528         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72529         puts.
72530         * configure: Regenerated.
72532 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72534         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72535         default includes instead of AC_HEADER_CHECK.
72536         * sysdeps/i386/configure: Regenerated.
72538         [BZ #10716]
72539         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72540         * math/s_cacoshf.c (__cacoshf): Likewise.
72541         * math/s_cacoshl.c (__cacoshl): Likewise.
72542         * math/s_casinh.c (__casinh): Set signs of result from argument.
72543         * math/s_casinhf.c (__casinhf): Likewise.
72544         * math/s_casinhl.c (__casinhl): Likewise.
72545         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72546         (casinh_test): Add more tests.
72547         * sysdeps/i386/fpu/libm-test-ulps: Update.
72548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72550 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72552         * po/zh_TW.po: Update from translation team.
72554         * login/Makefile (distribute): Remove variable.
72555         * catgets/Makefile: Likewise.
72556         * mach/Makefile: Likewise.
72557         * malloc/Makefile: Likewise.
72558         * misc/Makefile: Likewise.
72559         * iconv/Makefile: Likewise.
72560         * nscd/Makefile: Likewise.
72561         * hurd/Makefile: Likewise.
72562         * manual/Makefile: Likewise.
72563         * locale/Makefile: Likewise.
72564         * intl/Makefile: Likewise.
72565         * conform/Makefile: Likewise.
72566         * nss/Makefile: Likewise.
72567         * time/Makefile: Likewise.
72568         * soft-fp/Makefile: Likewise.
72569         * dirent/Makefile: Likewise.
72570         * gmon/Makefile: Likewise.
72571         * po/Makefile: Likewise.
72572         * rt/Makefile: Likewise.
72573         * socket/Makefile: Likewise.
72574         * math/Makefile: Likewise.
72575         * signal/Makefile: Likewise.
72576         * debug/Makefile: Likewise.
72577         * elf/Makefile: Likewise.
72578         * timezone/Makefile: Likewise.
72579         * stdlib/Makefile: Likewise.
72580         * iconvdata/Makefile: Likewise.
72581         * sunrpc/Makefile: Likewise.
72582         * io/Makefile: Likewise.
72583         * argp/Makefile: Likewise.
72584         * inet/Makefile: Likewise.
72585         * hesiod/Makefile: Likewise.
72586         * grp/Makefile: Likewise.
72587         * csu/Makefile: Likewise.
72588         * wctype/Makefile: Likewise.
72589         * crypt/Makefile: Likewise.
72590         * libio/Makefile: Likewise.
72591         * string/Makefile: Likewise.
72592         * nis/Makefile: Likewise.
72593         * resolv/Makefile: Likewise.
72594         * stdio-common/Makefile: Likewise.
72595         * wcsmbs/Makefile: Likewise.
72596         * dlfcn/Makefile: Likewise.
72597         * posix/Makefile: Likewise.
72599         [BZ #6959]
72600         * timezone/Makefile: Don't install timezone files, just the programs
72601         and scripts.
72603 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72605         * nss/databases.def: Add missing gshadow entry.
72607         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72609 2012-03-06  Marek Polacek  <polacek@redhat.com>
72611         [BZ #13726]
72612         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72613         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72614         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72615         * stdio-common/tst-long-dbl-fphex.c: New file.
72617 2012-03-06  David S. Miller  <davem@davemloft.net>
72619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72620         (set_obp_int): New function.
72621         (get_obp_int): New function.
72622         (__get_clockfreq_via_dev_openprom): Likewise.
72623         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72624         Avoid unused variable warnings on 'val' and use builtin_expect.
72625         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72626         __builtin_expect.
72627         (INLINE_CLONE_SYSCALL): Likewise.
72629 2012-03-05  David S. Miller  <davem@davemloft.net>
72631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72633 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72637         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72638         only for |x| >= 40.
72639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72641 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72644         Replace gettimeofday with __vdso_gettimeofday.
72646         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72647         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72648         __vdso_clock_gettime and __vdso_getcpu.
72650         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72651         time with __vdso_time.
72653 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72655         * manual/lang.texi (size_t): Note types to which size_t may be
72656         equivalent with the GNU C Library, but do not describe when
72657         differences between them are significant.
72659 2012-03-05  Andreas Jaeger  <aj@suse.de>
72661         * sysdeps/i386/fpu/libm-test-ulps: Update.
72663 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72665         [BZ #3976]
72666         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72667         (__ieee754_pow): Save and restore rounding mode and use
72668         round-to-nearest for main computations.
72669         * math/libm-test.inc (pow_test_tonearest): New function.
72670         (pow_test_towardzero): Likewise.
72671         (pow_test_downward): Likewise.
72672         (pow_test_upward): Likewise.
72673         (main): Call the new functions.
72674         * sysdeps/i386/fpu/libm-test-ulps: Update.
72675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72677         [BZ #3976]
72678         * math/libm-test.inc (cosh_test_tonearest): New function.
72679         (cosh_test_towardzero): Likewise.
72680         (cosh_test_downward): Likewise.
72681         (cosh_test_upward): Likewise.
72682         (sinh_test_tonearest): Likewise.
72683         (sinh_test_towardzero): Likewise.
72684         (sinh_test_downward): Likewise.
72685         (sinh_test_upward): Likewise.
72686         (main): Call the new functions.
72687         * sysdeps/i386/fpu/libm-test-ulps: Update.
72688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72690 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72692         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72693         default stack guard is set in last bytes.
72694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72696 2012-03-05  Kees Cook  <keescook@chromium.org>
72698         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72700         [BZ #13656]
72701         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72702         possibly allocate from heap instead of stack.
72703         * stdio-common/bug-vfprintf-nargs.c: New file.
72704         * stdio-common/Makefile (tests): Add nargs overflow test.
72706 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72710 2012-03-03  Marek Polacek  <polacek@redhat.com>
72712         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72713         * math/math_private.h: Likewise.
72714         * stdlib/tst-strtod.c: Likewise.
72715         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72716         * sysdeps/x86_64/bits/atomic.h: Likewise.
72718 2012-03-02  David S. Miller  <davem@davemloft.net>
72720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72724         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72725         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72726         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72727         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72729 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72731         [BZ #13792]
72732         * manual/examples/README: New file, says the example source files
72733         can be used under GPL>=2.
72734         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72735         line containing just "*/".
72736         * manual/examples/add.c: Add copyright header (GPL>=2).
72737         * manual/examples/argp-ex1.c: Likewise.
72738         * manual/examples/argp-ex2.c: Likewise.
72739         * manual/examples/argp-ex3.c: Likewise.
72740         * manual/examples/argp-ex4.c: Likewise.
72741         * manual/examples/atexit.c: Likewise.
72742         * manual/examples/db.c: Likewise.
72743         * manual/examples/dir.c: Likewise.
72744         * manual/examples/dir2.c: Likewise.
72745         * manual/examples/execinfo.c: Likewise.
72746         * manual/examples/filecli.c: Likewise.
72747         * manual/examples/filesrv.c: Likewise.
72748         * manual/examples/fmtmsgexpl.c: Likewise.
72749         * manual/examples/genpass.c: Likewise.
72750         * manual/examples/inetcli.c: Likewise.
72751         * manual/examples/inetsrv.c: Likewise.
72752         * manual/examples/isockad.c: Likewise.
72753         * manual/examples/longopt.c: Likewise.
72754         * manual/examples/memopen.c: Likewise.
72755         * manual/examples/memstrm.c: Likewise.
72756         * manual/examples/mkfsock.c: Likewise.
72757         * manual/examples/mkisock.c: Likewise.
72758         * manual/examples/mygetpass.c: Likewise.
72759         * manual/examples/pipe.c: Likewise.
72760         * manual/examples/popen.c: Likewise.
72761         * manual/examples/rprintf.c: Likewise.
72762         * manual/examples/search.c: Likewise.
72763         * manual/examples/select.c: Likewise.
72764         * manual/examples/setjmp.c: Likewise.
72765         * manual/examples/sigh1.c: Likewise.
72766         * manual/examples/sigusr.c: Likewise.
72767         * manual/examples/stpcpy.c: Likewise.
72768         * manual/examples/strdupa.c: Likewise.
72769         * manual/examples/strftim.c: Likewise.
72770         * manual/examples/strncat.c: Likewise.
72771         * manual/examples/subopt.c: Likewise.
72772         * manual/examples/swapcontext.c: Likewise.
72773         * manual/examples/termios.c: Likewise.
72774         * manual/examples/testopt.c: Likewise.
72775         * manual/examples/testpass.c: Likewise.
72776         * manual/examples/timeval_subtract.c: Likewise.
72778         [BZ #13792]
72779         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72780         function to ...
72781         * manual/timeval_subtract.c.texi: ... here, new file.
72783 2012-03-02  David S. Miller  <davem@davemloft.net>
72785         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72787 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72789         [BZ #3976]
72790         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72791         (__sin): Save and restore rounding mode and use round-to-nearest
72792         for all computations.
72793         (__cos): Save and restore rounding mode and use round-to-nearest
72794         for all computations.
72795         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72796         <fenv.h>.
72797         (tan): Save and restore rounding mode and use round-to-nearest for
72798         all computations.
72799         * math/libm-test.inc (cos_test_tonearest): New function.
72800         (cos_test_towardzero): Likewise.
72801         (cos_test_downward): Likewise.
72802         (cos_test_upward): Likewise.
72803         (sin_test_tonearest): Likewise.
72804         (sin_test_towardzero): Likewise.
72805         (sin_test_downward): Likewise.
72806         (sin_test_upward): Likewise.
72807         (tan_test_tonearest): Likewise.
72808         (tan_test_towardzero): Likewise.
72809         (tan_test_downward): Likewise.
72810         (tan_test_upward): Likewise.
72811         (main): Call the new functions.
72812         * sysdeps/i386/fpu/libm-test-ulps: Update.
72813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72815         [BZ #10135]
72816         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72817         small n, then large n, before computing and testing k+n.
72818         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72820         Likewise.
72821         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72822         Likewise.
72823         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72824         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72825         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72826         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72827         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72828         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72830         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72831         * math/libm-test.inc (scalbn_test): Add more tests.
72832         (scalbln_test): Likewise.
72834         * manual/filesys.texi (mode_t): Describe constraints on size and
72835         signedness, not exact equivalence to a particular type.
72836         (ino_t): Likewise.
72837         (ino64_t): Likewise.
72838         (dev_t): Likewise.
72839         (nlink_t): Likewise.
72840         (blkcnt_t): Likewise.
72841         (blkcnt64_t): Likewise.
72842         * manual/llio.texi (off_t): Likewise.
72844         [BZ #3976]
72845         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72846         (__ieee754_exp): Save and restore rounding mode and use
72847         round-to-nearest for all computations.
72848         * math/libm-test.inc (exp_test_tonearest): New function.
72849         (exp_test_towardzero): Likewise.
72850         (exp_test_downward): Likewise.
72851         (exp_test_upward): Likewise.
72852         (main): Call the new functions.
72853         * sysdeps/i386/fpu/libm-test-ulps: Update.
72854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72856 2012-03-01  Chris Demetriou  <cgd@google.com>
72858         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72859         have predictable order.
72861 2012-03-01  David S. Miller  <davem@davemloft.net>
72863         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72865         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72866         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72867         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72868         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72870         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72871         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72872         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72874         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72875         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72876         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72877         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72878         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72882         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72883         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72884         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72886         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72887         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72888         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72889         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72890         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72891         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72892         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72893         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72894         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72895         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72896         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72899         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72902         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72903         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72904         * sysdeps/sparc/elf/configure: Regenerated.
72906 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72908         * configure.in (AS, LD): Require binutils 2.20 or later.
72909         * configure: Regenerated.
72910         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72911         as required minimum version.
72912         * INSTALL: Regenerated.
72914         [BZ #2541]
72915         [BZ #4108]
72916         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72917         before squaring exponent.
72918         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72919         bottom long double and 27 bits of top long double before squaring
72920         exponent.
72921         * math/libm-test.inc (erfc_test): Add more tests.
72922         * sysdeps/i386/fpu/libm-test-ulps: Update.
72923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72926 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72928         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72929         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72930         containing bit-fields.
72931         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72932         * soft-fp/single.h (_FP_UNION_S): Likewise.
72933         * soft-fp/double.h (_FP_UNION_D): Likewise.
72935 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72937         [BZ #13786]
72938         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72939         not include ../strcmp.S.
72940         [USE_AS_STRNCASECMP_L]: Likewise.
72941         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72942         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72943         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72944         (__strncasecmp_l_ia32): Define as alias to
72945         __strncasecmp_l_nonascii.
72947         [BZ #5794]
72948         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72949         * sysdeps/i386/fpu/libm-test-ulps: Update.
72950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72952         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72955 2012-02-29  Jeff Law  <law@redhat.com>
72957         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72958         out of bounds read.
72960 2012-02-29  Marek Polacek  <polacek@redhat.com>
72962         [BZ #13706]
72963         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72964         * elf/Makefile: Add rules to run tst-unused-dep.out.
72966 2012-02-28  David S. Miller  <davem@davemloft.net>
72968         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72969         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72970         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72971         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72972         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72973         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72975 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72977         * math/libm-test.inc (llround_test): Move one test from
72978         lround_test.  Use TEST_f_L in moved test.
72979         (lround_test): Move misplaced test to llround_test.  Add testcase
72980         from bug 2561.
72982 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72984         * sysdeps/x86_64/fpu/e_expf.S: New file.
72985         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72987 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72989         [BZ #13637]
72990         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72991         of remain_len that may cause incomplete multi-byte character and
72992         false match.
72993         * posix/bug-regex33.c: New file.
72994         * posix/Makefile (tests): Add bug-regex33.
72996 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72998         * manual/macros.texi: New file.
72999         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73000         * manual/libc.texinfo: Include macros.texi.
73001         * manual/creatute.texi: Likewise.
73002         * manual/install.texi: Likewise.
73003         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73004         @glibcadj{} in references to the GNU C Library.
73005         * manual/charset.texi: Likewise.
73006         * manual/conf.texi: Likewise.
73007         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73008         when not using those macros.
73009         * manual/creature.texi: Likewise.
73010         * manual/crypt.texi: Likewise.
73011         * manual/errno.texi: Likewise.
73012         * manual/filesys.texi: Likewise.
73013         * manual/header.texi: Likewise.
73014         * manual/install.texi: Likewise.
73015         * manual/intro.texi: Likewise.
73016         * manual/io.texi: Likewise.
73017         * manual/job.texi: Likewise.
73018         * manual/lang.texi: Likewise.
73019         * manual/libc.texiinfo: Likewise.
73020         * manual/llio.texi: Likewise.
73021         * manual/locale.texi: Likewise.
73022         * manual/maint.texi: Likewise.
73023         * manual/math.texi: Likewise.
73024         * manual/memory.texi: Likewise.
73025         * manual/message.texi: Likewise.
73026         * manual/nss.texi: Likewise.
73027         * manual/pattern.texi: Likewise.
73028         * manual/process.texi: Likewise.
73029         * manual/resource.texi: Likewise.
73030         * manual/search.texi: Likewise.
73031         * manual/setjmp.texi: Likewise.
73032         * manual/signal.texi: Likewise.
73033         * manual/socket.texi: Likewise.
73034         * manual/startup.texi: Likewise.
73035         * manual/stdio.texi: Likewise.
73036         * manual/string.texi: Likewise.
73037         * manual/sysinfo.texi: Likewise.
73038         * manual/syslog.texi: Likewise.
73039         * manual/terminal.texi: Likewise.
73040         * manual/time.texi: Likewise.
73041         * manual/users.texi: Likewise.
73042         * INSTALL: Regenerated.
73043         * NOTES: Regenerated.
73044         * sysdeps/gnu/errlist.c: Regenerated.
73046 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73048         * include/dirent.h: Include <dirstream.h> before
73049         <dirent/dirent.h>.
73051 2012-02-28  David S. Miller  <davem@davemloft.net>
73053         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73054         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73055         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73056         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73058 2012-02-27  David S. Miller  <davem@davemloft.net>
73060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73062         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73063         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73066         frame pointer instead of stack pointer relative arg slot.
73067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73068         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73069         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73071 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73073         [BZ #3992]
73074         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73076 2012-02-27  David S. Miller  <davem@davemloft.net>
73078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73082         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73083         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73084         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73085         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73087 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73089         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73090         later.  Allow versions 5-9.
73091         * configure: Regenerated.
73092         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73093         required minimum version and 4.6 as recommended version.  Do not
73094         mention bugs in GCC 2.7 and 2.8.
73095         * INSTALL: Regenerated.
73097 2012-02-27  David S. Miller  <davem@davemloft.net>
73099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73103         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73104         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73105         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73106         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73109         manipulate bits before adding and subtracting TWO112[sx].
73110         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73112 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73114         [BZ #13775]
73115         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73116         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73117         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73118         being in POSIX, because they are in 1003.1-2008.
73120         * rt/tst-aio.c: Include <fcntl.h>.
73121         * rt/tst-aio7.c: Likewise.
73122         * rt/tst-aio64.c: Likewise.
73124         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73126 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73128         * manual/install.texi (--with-headers): Describe headers as
73129         interface headers, not private headers.
73130         (Specific advice for GNU/Linux systems): Describe use of headers
73131         from "make headers_install", not private headers from older
73132         kernels.
73133         * INSTALL: Regenerated.
73134         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73135         Change to 2.6.19.
73136         * sysdeps/unix/sysv/linux/configure: Regenerated.
73138         * manual/llio.texi (fclean): Remove documentation.
73140         * manual/Makefile (libc-texi-generated): New variable.  Include
73141         version.texi.
73142         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73143         $(libc-texi-generated), not duplicated list of files.
73144         (version.texi, stamp-version): New rules.
73145         (realclean): Remove $(libc-texi-generated), not individual files
73146         from that list.  Do not remove dir-add.texinfo.
73147         * manual/libc.texinfo: Comment out uses of edition numbers and
73148         references to printed manual.  Remove last-updated dates.
73149         (EDITION): Comment out.
73150         (ISBN): Likewise.
73151         (VERSION, UPDATED): Remove.
73152         (version.texi): Include.
73154 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73156         * sysdeps/posix/spawni.c: Include <signal.h>.
73157         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73158         * sysdeps/pthread/aio_fsync.c: Likewise.
73160 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73162         * conform/Makefile (tests): Run only when not cross-compiling and
73163         when fast-check is not defined.
73165         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73166         * conform/data/limits.h-data: Fixes for POSIX2008.
73167         * conform/run-conformtest.sh: Run all tests.
73168         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73169         headers.
73170         * include/bits/dlfcn.h: Likewise.
73171         * include/langinfo.h: Likewise.
73172         * include/monetary.h: Likewise.
73173         * include/sys/poll.h: Likewise.
73175         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73176         for __USE_GNU.
73177         * posix/spawn.h: Define __need_sigset_t.
73178         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73179         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73180         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73181         to get sigevent_t only.
73182         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73183         only for __USE_GNU.
73184         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73185         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73186         process_vm_writev only for __USE_GNU.
73187         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73189         * conform/Makefile: For now ignore errors from run-conformtest.
73190         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73191         POSIX to avoid namespace pollution.  Don't prepend headers.
73192         * conform/data/aio.h-data: Fixes for POSIX testing.
73193         * conform/data/fcntl.h-data: Likewise.
73194         * conform/data/glob.h-data: Likewise.
73195         * conform/data/grp.h-data: Likewise.
73196         * conform/data/pthread.h-data: Likewise.
73197         * conform/data/pwd.h-data: Likewise.
73198         * conform/data/signal.h-data: Likewise.
73199         * conform/data/spawn.h-data: Likewise.
73200         * conform/data/stdio.h-data: Likewise.
73201         * conform/data/stdlib.h-data: Likewise.
73202         * conform/data/stropts.h-data: Likewise.
73203         * conform/data/sys/mman.h-data: Likewise.
73204         * conform/data/sys/stat.h-data: Likewise.
73205         * conform/data/sys/types.h-data: Likewise.
73206         * conform/data/sys/wait.h-data: Likewise.
73207         * conform/data/time.h-data: Likewise.
73208         * conform/data/unistd.h-data: Likewise.
73209         * conform/data/utime.h-data: Likewise.
73211         * io/sys/stat.h: fchmod was always in POSIX.
73212         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73213         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73214         * rt/aio.h: Define __need_timespec before including <time.h>.
73215         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73216         struct.  Add forward declaration of pthread_attr_t and use it in
73217         sigevent.
73218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73220         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73221         always remove CLK_TCK definition.
73223 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73225         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73227 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73229         * conform/run-conformtest.sh: New file.
73230         * conform/Makefile: Run run-conformtest for tests.
73231         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73232         support.
73234         * conform/data/uchar.h-data: New file.
73235         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73236         * conform/data/arpa/inet.h-data: Likewise.
73237         * conform/data/assert.h-data: Likewise.
73238         * conform/data/complex.h-data: Likewise.
73239         * conform/data/cpio.h-data: Likewise.
73240         * conform/data/ctype.h-data: Likewise.
73241         * conform/data/dirent.h-data: Likewise.
73242         * conform/data/dlfcn.h-data: Likewise.
73243         * conform/data/errno.h-data: Likewise.
73244         * conform/data/fcntl.h-data: Likewise.
73245         * conform/data/float.h-data: Likewise.
73246         * conform/data/fmtmsg.h-data: Likewise.
73247         * conform/data/fnmatch.h-data: Likewise.
73248         * conform/data/ftw.h-data: Likewise.
73249         * conform/data/glob.h-data: Likewise.
73250         * conform/data/grp.h-data: Likewise.
73251         * conform/data/iconv.h-data: Likewise.
73252         * conform/data/inttypes.h-data: Likewise.
73253         * conform/data/langinfo.h-data: Likewise.
73254         * conform/data/libgen.h-data: Likewise.
73255         * conform/data/limits.h-data: Likewise.
73256         * conform/data/locale.h-data: Likewise.
73257         * conform/data/math.h-data: Likewise.
73258         * conform/data/monetary.h-data: Likewise.
73259         * conform/data/mqueue.h-data: Likewise.
73260         * conform/data/ndbm.h-data: Likewise.
73261         * conform/data/net/if.h-data: Likewise.
73262         * conform/data/netdb.h-data: Likewise.
73263         * conform/data/netinet/in.h-data: Likewise.
73264         * conform/data/nl_types.h-data: Likewise.
73265         * conform/data/poll.h-data: Likewise.
73266         * conform/data/pthread.h-data: Likewise.
73267         * conform/data/pwd.h-data: Likewise.
73268         * conform/data/regex.h-data: Likewise.
73269         * conform/data/sched.h-data: Likewise.
73270         * conform/data/search.h-data: Likewise.
73271         * conform/data/semaphore.h-data: Likewise.
73272         * conform/data/setjmp.h-data: Likewise.
73273         * conform/data/signal.h-data: Likewise.
73274         * conform/data/spawn.h-data: Likewise.
73275         * conform/data/stdarg.h-data: Likewise.
73276         * conform/data/stdio.h-data: Likewise.
73277         * conform/data/stdlib.h-data: Likewise.
73278         * conform/data/string.h-data: Likewise.
73279         * conform/data/strings.h-data: Likewise.
73280         * conform/data/stropts.h-data: Likewise.
73281         * conform/data/sys/ipc.h-data: Likewise.
73282         * conform/data/sys/mman.h-data: Likewise.
73283         * conform/data/sys/msg.h-data: Likewise.
73284         * conform/data/sys/resource.h-data: Likewise.
73285         * conform/data/sys/select.h-data: Likewise.
73286         * conform/data/sys/sem.h-data: Likewise.
73287         * conform/data/sys/shm.h-data: Likewise.
73288         * conform/data/sys/socket.h-data: Likewise.
73289         * conform/data/sys/stat.h-data: Likewise.
73290         * conform/data/sys/statvfs.h-data: Likewise.
73291         * conform/data/sys/time.h-data: Likewise.
73292         * conform/data/sys/timeb.h-data: Likewise.
73293         * conform/data/sys/times.h-data: Likewise.
73294         * conform/data/sys/types.h-data: Likewise.
73295         * conform/data/sys/uio.h-data: Likewise.
73296         * conform/data/sys/un.h-data: Likewise.
73297         * conform/data/sys/utsname.h-data: Likewise.
73298         * conform/data/sys/wait.h-data: Likewise.
73299         * conform/data/syslog.h-data: Likewise.
73300         * conform/data/tar.h-data: Likewise.
73301         * conform/data/termios.h-data: Likewise.
73302         * conform/data/utime.h-data: Likewise.
73303         * conform/data/utmpx.h-data: Likewise.
73304         * conform/data/varargs.h-data: Likewise.
73305         * conform/data/wchar.h-data: Likewise.
73306         * conform/data/wctype.h-data: Likewise.
73307         * conform/data/wordexp.h-data: Likewise.
73309         * include/stropts.h: New file.
73310         * include/uchar.h: New file.
73311         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73312         * include/assert.h: Likewise.
73313         * include/ctype.h: Likewise.
73314         * include/dirent.h: Likewise.
73315         * include/dlfcn.h: Likewise.
73316         * include/fcntl.h: Likewise.
73317         * include/fnmatch.h: Likewise.
73318         * include/glob.h: Likewise.
73319         * include/grp.h: Likewise.
73320         * include/libio.h: Likewise.
73321         * include/locale.h: Likewise.
73322         * include/math.h: Likewise.
73323         * include/net/if.h: Likewise.
73324         * include/netdb.h: Likewise.
73325         * include/netinet/in.h: Likewise.
73326         * include/pthread.h: Likewise.
73327         * include/pwd.h: Likewise.
73328         * include/regex.h: Likewise.
73329         * include/sched.h: Likewise.
73330         * include/search.h: Likewise.
73331         * include/setjmp.h: Likewise.
73332         * include/signal.h: Likewise.
73333         * include/stdio.h: Likewise.
73334         * include/stdlib.h: Likewise.
73335         * include/string.h: Likewise.
73336         * include/sys/cdefs.h: Likewise.
73337         * include/sys/mman.h: Likewise.
73338         * include/sys/msg.h: Likewise.
73339         * include/sys/resource.h: Likewise.
73340         * include/sys/select.h: Likewise.
73341         * include/sys/socket.h: Likewise.
73342         * include/sys/stat.h: Likewise.
73343         * include/sys/statvfs.h: Likewise.
73344         * include/sys/time.h: Likewise.
73345         * include/sys/times.h: Likewise.
73346         * include/sys/uio.h: Likewise.
73347         * include/sys/utsname.h: Likewise.
73348         * include/sys/wait.h: Likewise.
73349         * include/termios.h: Likewise.
73350         * include/time.h: Likewise.
73351         * include/ulimit.h: Likewise.
73352         * include/unistd.h: Likewise.
73353         * include/utime.h: Likewise.
73354         * include/wchar.h: Likewise.
73355         * include/wctype.h: Likewise.
73356         * include/wordexp.h: Likewise.
73358         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73360         * time/time.h: TIME_UTC must be a macro.
73361         Make timespec_get available for ISO C11 only as well.
73363 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73365         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73366         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73368 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73370         * configure.in: Use -o not -a in test for unsupported multi-arch.
73372 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73374         * manual/texinfo.tex: Update to version 2012-01-19.16.
73376 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73378         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73380 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73382         [BZ #13738]
73383         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73384         * manual/fdl-1.3.texi: New file.
73385         * manual/fdl-1.1.texi: File removed.
73387         [BZ #13738]
73388         * manual/libc.texinfo (FDL_VERSION): New @set.
73389         Use it for mention of FDL in cover text.
73390         (Documentation License): Use it in @include file name.
73392 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73393             Roland McGrath  <roland@hack.frob.com>
73395         [BZ #5461]
73396         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73397         (not LONG_LONG_MAX and LONG_LONG_MIN.
73398         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73399         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73400         name.
73401         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73403 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73405         [BZ #2547]
73406         [BZ #11365]
73407         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73408         manipulate bits before adding and subtracting TWO23[sx].
73409         * math/libm-test.inc (nearbyint_test): Add more tests.
73411 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73413         [BZ #2548]
73414         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73415         bits before adding and subtracting TWO23[sx].
73416         * math/libm-test.inc (rint_test): Add more tests.
73417         (rint_test_tonearest): Likewise.
73418         (rint_test_towardzero): Likewise.
73419         (rint_test_downward): Likewise.
73420         (rint_test_upward: Likewise.
73422 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73424         [BZ #10110]
73425         * include/stdc-predef.h: New file.  Extracted from features.h.
73426         * include/features.h: Include stdc-predef.h.
73427         * Makefile (headers): Add stdc-predef.h.
73428         * CONFORMANCE (Compiler limitations): Update.
73430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73432         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73434 2012-02-21  David S. Miller  <davem@davemloft.net>
73436         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73437         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73439 2012-02-20  David S. Miller  <davem@davemloft.net>
73441         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73442         using a normal save/restore sequence, rather than allocating a
73443         dummy stack frame just to store a frame pointer and restore.
73444         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73446 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73448         * manual/install.texi: Fix stray word in line-wrapped comment.
73450 2012-02-20  David S. Miller  <davem@davemloft.net>
73452         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73453         both binutils and gcc support GOTDATA.
73455         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73456         "rd %pc" in the PIC register setup sequences.
73458         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73459         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73460         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73461         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73462         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73464         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73465         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73467         (SYSCALL_ERROR_HANDLER): Likewise.
73468         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73469         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73471         (SYSCALL_ERROR_HANDLER): Likewise.
73473         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73474         (HAVE_GCC_GOTDATA): New.
73475         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73476         relocation support in both binutils and gcc.
73477         * sysdeps/sparc/elf/configure: Regenerate.
73479         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73480         * sysdeps/sparc/sparc32/elf/configure: Delete.
73481         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73482         * sysdeps/sparc/sparc64/elf/configure: Delete.
73483         * sysdeps/sparc/elf/configure.in: New file.
73484         * sysdeps/sparc/elf/configure: Generate.
73486         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73487         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73488         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73489         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73490         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73492 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73494         * manual/install.texi: Do not mention specific glibc version
73495         numbers.
73496         * manual/libc.texinfo (VERSION, UPDATED): Update.
73497         (@copying): Use @copyright{} and range of years.
73499 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73501         [BZ #13695]
73502         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73503         [crti.S not in sysdirs] (generated): Do not append.
73504         [crti.S not in sysdirs] (omit-deps): Likewise.
73505         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73506         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73507         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73508         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73509         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73510         Likewise.
73511         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73512         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73513         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73514         * csu/defs.awk: Remove file.
73515         * sysdeps/generic/initfini.c: Likewise.
73516         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73517         variable.
73518         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73519         Likewise.
73521 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73523         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73524         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73525         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73526         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73528         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73529         <bits/epoll.h>.
73530         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73531         (__EPOLL_PACKED): Define to empty if not defined by
73532         <bits/epoll.h>.
73533         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73534         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73535         bits/epoll.h.
73537 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73539         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73540         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73541         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73542         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73543         <bits/timerfd.h>.
73544         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73546         bits/timerfd.h.
73548 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73550         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73551         in C locale.
73552         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73553         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73554         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73557 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73559         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73560         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73562 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73564         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73565         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73566         defined.
73567         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73568         Likewise.
73569         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73570         entry for 2.16.
73572 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73574         * math/w_acos.c: Use non-signaling floating-point comparisons.
73575         * math/w_acosf.c: Likewise.
73576         * math/w_acosh.c: Likewise.
73577         * math/w_acoshf.c: Likewise.
73578         * math/w_acoshl.c: Likewise.
73579         * math/w_acosl.c: Likewise.
73580         * math/w_asin.c: Likewise.
73581         * math/w_asinf.c: Likewise.
73582         * math/w_asinl.c: Likewise.
73583         * math/w_atanh.c: Likewise.
73584         * math/w_atanhf.c: Likewise.
73585         * math/w_atanhl.c: Likewise.
73586         * math/w_exp2.c: Likewise.
73587         * math/w_exp2f.c: Likewise.
73588         * math/w_exp2l.c: Likewise.
73589         * math/w_j0.c: Likewise.
73590         * math/w_j0f.c: Likewise.
73591         * math/w_j0l.c: Likewise.
73592         * math/w_j1.c: Likewise.
73593         * math/w_j1f.c: Likewise.
73594         * math/w_j1l.c: Likewise.
73595         * math/w_jn.c: Likewise.
73596         * math/w_jnf.c: Likewise.
73597         * math/w_log.c: Likewise.
73598         * math/w_log10.c: Likewise.
73599         * math/w_log10f.c: Likewise.
73600         * math/w_log10l.c: Likewise.
73601         * math/w_log2.c: Likewise.
73602         * math/w_log2f.c: Likewise.
73603         * math/w_log2l.c: Likewise.
73604         * math/w_logf.c: Likewise.
73605         * math/w_logl.c: Likewise.
73606         * math/w_sqrt.c: Likewise.
73607         * math/w_sqrtf.c: Likewise.
73608         * math/w_sqrtl.c: Likewise.
73609         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73610         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73611         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73612         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73613         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73615 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73617         [BZ #9739]
73618         * manual/string.texi (strnlen): Use correct parameter name in
73619         equivalent expression.
73621 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73623         [BZ #11174]
73624         * manual/users.texi (seteuid): Consistently use neweuid for
73625         argument name.
73627 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73629         [BZ #13704]
73630         * manual/nss.texi (Services in the NSS configuration): Correct
73631         list of services in example configuration file.
73633 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73635         [BZ #11322]
73636         * manual/arith.texi: Remove statements about negative zero
73637         behaving identically to zero.
73639 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73641         [BZ #5993]
73642         * manual/install.texi: Do not document upgrading from libc5.
73644 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73646         [BZ #4596]
73647         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73649 2012-02-18  David S. Miller  <davem@davemloft.net>
73651         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73652         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73653         %o7 across the call.
73654         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73655         instead.
73656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73657         SETUP_PIC_REG_LEAF.
73658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73659         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73660         * sysdeps/sparc/crtn.S: Likewise.
73662 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73664         * aout/Makefile: Remove.
73666 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73668         [BZ #13058]
73669         * manual/examples/argp-ex1.c (main): Format definition in GNU
73670         style.
73671         * manual/examples/argp-ex2.c (main): Likewise.
73672         * manual/examples/argp-ex3.c (main): Likewise.
73673         * manual/examples/argp-ex4.c (main): Likewise.
73674         * manual/examples/longopt.c (main): Use new-style prototype
73675         definition.
73676         * manual/examples/strncat.c (main): Specify return type and use
73677         (void) for arguments.
73678         * manual/examples/subopt.c (main): Use char **argv argument.
73680 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73682         [BZ #5077]
73683         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73684         rounding modes.
73686 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73688         [BZ #6907]
73689         * manual/string.texi (strchr): Change when strchrnul is
73690         recommended.
73692 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73694         [BZ #174]
73695         * manual/locale.texi (setlocale): Document LOCPATH.
73697 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73699         [BZ #10210]
73700         * manual/process.texi (execle): Move @dots{} before last argument.
73702 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73704         [BZ #12047]
73705         * manual/charset.texi (Generic Charset Conversion): Fix typo
73706         (LC_TYPE -> LC_CTYPE).
73708 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73710         [BZ #5805]
73711         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73712         (scalbnf): Likewise.
73713         (scalbnl): Likewise.
73714         (scalbln): Likewise.
73715         (scalblnf): Likewise.
73716         (scalblnl): Likewise.
73717         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73718         (vwarnx): Likewise.
73719         (verr): Likewise.
73720         (verrx): Likewise.
73721         * manual/filesys.texi (telldir): Use braces around return type.
73722         * manual/llio.texi (mmap): Add space after comma.
73723         (mmap64): Likewise.
73724         * manual/math.texi (jn): Use @var{} on parameter names.
73725         (jnf): Likewise.
73726         (jnl): Likewise.
73727         (yn): Likewise.
73728         (ynf): Likewise.
73729         (ynl): Likewise.
73730         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73731         line.
73732         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73733         "...".
73734         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73735         (sched_get_priority_max): Likewise.
73736         * manual/signal.texi (sigvec): Add space after comma.
73737         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73738         names.
73739         (if_indextoname): Likewise.
73740         (if_freenameindex): Likewise.
73741         (sendto): Use ',' instead of '.' in prototype.
73742         * manual/startup.texi (syscall): Use @dots{} instead of literal
73743         "...".
73744         * manual/stdio.texi (__fpending): Separate initial words of
73745         paragraph from @deftypefun line.
73746         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73747         "...".
73748         (vsyslog): Use @var{} on parameter names.
73749         * manual/terminal.texi (stty): Use @var{} on parameter names.
73750         * manual/users.texi (getutmp): Use @var{} on parameter names.
73751         (getutmpx): Likewise.
73753 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73755         [BZ #6884]
73756         * manual/stdio.texi (fopen): Fix typos in description of
73757         ",ccs=STRING".
73759 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73761         [BZ #4026]
73762         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73763         get clock_id definition.
73765 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73767         [BZ #4822]
73768         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73769         (madvise): Cast every argument to void on its own.
73771 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73773         [BZ #9902]
73774         * manual/startup.texi (Exit Status): Fix typo.
73776 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73778         [BZ #10140]
73779         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73780         * manual/examples/argp-ex2.c: Likewise.
73781         * manual/examples/argp-ex3.c: Likewise.
73783 2012-02-16  Richard Henderson  <rth@redhat.com>
73785         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73786         * sysdeps/s390/s390-32/initfini.c: Remove.
73787         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73788         * sysdeps/s390/s390-64/initfini.c: Remove.
73790 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73792         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73793         compiler output for sysdeps/generic/initfini.c.
73794         * sysdeps/sh/elf/initfini.c: Remove file.
73796 2012-02-16  David S. Miller  <davem@davemloft.net>
73798         [BZ #11494]
73799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73801         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73802         * sysdeps/sparc/crti.S: New file.
73803         * sysdeps/sparc/crtn.S: New file.
73804         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73805         * sysdeps/sparc/sparc64/Makefile: Likewise.
73807 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73809         [BZ #3335]
73810         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73812 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73814         [BZ #4822]
73815         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73817         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73818         (write, read, close): Likewise.
73819         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73821 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73823         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73824         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73825         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73826         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73827         <bits/signalfd.h>.
73828         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73830         bits/signalfd.h.
73832 2012-02-14  Marek Polacek  <polacek@redhat.com>
73834         * sysdeps/x86_64/crti.S: New file.
73835         * sysdeps/x86_64/crtn.S: New file.
73836         * sysdeps/x86_64/elf/initfini.c: Remove file.
73838 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73840         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73841         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73842         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73843         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73844         <bits/inotify.h>.
73845         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73847         bits/inotify.h.
73849 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73851         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73852         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73853         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73854         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73855         <bits/eventfd.h>.
73856         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73858         bits/eventfd.h.
73860 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73862         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73863         __feraiseexcept instead of feraiseexcept.
73865         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73866         nanosleep invocations.
73867         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73868         strings, and add error checking for a nanosleep invocations.
73870 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73872         Replace FSF snail mail address with URLs, as per GNU coding standards.
73873         Most of the snail mail addresses were wrong anyway, and omitting
73874         them makes the source code easier to maintain.  Almost all of the
73875         changes are to license notices and to locale LC_IDENTIFICATION
73876         addresses, except for this one:
73877         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73878         not its snail mail address.
73880 2012-02-09  Richard Henderson  <rth@twiddle.net>
73882         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73883         of kernel-features.h.
73885         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73887 2012-02-08  Marek Polacek  <polacek@redhat.com>
73889         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73890         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73891         * sysdeps/gnu/_G_config.h: Likewise.
73892         * sysdeps/generic/_G_config.h: Likewise.
73894 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73896         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73897         tests.
73898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73900         * sysdeps/powerpc/powerpc32/crti.S: New file.
73901         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73902         * sysdeps/powerpc/powerpc64/crti.S: New file.
73903         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73905         * Makeconfig (have-initfini): Don't set.
73906         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73907         * configure.in (nopic_initfini): Don't substitute.
73908         * config.h.in (HAVE_INITFINI): Don't #undef.
73909         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73910         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73912 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73914         Support crti.S and crtn.S provided directly by architectures.
73915         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73916         [crti.S in sysdirs] (omit-deps): Likewise.
73917         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73918         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73919         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73920         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73921         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73922         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73923         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73924         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73925         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73926         compiler output for sysdeps/generic/initfini.c.
73927         * sysdeps/i386/elf/Makefile: Remove file.
73928         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73930 2012-02-07  Marek Polacek  <polacek@redhat.com>
73932         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73933         * sysdeps/gnu/_G_config.h: Likewise.
73934         * sysdeps/mach/hurd/_G_config.h: Likewise.
73936 2012-02-07  Marek Polacek  <polacek@redhat.com>
73938         * math/Makefile (tests): Add tst-CMPLX2.
73939         * math/tst-CMPLX2.c: New file.
73941 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73943         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73945         * math/libm-test.inc (jn_test): Add missing L suffix.
73947 2012-02-06  Marek Polacek  <polacek@redhat.com>
73949         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73950         * sysdeps/i386/fpu/e_powf.S: Likewise.
73951         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73952         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73953         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73954         * sysdeps/i386/fpu/e_pow.S: Likewise.
73955         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73956         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73957         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73958         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73959         * sysdeps/i386/fpu/e_log2.S: Likewise.
73960         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73961         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73962         * sysdeps/i386/fpu/e_powl.S: Likewise.
73963         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73964         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73965         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73966         * sysdeps/i386/fpu/e_logl.S: Likewise.
73967         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73968         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73969         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73970         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73971         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73972         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73973         * sysdeps/i386/fpu/e_log.S: Likewise.
73974         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73975         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73976         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73977         * sysdeps/i386/fpu/e_logf.S: Likewise.
73978         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73979         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73980         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73981         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73982         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73983         * sysdeps/i386/fpu/e_log10.S: Likewise.
73984         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73985         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73986         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73987         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73988         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73989         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73990         * sysdeps/i386/asm-syntax.h: Likewise.
73991         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73992         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73993         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73994         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73995         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73996         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73997         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73998         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73999         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74000         * sysdeps/powerpc/sysdep.h: Likewise.
74001         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74002         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74004 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74006         [BZ #411]
74007         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74009 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74011         * sysdeps/i386/sysdep.h: Include <features.h>.
74012         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74013         version.
74015 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74017         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74018         Define.
74019         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74020         LOAD_PIC_REG_STR.
74022 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74024         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74025         (SETUP_PIC_REG): Use GET_PC_THUNK.
74026         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74027         macro.
74029 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74031         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74032         for non-PIC compilation.
74033         (SETUP_PIC_REG): Add .p2align directive.
74034         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74035         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74036         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74037         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74038         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74039         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74040         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74041         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74042         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74043         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74044         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74045         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74046         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74047         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74048         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74049         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74050         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74051         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74052         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74053         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74054         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74062         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74063         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74064         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74065         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74066         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74067         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74068         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74069         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74070         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74071         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74072         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74073         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74074         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74078         * math/tst-CMPLX.c: Include <stdio.h>.
74080 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74082         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74083         float.
74084         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74085         * sysdeps/sparc/bits/mathdef.h: Likewise.
74087 2012-01-31  Marek Polacek  <polacek@redhat.com>
74089         * libio/libio.h: Don't define _PARAMS.
74090         * locale/programs/config.h: Don't define PARAMS.
74091         * stdlib/strtol_l.c: Likewise.
74092         (__strtol_l): Remove PARAMS from the prototype.
74094 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74096         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74097         names.  Just use the correct names.  Remove unnecessary wrapper
74098         functions.
74099         * malloc/arena.c: Likewise.
74100         * malloc/hooks.c: Likewise.
74102         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74103         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74104         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74106 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74108         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74109         into tail calls.
74110         (update_get_addr): New function.
74111         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74112         GET_ADDR_MODULE parameter.
74114 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74116         * crypt/cert.c: Remove __STDC__ conditionals.
74117         * crypt/crypt-entry.c: Likewise.
74118         * crypt/crypt_util.c: Likewise.
74119         * libio/filedoalloc.c: Likewise.
74120         * libio/fileops.c: Likewise.
74121         * libio/genops.c: Likewise.
74122         * libio/iofclose.c: Likewise.
74123         * libio/iofdopen.c: Likewise.
74124         * libio/iofopen.c: Likewise.
74125         * libio/iofopen64.c: Likewise.
74126         * libio/iogetdelim.c: Likewise.
74127         * libio/iopopen.c: Likewise.
74128         * libio/obprintf.c: Likewise.
74129         * libio/oldfileops.c: Likewise.
74130         * libio/oldiofclose.c: Likewise.
74131         * libio/oldiofdopen.c: Likewise.
74132         * libio/oldiofopen.c: Likewise.
74133         * libio/oldiopopen.c: Likewise.
74134         * libio/wfiledoalloc.c: Likewise.
74135         * libio/wgenops.c: Likewise.
74136         * locale/programs/xmalloc.c: Likewise.
74137         * misc/syslog.c: Likewise.
74138         * stdio-common/xbug.c: Likewise.
74139         * string/memchr.c: Likewise.
74140         * string/memcmp.c: Likewise.
74141         * string/memrchr.c: Likewise.
74142         * string/rawmemchr.c: Likewise.
74143         * sysdeps/posix/getcwd.c: Likewise.
74144         * time/strftime_l.c: Likewise.
74146 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74148         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74149         * config.make.in (config-cflags-sse2avx): Define.
74150         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74151         Fix typo.
74153 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74155         * scripts/config.guess: Update from upstream config git repository.
74156         * scripts/config.sub: Likewise.
74158 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74160         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74161         (EM_NUM): Update.
74162         (R_TILEPRO_*, R_TILEGX_*): New macros.
74164         * scripts/firstversions.awk: Fix bug in version range handling.
74166         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74168         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74170         * include/sys/epoll.h: New file.
74171         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74172         libc_hidden_def.
74174 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74176         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74177         Avoid unnecessary __WORDSIZE == 64 test.
74178         (fmaxf): Use VEX format if possible.
74179         (fmax): Likewise.
74180         (fminf): Likewise.
74181         (fmin): Likewise.
74183         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74184         * math/math_private.h: Remove libc_fegetround* and
74185         libc_fesetround*.
74186         * sysdeps/i386/configure.in: Check for -msse2avx.
74187         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74188         also if SSE2AVX is defined.
74189         Remove libc_fegetround* and libc_fesetround*.
74190         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74191         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74193         of HAS_YMM_USABLE.
74194         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74195         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74196         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74197         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74200         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74202 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74204         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74205         size is not set.
74206         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74208 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74210         [BZ #13618]
74211         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74212         relocation.
74213         * Makeconfig (libm): Define.
74214         * elf/Makefile: Add rules to build and run tst-relsort1.
74215         * elf/tst-relsort1.c: New file.
74216         * elf/tst-relsort1mod1.c: New file.
74217         * elf/tst-relsort1mod2.c: New file.
74219 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74221         * math/s_ldexp.c: Remove __STDC__ conditionals.
74222         * math/s_ldexpf.c: Likewise.
74223         * math/s_ldexpl.c: Likewise.
74224         * math/s_nextafter.c: Likewise.
74225         * math/s_nexttowardf.c: Likewise.
74226         * math/s_significand.c: Likewise.
74227         * math/s_significandf.c: Likewise.
74228         * math/s_significandl.c: Likewise.
74229         * math/w_jnl.c: Likewise.
74230         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74231         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74232         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74233         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74234         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74235         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74236         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74237         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74238         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74239         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74240         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74241         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74242         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74243         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74244         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74245         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74246         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74247         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74249         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74250         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74251         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74252         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74253         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74254         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74255         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74256         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74257         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74258         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74259         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74260         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74261         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74262         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74263         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74264         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74265         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74266         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74267         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74268         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74269         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74270         * sysdeps/ieee754/k_standard.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74282         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74283         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74284         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74285         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74290         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74291         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74292         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74293         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74295         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74296         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74298         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74300         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74302         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74303         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74304         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74306         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74307         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74310         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74311         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74314         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74316         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74317         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74319         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74320         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74321         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74322         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74324         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74326         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74327         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74329         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74330         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74331         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74332         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74333         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74335         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74336         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74337         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74338         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74339         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74340         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74341         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74343         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74344         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74345         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74346         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74347         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74348         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74349         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74350         * sysdeps/ieee754/s_matherr.c: Likewise.
74351         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74356 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74358         * crypt/md5.h: Remove __STDC__ conditionals.
74359         * libio/libioP.h: Likewise.
74360         * locale/programs/config.h: Likewise.
74361         * sysdeps/generic/sysdep.h: Likewise.
74362         * sysdeps/i386/asm-syntax.h: Likewise.
74363         * sysdeps/s390/asm-syntax.h: Likewise.
74364         * sysdeps/unix/sysdep.h: Likewise.
74365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74368 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74370         * libio/libio.h: Remove __STDC__ conditionals.
74371         * malloc/obstack.h: Likewise.
74372         * math/complex.h: Likewise.
74373         * math/math.h: Likewise.
74374         * sysdeps/generic/_G_config.h: Likewise.
74375         * sysdeps/gnu/_G_config.h: Likewise.
74376         * sysdeps/mach/hurd/_G_config.h: Likewise.
74377         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74378         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74379         * sysdeps/sparc/bits/mathdef.h: Likewise.
74381 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74383         [BZ #13583]
74384         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74385         Clean up HAS_* macros.
74386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74387         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74388         possible.
74389         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74390         HAS_AVX.
74391         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74392         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74393         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74394         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74395         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74397 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74399         * elf/tst-unique3.cc (gets): Remove declaration.
74400         * elf/tst-unique3lib.cc (gets): Likewise.
74401         * elf/tst-unique3lib2.cc (gets): Likewise.
74402         * elf/tst-unique4.cc (gets): Likewise.
74404 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74406         * include/stdio.h: Add C++ protection.  Add gets declarations and
74407         definitions.
74408         * debug/tst-chk1.c: Don't declare gets here.
74409         * stdio-common/tst-gets.c: Likewise.
74411 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74413         * posix/glob: Remove directory.
74415 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74417         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74419 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74421         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74422         of the non-standard EPFNOSUPPORT.
74424 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74426         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74427         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74428         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74430 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74432         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74434 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74436         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74437         transient errors.
74438         * nscd/grpcache.c (cache_addgr): Likewise.
74439         * nscd/hstcache.c (cache_addhst): Likewise.
74440         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74441         * nscd/pwdcache.c (cache_addpw): Likewise.
74442         * nscd/servicescache.c (cache_addserv): Likewise.
74444 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74446         * malloc/malloc.c: Various cleanups.
74447         * malloc/hooks.c: Likewise.
74449         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74450         * stdlib/bug-fmtmsg1.c: New file.
74452         * stdlib/fmtmsg.c (init): Add missing unlock.
74453         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74455 2012-01-12  Marek Polacek  <polacek@redhat.com>
74457         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74458         and _GNU_SOURCE.
74460 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74462         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74463         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74464         macro to ensure uniqueness of label name.
74465         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74466         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74468 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74470         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74472         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74473         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74477 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74479         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74481         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74482         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74483         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74485         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74487         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74488         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74489         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74492         * math/bits/math-finite.h: Add ldexp support.
74494 2012-01-10  Marek Polacek  <polacek@redhat.com>
74496         * locale/programs/localedef.h (show_archive_content): Add noreturn
74497         attribute.
74499 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74501         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74503 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74505         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74507         * io/Makefile (headers): Add bits/poll2.h.
74509 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74512         typo #include statement.
74514 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74516         * include/sys/cdefs.h: Define __attribute_alloc_size.
74517         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74518         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74519         * elf/pldd.c: Likewise.
74520         * iconv/iconv_charmap.c: Likewise.
74521         * iconv/iconvconfig.c: Likewise.
74522         * iconv/strtab.c: Likewise.
74523         * locale/programs/locale.c: Likewise.
74524         * locale/programs/localedef.h: Likewise.
74525         * locale/programs/simple-hash.c: Likewise.
74526         * nscd/nscd.h: Likewise.
74527         * nss/makedb.c: Likewise.
74528         * sysdeps/generic/ldconfig.h: Likewise.
74529         * locale/programs/localedef.c: Remove xmalloc prototype.
74530         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74532 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74534         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74535         appropriate.
74537 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74539         * math/Makefile (tests): Add tst-CMPLX.
74540         * math/tst-CMPLX.c: New file.
74542         * math/complex.h (CMPLXL): Fix typo.
74544         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74545         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74546         GLIBC_2.16.
74547         * debug/tst-chk1.c: Add poll and ppoll tests.
74548         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74549         * include/sys/poll.h: Add hidden proto for ppoll.
74550         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74551         * sysdeps/mach/hurd/ppoll.c: Likewise.
74552         * io/ppoll.c: Likewise.
74553         * debug/poll_chk.c: New file.
74554         * debug/ppoll_chk.c: New file.
74555         * include/bits/poll2.h: New file.
74556         * io/bits/poll2.h: New file.
74558         [BZ #1350]
74559         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74561         * configure.in: static is always set to yes.  Remove.
74562         * config.make.in: Don't set build-static.
74563         * Makeconfig: Remove use of build-static.
74564         * dlfcn/Makefile: Likewise.
74565         * elf/Makefile: Likewise.
74566         * math/Makefile: Likewise.
74567         * misc/Makefile: Likewise.
74568         * nptl/Makefile: Likewise.
74569         * sysdeps/mach/hurd/Makefile: Likewise.
74571         * configure.in: PWD_P is not used anymore.
74572         * config.make.in: Remove PWD_P entry.
74574         * configure.in: Remove last remnants of RANLIB.
74575         No need to check for signed size_t anymore.
74576         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74577         and IA-64.
74578         Remove __builtin_expect test because we require at least gcc 3.4.
74579         * aclocal.m4: Likewise.
74581         * wcsmbs/mbrtoc16.c: Implement using towc function.
74582         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74583         * wcsmbs/wcsmbsload.c: Likewise.
74584         * iconv/gconv_simple.c: Likewise.
74585         * iconv/gconv_int.h: Likewise.
74586         * iconv/gconv_builtin.h: Likewise.
74587         * iconv/iconv_prog.c: Remove CHAR16 handling.
74589         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74591         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74593         * configure.in: Remove --with-elf and --enable-bounded options.
74594         Dont set base_machine for ia64.  More non-ELF conditions removed.
74595         Remove testing and setting of leading underscore information.
74596         * config.make.in (build-bounded): Set to no.
74597         * config.h.in: Remove NO_UNDERSCORES entry.
74598         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74599         them.
74600         * csu/start.c: Remove !NO_UNDERSCORE code.
74601         * locale/localeinfo.h: Likewise.
74602         * sysdeps/generic/machine-gmon.h: Likewise.
74603         * sysdeps/generic/sysdep.h: Likewise.
74604         * sysdeps/i386/sysdep.h: Likewise.
74605         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74606         * sysdeps/mach/sysdep.h: Likewise.
74607         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74608         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74609         * sysdeps/sh/sysdep.h: Likewise.
74610         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74611         * sysdeps/unix/i386/sysdep.S: Likewise.
74612         * sysdeps/unix/sparc/start.c: Likewise.
74613         * sysdeps/unix/sparc/sysdep.S: Likewise.
74614         * sysdeps/unix/sparc/sysdep.h: Likewise.
74615         * sysdeps/unix/start.c: Likewise.
74616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74617         * sysdeps/x86_64/sysdep.h: Likewise.
74619 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74621         [BZ #13553]
74622         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74623         for non-gcc.
74624         * argp/argp-fmtstream.h: Use const instead __const.
74625         * argp/argp.h: Likewise.
74626         * assert/assert.h: Likewise.
74627         * bits/fenv.h: Likewise.
74628         * bits/sched.h: Likewise.
74629         * bits/sigset.h: Likewise.
74630         * bits/sigthread.h: Likewise.
74631         * catgets/nl_types.h: Likewise.
74632         * conform/data/pthread.h-data: Likewise.
74633         * crypt/crypt-private.h: Likewise.
74634         * crypt/crypt.h: Likewise.
74635         * crypt/crypt_util.c: Likewise.
74636         * ctype/ctype.h: Likewise.
74637         * debug/execinfo.h: Likewise.
74638         * debug/mbsnrtowcs_chk.c: Likewise.
74639         * debug/mbsrtowcs_chk.c: Likewise.
74640         * debug/wcsnrtombs_chk.c: Likewise.
74641         * debug/wcsrtombs_chk.c: Likewise.
74642         * debug/wcstombs_chk.c: Likewise.
74643         * dirent/dirent.h: Likewise.
74644         * dlfcn/dlfcn.h: Likewise.
74645         * elf/neededtest4.c: Likewise.
74646         * grp/grp.h: Likewise.
74647         * gshadow/gshadow.h: Likewise.
74648         * iconv/gconv.h: Likewise.
74649         * iconv/gconv_int.h: Likewise.
74650         * iconv/gconv_simple.c: Likewise.
74651         * iconv/iconv.h: Likewise.
74652         * iconv/loop.c: Likewise.
74653         * iconv/skeleton.c: Likewise.
74654         * include/aio.h: Likewise.
74655         * include/aliases.h: Likewise.
74656         * include/argz.h: Likewise.
74657         * include/arpa/inet.h: Likewise.
74658         * include/assert.h: Likewise.
74659         * include/dirent.h: Likewise.
74660         * include/dlfcn.h: Likewise.
74661         * include/execinfo.h: Likewise.
74662         * include/fcntl.h: Likewise.
74663         * include/fenv.h: Likewise.
74664         * include/glob.h: Likewise.
74665         * include/grp.h: Likewise.
74666         * include/libintl.h: Likewise.
74667         * include/mntent.h: Likewise.
74668         * include/netdb.h: Likewise.
74669         * include/pwd.h: Likewise.
74670         * include/rpc/netdb.h: Likewise.
74671         * include/sched.h: Likewise.
74672         * include/search.h: Likewise.
74673         * include/shadow.h: Likewise.
74674         * include/signal.h: Likewise.
74675         * include/stdio.h: Likewise.
74676         * include/stdlib.h: Likewise.
74677         * include/string.h: Likewise.
74678         * include/sys/socket.h: Likewise.
74679         * include/sys/stat.h: Likewise.
74680         * include/sys/statfs.h: Likewise.
74681         * include/sys/statvfs.h: Likewise.
74682         * include/sys/syslog.h: Likewise.
74683         * include/sys/time.h: Likewise.
74684         * include/sys/uio.h: Likewise.
74685         * include/time.h: Likewise.
74686         * include/unistd.h: Likewise.
74687         * include/utmp.h: Likewise.
74688         * include/wchar.h: Likewise.
74689         * include/wctype.h: Likewise.
74690         * inet/aliases.h: Likewise.
74691         * inet/arpa/inet.h: Likewise.
74692         * inet/netinet/ether.h: Likewise.
74693         * inet/netinet/in.h: Likewise.
74694         * intl/libintl.h: Likewise.
74695         * io/bits/fcntl2.h: Likewise.
74696         * io/fcntl.h: Likewise.
74697         * io/ftw.h: Likewise.
74698         * io/sys/poll.h: Likewise.
74699         * io/sys/stat.h: Likewise.
74700         * io/sys/statfs.h: Likewise.
74701         * io/sys/statvfs.h: Likewise.
74702         * io/utime.h: Likewise.
74703         * libio/bits/stdio.h: Likewise.
74704         * libio/bits/stdio2.h: Likewise.
74705         * libio/libio.h: Likewise.
74706         * libio/libioP.h: Likewise.
74707         * libio/stdio.h: Likewise.
74708         * locale/lc-ctype.c: Likewise.
74709         * locale/locale.h: Likewise.
74710         * login/utmp.h: Likewise.
74711         * malloc/arena.c: Likewise.
74712         * malloc/malloc.c: Likewise.
74713         * malloc/malloc.h: Likewise.
74714         * malloc/mcheck.c: Likewise.
74715         * malloc/mtrace.c: Likewise.
74716         * math/bits/mathcalls.h: Likewise.
74717         * math/fenv.h: Likewise.
74718         * math/math_private.h: Likewise.
74719         * misc/bits/error.h: Likewise.
74720         * misc/bits/syslog.h: Likewise.
74721         * misc/err.h: Likewise.
74722         * misc/error.h: Likewise.
74723         * misc/fstab.h: Likewise.
74724         * misc/mntent.h: Likewise.
74725         * misc/regexp.h: Likewise.
74726         * misc/search.h: Likewise.
74727         * misc/sgtty.h: Likewise.
74728         * misc/sys/mman.h: Likewise.
74729         * misc/sys/syslog.h: Likewise.
74730         * misc/sys/uio.h: Likewise.
74731         * misc/sys/xattr.h: Likewise.
74732         * misc/ttyent.h: Likewise.
74733         * nis/rpcsvc/ypclnt.h: Likewise.
74734         * nss/nss.h: Likewise.
74735         * posix/bits/unistd.h: Likewise.
74736         * posix/fnmatch.h: Likewise.
74737         * posix/glob.h: Likewise.
74738         * posix/sched.h: Likewise.
74739         * posix/spawn.h: Likewise.
74740         * posix/sys/wait.h: Likewise.
74741         * posix/unistd.h: Likewise.
74742         * posix/wordexp.h: Likewise.
74743         * pwd/pwd.h: Likewise.
74744         * resolv/netdb.h: Likewise.
74745         * resource/sys/resource.h: Likewise.
74746         * rt/aio.h: Likewise.
74747         * rt/bits/mqueue2.h: Likewise.
74748         * rt/mqueue.h: Likewise.
74749         * shadow/shadow.h: Likewise.
74750         * signal/signal.h: Likewise.
74751         * socket/send.c: Likewise.
74752         * socket/sendto.c: Likewise.
74753         * socket/sys/socket.h: Likewise.
74754         * stdio-common/printf.h: Likewise.
74755         * stdlib/bits/stdlib.h: Likewise.
74756         * stdlib/fmtmsg.h: Likewise.
74757         * stdlib/monetary.h: Likewise.
74758         * stdlib/stdlib.h: Likewise.
74759         * stdlib/ucontext.h: Likewise.
74760         * streams/stropts.h: Likewise.
74761         * string/argz.h: Likewise.
74762         * string/bits/string2.h: Likewise.
74763         * string/string.h: Likewise.
74764         * string/strings.h: Likewise.
74765         * sunrpc/rpc/auth.h: Likewise.
74766         * sunrpc/rpc/auth_des.h: Likewise.
74767         * sunrpc/rpc/clnt.h: Likewise.
74768         * sunrpc/rpc/netdb.h: Likewise.
74769         * sunrpc/rpc/pmap_clnt.h: Likewise.
74770         * sunrpc/rpc/xdr.h: Likewise.
74771         * sysdeps/generic/inttypes.h: Likewise.
74772         * sysdeps/generic/net/if.h: Likewise.
74773         * sysdeps/generic/sys/swap.h: Likewise.
74774         * sysdeps/gnu/net/if.h: Likewise.
74775         * sysdeps/gnu/utmpx.h: Likewise.
74776         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74777         * sysdeps/i386/i486/bits/string.h: Likewise.
74778         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74779         * sysdeps/s390/bits/string.h: Likewise.
74780         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74781         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74782         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74783         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74784         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74785         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74786         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74787         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74788         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74789         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74790         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74791         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74792         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74793         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74794         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74795         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74796         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74798         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74799         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74801         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74802         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74803         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74804         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74805         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74806         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74807         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74808         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74809         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74810         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74811         * sysvipc/sys/ipc.h: Likewise.
74812         * sysvipc/sys/msg.h: Likewise.
74813         * sysvipc/sys/sem.h: Likewise.
74814         * sysvipc/sys/shm.h: Likewise.
74815         * termios/termios.h: Likewise.
74816         * time/sys/time.h: Likewise.
74817         * time/time.h: Likewise.
74818         * wcsmbs/bits/wchar2.h: Likewise.
74819         * wcsmbs/uchar.h: Likewise.
74820         * wcsmbs/wchar.h: Likewise.
74821         * wctype/wctype.h: Likewise.
74823         [BZ #13551]
74824         * Makeconfig: Remove all but ELF support including AIX support.
74825         * Makerules: Likewise.
74826         * config.h.in: Likewise.
74827         * config.make.in: Likewise.
74828         * configure: Likewise.
74829         * configure.in: Likewise.
74830         * csu/Makefile: Likewise.
74831         * csu/version.c: Likewise.
74832         * debug/Makefile: Likewise.
74833         * dlfcn/Makefile: Likewise.
74834         * elf/Makefile: Likewise.
74835         * extra-lib.mk: Likewise.
74836         * iconv/Makefile: Likewise.
74837         * include/libc-symbols.h: Likewise.
74838         * include/shlib-compat.h: Likewise.
74839         * resolv/Makefile: Likewise.
74840         * resolv/res_libc.c: Likewise.
74841         * rt/Makefile: Likewise.
74842         * sysdeps/i386/asm-syntax.h: Likewise.
74843         * sysdeps/i386/sysdep.h: Likewise.
74844         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74845         * sysdeps/mach/sysdep.h: Likewise.
74846         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74847         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74848         * sysdeps/s390/asm-syntax.h: Likewise.
74849         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74851         * sysdeps/sh/sysdep.h: Likewise.
74852         * sysdeps/unix/sparc/sysdep.h: Likewise.
74853         * sysdeps/wordsize-32/divdi3.c: Likewise.
74854         * sysdeps/x86_64/sysdep.h: Likewise.
74856         * argp/Versions: Remove _argp_unlock_xxx.
74858         [BZ #13559]
74859         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74860         * abilist/libBrokenLocale.abilist: Likewise.
74861         * abilist/libanl.abilist: Likewise.
74862         * abilist/libc.abilist: Likewise.
74863         * abilist/libcrypt.abilist: Likewise.
74864         * abilist/libdl.abilist: Likewise.
74865         * abilist/libm.abilist: Likewise.
74866         * abilist/libnsl.abilist: Likewise.
74867         * abilist/libpthread.abilist: Likewise.
74868         * abilist/libresolv.abilist: Likewise.
74869         * abilist/librt.abilist: Likewise.
74870         * abilist/libthread_db.abilist: Likewise.
74871         * abilist/libutil.abilist: Likewise.
74872         * abilist/libnss_db.abilist: New file.
74874         * scripts/abilist.awk: Add support for indirect functions.
74876         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74878         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74880         * shlib-versions: Remove entries for ports architectures.
74882         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74883         files in ports.
74884         * elf/stackguard-macros.h: Remove support for IA-64.
74885         * elf/tst-auditmod1.c: Likewise.
74886         * sysdeps/generic/ldsodefs.h: Likewise.
74888         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74889         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74890         configure files.
74892         [BZ #13552]
74893         * configure.in: Remove --enable-omitfp support.
74894         * FAQ.in: Adjust.
74895         * config.make.in: Likewise.
74896         * Makeconfig: Likewise.
74897         * manual/install.texi: Likewise.
74899         In case anyone cares, the IA-64 architecture could move to ports.
74900         * sysdeps/ia64/*: Removed.
74901         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74902         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74904         [BZ #13555]
74905         * configure.in: Remove entries for unsupported architectures.
74907         [BZ #13533]
74908         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74909         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74910         routines.
74911         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74912         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74913         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74914         fall back to using wcrtomb.
74915         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74916         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74917         renaming.
74918         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74919         * wcsmbs/tst-c16c32-1.c: New file.
74921         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74922         local variable.
74924         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74926         * elf/tst-unique3.cc: Add explicit declaration of gets.
74927         * elf/tst-unique3lib.cc: Likewise.
74928         * elf/tst-unique3lib2.cc: Likewise.
74929         * elf/tst-unique4.cc: Likewise.
74931         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74933 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74935         [BZ #13566]
74936         * assert/assert.h (static_assert): Don't define for C++.
74937         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74938         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74940 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74942         * iconv/loop.c (single loop): Fix assertion in storing of
74943         remaining bytes.
74945         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74947 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74949         * posix/getconf.c: Update copyright year.
74950         * nss/getent.c: Likewise.
74951         * nss/makedb.c: Likewise.
74952         * iconv/iconvconfig.c: Likewise.
74953         * iconv/iconv_prog.c: Likewise.
74954         * elf/ldconfig.c: Likewise.
74955         * elf/pldd.c: Likewise.
74956         * elf/sotruss.ksh: Likewise.
74957         * catgets/gencat.c: Likewise.
74958         * csu/version.c: Likewise.
74959         * elf/ldd.bash.in: Likewise.
74960         * elf/sprof.c (print_version): Likewise.
74961         * locale/programs/locale.c: Likewise.
74962         * locale/programs/localedef.c: Likewise.
74963         * login/programs/pt_chown.c: Likewise.
74964         * nscd/nscd.c (print_version): Likewise.
74965         * debug/xtrace.sh: Likewise.
74966         * malloc/memusage.sh: Likewise.
74967         * malloc/mtrace.pl: Likewise.
74968         * debug/catchsegv.sh: Likewise.
74970 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74972         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74973         pure attribute.
74975 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74977         [BZ #13533]
74978         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74979         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74980         transformations.
74981         * iconv/gconv_int.h: Likewise.
74982         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74983         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74984         from libc for GLIBC_2.16.
74985         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74986         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74987         * wcsmbs/uchar.h: Really define mbstate_t.
74988         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74989         * wcsmbs/c16rtomb.c: New file.
74990         * wcsmbs/mbrtoc16.c: New file.
74991         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74992         for C/POSIX locale.
74993         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74994         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74996         * wcsmbs/wchar.h: Add missing __restrict.
74998 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75000         [BZ #13532]
75001         * time/Makefile (routines): Add timespec_get.
75002         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75003         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75004         timespec for ISO C11.
75005         * time/timespec_get.c: New file.
75006         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75007         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75009         [BZ #13531]
75010         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75011         * stdlib/stdlib.h: Declare aligned_alloc.
75012         * Versions.def: Add GLIBC_2.16 for libc.
75013         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75015         [BZ 13527]
75016         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75017         ISO C11.
75019         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75020         code.
75022         [BZ #13528]
75023         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75025         [BZ #13529]
75026         * assert/assert.h (static_assert): Define.
75028         * version.h: Update for 2.16 development version.
75030         [BZ #13526]
75031         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75032         _ISOC11_SOURCE.
75034         * version.h (RELEASE): Bump for 2.15 release.
75035         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75037         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75038         Patch by Marek Polacek <mpolacek@redhat.com>.
75040         * bits/byteswap.h: Protect long long constants with __extension__.
75041         * sysdeps/i386/bits/byteswap.h: Likewise.
75042         * sysdeps/ia64/bits/byteswap.h: Likewise.
75043         * sysdeps/s390/bits/byteswap.h: Likewise.
75044         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75046 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75048         [BZ #13540]
75049         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75050         destination buffer.
75051         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75053 2011-12-23  Marek Polacek  <polacek@redhat.com>
75055         * elf/dl-addr.c (determine_info): Add inline keyword.
75056         * elf/tst-auditmod4b.c (check_avx): Likewise.
75057         * elf/tst-auditmod6b.c (check_avx): Likewise.
75058         * elf/tst-auditmod6c.c (check_avx): Likewise.
75059         * elf/tst-auditmod7b.c (check_avx): Likewise.
75061 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75063         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75064         !__SSE_MATH__.
75066 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75068         [BZ #13540]
75069         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75070         processing for last bytes.
75072 2011-08-06  Bruno Haible  <bruno@clisp.org>
75074         [BZ #13061]
75075         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75076         U+0385, not to U+1FEE.
75078         [BZ #13062]
75079         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75080         entry for U+00A5 U+0301.
75082 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75084         [BZ #13166]
75085         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75086         buffer for the output is too small.
75088         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75089         optimization.
75091         [BZ #13185]
75092         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75093         SSE flags if possible.
75095 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75097         [BZ #13540]
75098         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75099         processing for last bytes.
75101 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75103         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75104         (syscall-list-default-options, syscall-list-default-condition)
75105         (syscall-list-includes): Define.
75106         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75107         list of ABIs and options and #if conditions for each ABI.  Do not
75108         handle common syscalls between ABIs specially.
75109         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75110         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/s390/Makefile (64bit-predefine): Remove.
75115         (syscall-list-variants, syscall-list-32bit-options)
75116         (syscall-list-32bit-condition, syscall-list-64bit-options)
75117         (syscall-list-64bit-condition): Define.
75118         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75119         Remove.
75120         (syscall-list-variants, syscall-list-32bit-options)
75121         (syscall-list-32bit-condition, syscall-list-64bit-options)
75122         (syscall-list-64bit-condition): Define.
75123         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75124         Remove.
75125         (syscall-list-variants, syscall-list-32bit-options)
75126         (syscall-list-32bit-condition, syscall-list-64bit-options)
75127         (syscall-list-64bit-condition): Define.
75129 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75131         * locale/iso-639.def: Add brx entry.
75133         [BZ #13328]
75134         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75135         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75137         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75138         __feraiseexcept_renamed.
75140 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75142         [BZ #13538]
75143         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75144         EPOLLET with unsigned values.
75145         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75146         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75148         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75149         to large cancellation.
75150         * math/s_cacoshf.c: Likewise.
75151         * math/s_cacoshl.c: Likewise.
75153 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75155         [BZ #13305]
75156         [BZ #12786]
75157         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75158         * math/s_cacoshf.c: Likewise.
75159         * math/s_cacoshl.c: Likewise.
75161 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75163         [BZ #13439]
75164         * iconv/gconv.h: Define __GCONV_SWAP.
75165         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75166         * iconvdata/utf-16.c: Likewise.
75167         * iconvdata/utf-32.c: Likewise.
75169 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75171         [BZ #13524]
75172         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75173         numerator after shifting it by one limb.
75175 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75177         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75178         under [__USE_EXTERN_INLINES].
75180 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75182         [BZ #13446]
75183         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75185 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75187         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75188         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75189         optimized code.
75190         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75191         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75192         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75193         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75194         for strncasecmp/strncasecmp_l compilation.
75195         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75196         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75198 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75200         [BZ #13484]
75201         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75202         of __asm__.
75204 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75206         [BZ #13506]
75207         * time/tzfile.c (__tzfile_read): Check values from file header.
75209 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75211         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75212         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75213         * powerpc/powerpc32/dl-start.S: Likewise.
75214         * powerpc/powerpc32/elf/start.S: Likewise.
75215         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75216         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75217         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75218         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75219         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75220         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75221         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75222         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75223         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75224         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75225         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75226         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75227         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75228         * powerpc/powerpc32/memset.S: Likewise.
75229         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75230         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75231         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75232         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75233         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75234         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75235         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75236         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75237         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75238         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75239         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75240         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75241         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75243 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75245         * math/libm-test.inc: Added more nearbyint tests.
75246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75247         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75248         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75249         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75251 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75253         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75254         FD_CLOEXEC.
75256 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75258         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75259         Add wcscpy-ssse3 wcscpy-c.
75260         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75261         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75262         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75263         * sysdeps/x86_64/wcschr.S: New file.
75264         * sysdeps/x86_64/wcsrchr.S: New file.
75265         * string/test-strcmp.c: Remove checking of wcscmp function for
75266         wrong alignments.
75267         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75268         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75269         wcsrchr-sse2 wcsrchr-c.
75270         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75271         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75272         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75273         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75274         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75275         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75276         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75277         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75278         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75279         * wcsmbc/wcschr.c (WCSCHR): New macro.
75281 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75283         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75284         * wcsmbs/test-wcsrchr.c: New file.
75285         * string/test-strrchr.c: Add wcsrchr support.
75286         (WIDE): New macro.
75287         * wcsmbs/test-wcscpy.c: New file.
75288         * string/test-strcpy.c: Add wcscpy support.
75289         (WIDE): New macro.
75291 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75293         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75294         the inner loop.
75296 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75298         [BZ #13472]
75299         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75301 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75303         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75304         Minor optimizations.
75306         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75307         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75308         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75310 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75312         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75313         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75314         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75315         for gcc to avoid warnings.
75316         * inet/Makefile (tests): Add tst-checks.
75317         * inet/tst-checks.c: New file.
75319         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75320         warning.
75322         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75323         __wmemcmp_sse2.
75325         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75326         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75328         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75330 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75332         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75333         problem.
75335         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75337 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75339         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75340         conditional on GCC version.
75341         (__arch_compare_and_exchange_val_8_acq)
75342         (__arch_compare_and_exchange_val_16_acq)
75343         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75344         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75345         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75347 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75349         * sysdeps/sh/backtrace.c: New file.
75351 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75353         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75354         parenthesis.
75356 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75358         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75359         falling back to utime.
75361 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75363         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75364         expectations for float.
75366 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75368         * locale/weight.h (findidx): Add parameter len.
75369         * locale/weightwc.h (findidx): Likewise.
75370         * posix/fnmatch_loop.c (FCT): Adjust caller.
75371         * posix/regcomp.c (build_equiv_class): Likewise.
75372         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75373         * posix/regexec.c (check_node_accept_bytes): Likewise.
75374         * string/strcoll_l.c (STRCOLL): Likewise.
75375         * string/strxfrm_l.c (STRXFRM): Likewise.
75377 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75379         * Makefile.in: Remove CVSOPT handling.
75380         * configure.in: Remove use of AC_REVISION.
75381         * iconvdata/Makefile (distribute): No need to filter out CVS.
75382         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75383         handling.
75385 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75387         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75388         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75389         [USE_AS_STRNCASECMP_L]: Likewise.
75390         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75391         NO_TLS_DIRECT_SEG_REFS.
75392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75393         Fix argument offsets for non-PIC.
75394         [USE_AS_STRNCASECMP_L]: Likewise.
75395         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75396         NO_TLS_DIRECT_SEG_REFS.
75398 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75400         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75401         O_CLOEXEC.
75402         * locale/loadlocale.c (_nl_load_locale): Likewise.
75404 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75406         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75407         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75408         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75409         (SYSCALL_GETTIME): Set errno on error.
75411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75412         count references to noai6ai_cached.
75414 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75416         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75418         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75419         FD_CLOEXEC for /proc/self/maps.
75421         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75422         FD_CLOEXEC for /proc/meminfo.
75424         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75425         gai.conf.
75427         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75428         FD_CLOEXEC for given file.
75430         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75432         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75433         FD_CLOEXEC for /etc/hosts.
75434         (_gethtent): Likewise.
75436         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75438         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75439         cancellation and set FD_CLOEXEC for /etc/netgroup.
75441         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75442         reading /etc/publickey.
75444         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75445         allow cancellation when reading /etc/group.
75447         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75448         cancellation.
75449         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75451         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75452         when using data file.
75454         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75456         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75457         (write_nis_obj): Use "c" and "e" in fopen.
75459         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75461         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75463         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75465         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75467         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75468         locale.alias.
75470         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75472         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75474         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75476         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75477         file parsing and set FD_CLOEXEC.
75479 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75481         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75483 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75485         * malloc/arena.c (arena_get2): Don't call reused_arena when
75486         _int_new_arena failed.
75488 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75490         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75491         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75492         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75493         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75494         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75495         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75496         to compile strcasecmp and strncasecmp.
75497         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75498         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75502 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75504         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75505         locale-defines.sym to gen-as-const-headers.
75506         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75507         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75509         to compile strcasecmp and strncasecmp.
75510         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75511         strcasecmp_l and strncasecmp_l.
75512         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75513         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75514         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75515         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75516         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75517         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75518         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75519         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75520         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75521         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75522         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75524 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75526         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75527         result of SYSDEP_GETTIME_CPU to retval.
75528         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75529         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75531         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75532         variable.
75534         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75535         mantissa words.
75536         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75538         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75539         from unused variable.
75541         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75542         DWARF definitions.
75543         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75544         for assembling.
75546         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75547         over namespaces.
75549         * sunrpc/rpc_prot.c (rejected): Fix case value.
75551         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75552         unsigned long long int to avoid warnings in shift.
75554         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75555         of use of trans.
75556         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75557         variable tmp.
75559         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75560         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75561         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75563         * nis/nis_table.c (nis_list): Use variable of correct type for
75564         result of __follow_path call.
75566 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75568         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75569         of math functions ceil, trunc, floor, round, and sqrt, when
75570         avaliable on the platform.
75571         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75572         name clash.
75573         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75574         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75575         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75577 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75579         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75580         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75582 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75584         * include/unistd.h: Fix __readlink return type.
75585         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75587 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75589         * stdlib/ucontext.h: Undo last change for makecontext.
75591 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75593         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75595         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75596         * setjmp/setjmp.h: Mark functions as non-leaf.
75597         * setjmp/bits/setjmp2.h: Likewise.
75598         * stdlib/ucontext.h: Likewise.
75600 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75602         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75603         (reused_arena): Don't check arena limit.
75604         (arena_get2): Atomically check arena limit.
75606 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75608         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75609         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75612         instructions.
75614 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75616         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75617         handler when locking.
75619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75620         Fix size of allocated buffer.
75622 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75624         [BZ #10103]
75625         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75626         declarations for long double functions.
75627         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75629         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75631 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75633         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75634         installed.
75636         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75637         is disabled.
75639 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75641         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75643 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75645         * include/alloca.h (stackinfo_alloca_round): Define.
75646         (extend_alloca): Use it.
75647         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75648         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75649         here.
75651         * scripts/check-local-headers.sh: Ignore libaudit.h.
75653         * nscd/Makefile (extra-objs): Make recursively expanded.
75655 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75657         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75658         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75660         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75661         * posix/tst-rfc3484-2.c: Likewise.
75662         * posix/tst-rfc3484-3.c: Likewise.
75664         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75665         process_vm_writev.
75666         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75667         process_vm_writev.
75668         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75669         process_vm_writev from libc using GLIBC_2.15 version.
75671         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75673 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75675         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75676         stack usage.
75678 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75680         [BZ #13367]
75681         * nss/getent.c (initgroups_keys): Show error message in case no group
75682         names are given.
75684         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75685         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75686         __bump_nl_timestamp.
75687         * nscd/connections (nscd_init): When host database is served open
75688         netlink socket and request notification about configuration changes.
75689         (main_loop_poll): Track netlink file descriptor and bump timestamp
75690         in case data becomes available.
75691         (main_loop_epoll): Likewise.
75692         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75693         (database_pers_head): Add extra_data fileds.
75694         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75695         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75696         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75697         Adjust caller.
75698         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75699         in6ai data, call __free_in6ai.
75700         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75701         Add -DHAVE_NETLINK.
75702         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75703         interface information.  Reuse previous data if netlink timestamp
75704         is not changed.
75705         (__bump_nl_timestamp): New function.
75706         (__free_in6ai): New function.
75708 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75711         close_not_cancel_no_status here.
75712         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75714 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75716         [BZ #13276]
75717         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75718         return value.
75720         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75721         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75722         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75724 2011-07-03  Andreas Jaeger  <aj@suse.de>
75726         [BZ #10709]
75727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75728         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75729         * math/libm-test.inc (sin_test): Add test case.
75731 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75733         [BZ #13337]
75734         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75735         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75737         * elf/chroot_canon.c (chroot_canon): Cleanups.
75739         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75741         [BZ #13335]
75742         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75743         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75745         * string/test-strchr.c: Make usable for strchrnul testing.
75746         * string/test-strchrnul.c: New file.
75747         * string/Makefile (strop-tests): Add strchrnul.
75749         * po/it.po: Update from translation team.
75750         * po/es.po: Likewise.
75752 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75754         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75755         the three constants needed as parameters.  Drop the others.
75756         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75757         __m128i_strloadu_tolower.
75758         Create and initialize variable zero and use it in all the places
75759         where _mm_setzero_si128 was used.
75761         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75762         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75763         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75764         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75765         anymore.
75766         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75767         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75768         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75769         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75770         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75771         __mpranred, __mptan.
75772         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75773         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75774         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75775         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75776         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75777         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75778         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75779         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75780         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75782 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75784         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75785         redefine if SHARED.
75786         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75789         wide char related routines to wcsmbs subdir.
75791 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75793         [BZ #13344]
75794         * misc/sys/cdefs.h (__THROWNL): Define.
75795         * posix/unistd.h: Use __THREADNL instead of __THREAD
75796         for memory synchronization functions.
75798 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75800         [BZ #13349]
75801         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75802         doesn't exist.
75803         * manual/stdio.texi (Obstack Streams): Node removed.
75805 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75807         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75808         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75809         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75811         * math/math_private.h (math_force_eval): Allow non-addressable
75812         arguments.
75813         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75815 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75817         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75818         file is not needed.
75820         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75821         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75827         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75828         Add AVX variants.
75829         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75830         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75831         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75832         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75833         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75834         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75835         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75836         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75837         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75838         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75839         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75840         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75841         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75842         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75843         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75844         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75845         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75846         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75847         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75849         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75850         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75852         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75853         place.  Use VEX encoding when compiling for AVX.
75855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75857         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75858         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75860         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75864         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75865         useless if() expression.
75866         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75867         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75868         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75870         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75871         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75872         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75873         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75874         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75875         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75876         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75877         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75878         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75879         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75880         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75881         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75882         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75883         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75884         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75886         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75888 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75890         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75891         condition.
75892         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75894 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75896         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75897         .text section.  Avoid duplicate constants.
75898         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75899         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75900         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75902         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75903         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75904         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75906         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75907         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75909         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75910         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75911         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75912         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75913         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75914         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75915         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75916         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75918         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75919         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75920         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75921         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75922         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75923         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75924         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75925         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75926         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75927         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75928         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75929         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75930         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75931         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75932         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75933         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75934         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75936         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75937         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75939         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75940         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75941         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75942         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75944 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75946         * sysdeps/x86_64/dla.h: Move to ...
75947         * sysdeps/x86_64/fpu/dla.h: ...here.
75948         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75949         situations.  Use __builtin_fma only for gcc 4.6 and up.
75951         * config.make.in: Add have-mfma4 entry.
75952         * configure.in: Substitute libc_cv_cc_fma4.
75953         * math/Makefile (dbl-only-routines): Add sincostab.
75954         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75955         Use __sincostab not sincos.
75956         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75957         name is a macro.
75958         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75962         using __copysign.
75963         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75964         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75965         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75966         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75967         and __inv.
75968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75969         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75970         __copysign.
75971         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75972         define aliases when function name is a macro.
75973         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75974         sysdeps/ieee754/dbl-64/sincos.tbl.
75975         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75976         fma4-enabled routines.
75977         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75978         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75979         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75980         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75981         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75982         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75984         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75986         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75987         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75988         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75989         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75990         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75991         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75992         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75993         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75994         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75995         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75996         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75997         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75998         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75999         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76000         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76002         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76003         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76004         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76005         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76006         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76008         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76009         rename.
76010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76016         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76019 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76021         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76023 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76025         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76027         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76028         prediction.
76029         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76031         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76032         Remove unused variable magic_bits.
76033         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76035         * string/strnlen.c: Define and use STRNLEN macro.
76036         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76037         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76039         * wcsmbs/wcslen.c: Define and use WCSLEN.
76040         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76041         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76042         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76043         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76044         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76045         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76046         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76048 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76051         strnlen-sse2-no-bsf.
76052         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76053         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76054         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76055         Add strnlen support.
76056         (USE_AS_STRNLEN): New macro.
76057         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76058         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76059         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76060         * sysdeps/x86_64/wcslen.S: New file.
76062 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76064         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76065         XMM-moves are used for copying on small sizes.
76067 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76069         * wcsmbs/Makefile (strop-tests): Add wcschr.
76070         * wcsmbs/test-wcschr.c: New file.
76071         * string/test-strchr.c: Update.
76072         Add wcschr support.
76073         (WIDE): New macro.
76075 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76077         * wcsmbs/Makefile (strop-tests): Add wcslen.
76078         * wcsmbs/test-wcslen.c: New file.
76079         * string/test-strlen.c: Update.
76080         Add wcslen support.
76081         (WIDE): New macro.
76083 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76085         * po/it.po: Update from translation team.
76087 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76089         * sysdeps/x86_64/wcscmp.S: Update.
76090         Fix wrong comparison semantics.
76091         wcscmp shall use signed comparison not unsigned.
76092         Don't use substraction to avoid overflow bug.
76093         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76094         * wcsmbc/wcscmp.c: Likewise.
76095         * string/test-strcmp.c: Likewise.
76096         Add new tests to check cases with negative values.
76098 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76100         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76101         * sysdeps/x86_64/dla.h: ...here.  New file.
76102         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76103         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76105         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76106         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76109         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76112 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76115         __ynl_finite aliases.
76117 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76121         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76122         define DLA_FMA.
76123         [DLA_FMA] (EMULV): Use DLA_FMA.
76124         [DLA_FMA] (MUL12): Use EMULV.
76125         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76126         that are not needed.
76127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76131         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76132         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76135 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76137         * math/s_nan.c: Undef __nan.
76138         * math/s_nanf.c: Undef __nanf.
76139         * math/s_nanl.c: Undef __nanl.
76140         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76141         "math_private.h".
76143 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76145         * math/s_catan.c: Add branch predictions.
76146         * math/s_catanf.c: Likewise.
76147         * math/s_catanh.c: Likewise.
76148         * math/s_catanhf.c: Likewise.
76149         * math/s_catanhl.c: Likewise.
76150         * math/s_catanl.c: Likewise.
76151         * math/s_cexp.c: Likewise.
76152         * math/s_cexpf.c: Likewise.
76153         * math/s_cexpl.c: Likewise.
76154         * math/s_clog.c: Likewise.
76155         * math/s_clog10.c: Likewise.
76156         * math/s_clog10f.c: Likewise.
76157         * math/s_clog10l.c: Likewise.
76158         * math/s_clogf.c: Likewise.
76159         * math/s_clogl.c: Likewise.
76160         * math/s_csqrt.c: Likewise.
76161         * math/s_csqrtf.c: Likewise.
76162         * math/s_csqrtl.c: Likewise.
76163         * math/s_ctanf.c: Likewise.
76164         * math/s_ctanh.c: Likewise.
76165         * math/s_ctanhf.c: Likewise.
76166         * math/s_ctanhl.c: Likewise.
76167         * math/s_ctanl.c: Likewise.
76169         * math/math_private.h: Define __nan, __nanf, __nanl.
76170         * math/s_cacosh.c: Include <math_private.h>.
76171         * math/s_cacoshl.c: Likewise.
76172         * math/s_casinh.c: Likewise.
76173         * math/s_casinhf.c: Likewise.
76174         * math/s_casinhl.c: Likewise.
76175         * math/s_ccos.c: Rely entire on ccosh.
76176         * math/s_ccosf.c: Rely entire on ccoshf.
76177         * math/s_ccosl.c: Rely entirely on ccoshl.
76178         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76179         Remove tests for FE_INVALID.
76180         * math/s_ccoshf.c: Likewise.
76181         * math/s_ccoshl.c: Likewise.
76182         * math/s_csin.c: Likewise.
76183         * math/s_csinf.c: Likewise.
76184         * math/s_csinh.c Likewise.
76185         * math/s_csinhf.c: Likewise.
76186         * math/s_csinhl.c: Likewise.
76187         * math/s_csinl.c: Likewise.
76188         * math/s_ctan.c: Likewise.
76189         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76190         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76191         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76193 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76196         compilation problems.
76198         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76199         __builtin_expect.
76201 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76203         * sysdeps/i386/configure.in: Test for -mfma4 option.
76204         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76205         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76206         COMMON_CPUID_INDEX_80000001.
76207         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76208         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76209         use it if FMA3 is not supported.
76210         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76212         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76213         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76215 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76217         [BZ #12892]
76218         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76219         it would create a cycle with a link time dependency.
76221 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76223         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76224         instruction.
76225         * string/Makefile (strop-tests): Add rawmemchr.
76226         * string/test-rawmemchr.c: New file.
76228         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76230         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76231         when compiling str{,n}casecmp and when AVX is available.  Hook up
76232         new optimized code in initializers.
76234 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76236         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76237         __feraiseexcept instead of feraiseexcept.
76239 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76241         * math/math_private.h: Define defaults for libc_fetestexcept and
76242         libc_feupdateenv.
76243         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76244         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76245         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76246         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76247         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76248         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76249         libc_fetestexcept and libc_feupdateenv.
76251         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76252         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76253         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76254         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76255         libc_feholdexcept_setround.
76257         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76258         Add s_nearbyint-c and s_nearbyintf-c.
76259         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76260         nearbyintf inlines.
76261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76262         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76263         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76264         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76266         * math/math_private.h: Define defaults for libc_fegetround,
76267         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76268         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76269         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76270         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76271         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76272         standard functions.
76273         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76274         Remove comments and hacks for old compiler versions.
76275         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76276         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76277         libc_feholdexceptl.
76279 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76281         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76282         (__feraiseexcept_renamed): Add __NTH.
76283         (feraiseexcept): Add __NTH.  Rename local variables to fix
76284         namespace violations.
76286 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76288         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76290         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76292         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76293         recently added interfaces.
76294         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76296         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76297         about macro parameter expansion.
76299         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76300         __NO_MATH_INLINES is defined.  Cleanups.
76302         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76303         and __floorf is target has SSE4.1.
76304         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76306         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76307         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76309         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76310         name.
76311         (floorf): Likewise.
76313         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76315 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76317         * misc/sys/cdefs.h: Fix last change.
76319         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76320         database lookup.
76322 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76324         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76326         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76327         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76328         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76329         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76331         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76332         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76333         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76334         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76335         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76336         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76337         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76338         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76339         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76340         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76341         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76342         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76343         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76344         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76345         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76346         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76347         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76349         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76350         ceil, ceilf, floor, floorf.
76352         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76353         Perform IRELATIVE relocations last.
76355         * elf/do-rel.h: Add another parameter nrelative, replacing the
76356         local variable with the same name.  Change name of the function
76357         to end in Rel or Rela (uppercase).
76358         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76359         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76360         elf_dynamic_do_##reloc function.
76362 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76364         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76365         is sufficient, at least on modern CPUs.
76367         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76369         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76370         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76372         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76373         __expl_finite.
76374         * math/bits/math-finite.h: Add entries for exp.
76375         * math/e_expl.c: Add __*_finite alias.
76376         * sysdeps/i386/fpu/e_exp.S: Likewise.
76377         * sysdeps/i386/fpu/e_expf.S: Likewise.
76378         * sysdeps/i386/fpu/e_expl.c: Likewise.
76379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76380         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76381         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76383         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76384         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76385         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76387         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76388         is sufficient, at least on modern CPUs.
76390         * ctype/ctype-info.c (__ctype_init): Define.
76391         * include/ctype.h (__ctype_init): Declare.
76392         (__ctype_b_loc): The variable is always initialized.
76393         (__ctype_toupper_loc): Likewise.
76394         (__ctype_tolower_loc): Likewise.
76395         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76396         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76398 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76400         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76402         * configure.in: Also look in $cxxmachine/include for C++ system
76403         headers.
76405 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76407         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76408         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76409         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76410         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76411         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76412         (USE_AS_WMEMCMP): New macro.
76413         Fixing indents.
76414         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76415         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76416         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76417         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76418         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76419         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76420         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76421         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76422         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76423         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76424         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76425         (USE_AS_WMEMCMP): New macro.
76426         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76427         * sysdeps/string/test-memcmp.c: Update.
76428         Fix simple_wmemcmp.
76429         Add new tests.
76430         * wcsmbs/wmemcmp.c: Update.
76431         (WMEMCMP): New macro.
76432         Fix overflow bug.
76434 2011-10-12  Andreas Jaeger  <aj@suse.de>
76436         [BZ #13268]
76437         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76439 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76441         * libio/iofwide.c (do_length): Avoid warning.
76443         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76445 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76447         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76449         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76450         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76451         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76452         * sysdeps/i386/i686/fpu/e_log.S: New file.
76453         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76454         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76456         * ctype/ctype.h: Add support for inlined isXXX functions when
76457         compiling C++ code.
76459 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76461         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76463         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76465 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76467         [BZ #13291]
76468         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76470 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76472         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76473         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76474         feraiseexcept.
76476         * sysdeps/x86_64/memrchr.S: Check for zero size.
76478         * string/stratcliff.c: Add memrchr tests.
76480 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76483         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76484         rawmemchr-sse2 rawmemchr-sse2-bsf.
76485         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76486         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76487         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76488         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76489         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76490         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76491         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76492         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76493         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76494         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76495         * string/memrchr.c (MEMRCHR): New macro.
76497 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76499         Add integration with gcc's -ffinite-math-only and optimize wrapper
76500         functions in libm.
76501         * Versions.def: Define GLIBC_2.15 version for libm.
76502         * math/Makefile (headers): Add bits/math-finite.h.
76503         * math/bits/math-finite.h: New file.
76504         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76505         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76506         * math/e_acoshl.c: Add __*_finite alias.
76507         * math/e_acosl.c: Likewise.
76508         * math/e_asinl.c: Likewise.
76509         * math/e_atan2l.c: Likewise.
76510         * math/e_atanhl.c: Likewise.
76511         * math/e_coshl.c: Likewise.
76512         * math/e_exp10.c: Likewise.
76513         * math/e_exp10f.c: Likewise.
76514         * math/e_exp10l.c: Likewise.
76515         * math/e_exp2l.c: Likewise.
76516         * math/e_fmodl.c: Likewise.
76517         * math/e_gammal_r.c: Likewise.
76518         * math/e_hypotl.c: Likewise.
76519         * math/e_j0l.c: Likewise.
76520         * math/e_j1l.c: Likewise.
76521         * math/e_jnl.c: Likewise.
76522         * math/e_lgammal_r.c: Likewise.
76523         * math/e_log10l.c: Likewise.
76524         * math/e_log2l.c: Likewise.
76525         * math/e_logl.c: Likewise.
76526         * math/e_powl.c: Likewise.
76527         * math/e_sinhl.c: Likewise.
76528         * math/e_sqrtl.c: Likewise.
76529         * math/e_scalb.c: Completely rewritten and optimized.
76530         * math/e_scalbf.c: Likewise.
76531         * math/e_scalbl.c: Likewise.
76532         * math/w_acos.c: Likewise.
76533         * math/w_acosf.c: Likewise.
76534         * math/w_acosl.c: Likewise.
76535         * math/w_acosh.c: Likewise.
76536         * math/w_acoshf.c: Likewise.
76537         * math/w_acoshl.c: Likewise.
76538         * math/w_asin.c: Likewise.
76539         * math/w_asinf.c: Likewise.
76540         * math/w_asinl.c: Likewise.
76541         * math/w_atan2.c: Likewise.
76542         * math/w_atan2f.c: Likewise.
76543         * math/w_atan2l.c: Likewise.
76544         * math/w_atanh.c: Likewise.
76545         * math/w_atanhf.c: Likewise.
76546         * math/w_atanhl.c: Likewise.
76547         * math/w_exp10.c: Likewise.
76548         * math/w_exp10f.c: Likewise.
76549         * math/w_exp10l.c: Likewise.
76550         * math/w_fmod.c: Likewise.
76551         * math/w_fmodf.c: Likewise.
76552         * math/w_fmodl.c: Likewise.
76553         * math/w_j0.c: Likewise.
76554         * math/w_j0f.c: Likewise.
76555         * math/w_j0l.c: Likewise.
76556         * math/w_j1.c: Likewise.
76557         * math/w_j1f.c: Likewise.
76558         * math/w_j1l.c: Likewise.
76559         * math/w_jn.c: Likewise.
76560         * math/w_jnf.c: Likewise.
76561         * math/w_log.c: Likewise.
76562         * math/w_logf.c: Likewise.
76563         * math/w_logl.c: Likewise.
76564         * math/w_log10.c: Likewise.
76565         * math/w_log10f.c: Likewise.
76566         * math/w_log10l.c: Likewise.
76567         * math/w_log2.c: Likewise.
76568         * math/w_log2f.c: Likewise.
76569         * math/w_log2l.c: Likewise.
76570         * math/w_pow.c: Likewise.
76571         * math/w_powf.c: Likewise.
76572         * math/w_powl.c: Likewise.
76573         * math/w_remainder.c: Likewise.
76574         * math/w_remainderf.c: Likewise.
76575         * math/w_remainderl.c: Likewise.
76576         * math/w_scalb.c: Likewise.
76577         * math/w_scalbf.c: Likewise.
76578         * math/w_scalbl.c: Likewise.
76579         * math/w_sqrt.c: Likewise.
76580         * math/w_sqrtf.c: Likewise.
76581         * math/w_sqrtl.c: Likewise.
76582         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76583         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76584         used.
76585         * math/math_private.h: Declare __kernel_standard_f.
76586         * math/w_cosh.c: Remove cruft and optimize a bit.
76587         * math/w_coshf.c: Likewise.
76588         * math/w_coshl.c: Likewise.
76589         * math/w_exp2.c: Likewise.
76590         * math/w_exp2f.c: Likewise.
76591         * math/w_exp2l.c: Likewise.
76592         * math/w_hypot.c: Likewise.
76593         * math/w_hypotf.c: Likewise.
76594         * math/w_hypotl.c: Likewise.
76595         * math/w_lgamma.c: Likewise.
76596         * math/w_lgamma_r.c: Likewise.
76597         * math/w_lgammaf.c: Likewise.
76598         * math/w_lgammaf_r.c: Likewise.
76599         * math/w_lgammal.c: Likewise.
76600         * math/w_lgammal_r.c: Likewise.
76601         * math/w_sinh.c: Likewise.
76602         * math/w_sinhf.c: Likewise.
76603         * math/w_sinhl.c: Likewise.
76604         * math/w_tgamma.c: Likewise.
76605         * math/w_tgammaf.c: Likewise.
76606         * math/w_tgammal.c: Likewise.
76607         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76608         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76609         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76610         Minor optimizations.  Pretty printing.  Remove cruft.
76611         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76612         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76613         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76614         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76615         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76616         * sysdeps/i386/fpu/e_asin.S: Likewise.
76617         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76618         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76619         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76620         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76621         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76623         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76624         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76625         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76626         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76627         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76628         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76629         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76630         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76631         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76632         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76633         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76634         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76635         * sysdeps/i386/fpu/e_log.S: Likewise.
76636         * sysdeps/i386/fpu/e_log10.S: Likewise.
76637         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76638         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76639         * sysdeps/i386/fpu/e_log2.S: Likewise.
76640         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76641         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76642         * sysdeps/i386/fpu/e_logf.S: Likewise.
76643         * sysdeps/i386/fpu/e_logl.S: Likewise.
76644         * sysdeps/i386/fpu/e_pow.S: Likewise.
76645         * sysdeps/i386/fpu/e_powf.S: Likewise.
76646         * sysdeps/i386/fpu/e_powl.S: Likewise.
76647         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76648         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76649         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76650         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76651         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76652         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76653         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76654         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76655         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76656         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76657         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76659         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76660         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76661         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76662         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76663         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76666         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76667         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76668         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76669         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76670         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76672         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76673         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76674         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76676         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76677         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76678         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76679         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76680         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76681         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76682         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76683         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76684         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76685         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76686         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76687         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76688         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76690         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76691         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76692         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76693         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76694         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76695         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76696         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76697         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76698         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76699         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76700         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76701         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76702         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76703         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76704         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76705         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76706         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76707         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76708         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76709         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76710         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76711         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76712         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76713         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76714         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76715         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76716         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76721         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76723         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76726         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76729         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76730         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76732         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76733         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76734         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76735         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76736         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76737         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76738         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76739         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76740         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76741         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76742         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76743         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76744         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76745         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76746         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76747         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76748         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76749         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76750         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76751         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76752         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76753         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76754         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76755         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76756         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76757         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76758         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76759         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76761         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76762         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76764         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76765         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76766         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76767         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76768         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76769         (__isnanf): Likewise.
76770         (__isinf_ns): Likewise.
76771         (__isinf_nsf): Likewise.
76772         (__finite): Likewise.
76773         (__finitef): Likewise.
76774         (__ieee754_sqrt): Define as macro.
76775         (__ieee754_sqrtf): Define as macro.
76776         (__ieee754_sqrtl): Define as macro.
76777         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76778         inlined copy.
76779         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76780         __FINITE_MATH_ONLY__ consistent.
76781         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76783 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76785         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76786         of rawmemchr.
76788         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76790 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76792         * po/ja.po: Update from translation team.
76794 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76796         * locale/programs/locarchive.c (prepare_address_space): New function.
76797         (create_archive, enlarge_archive, open_archive): Use it.
76799         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76800         inside [SHARED], where it is used.
76802         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76804         * nss/getent.c (netgroup_keys): Remove unused variable.
76805         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76807 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76809         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76810         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76812         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76813         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76815         * math/Makefile (libm-calls): Add s_isinf_ns.
76816         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76817         * math/multc3.c: Likewise.
76818         * math/s_casin.c: Likewise.
76819         * math/s_casinf.c: Likewise.
76820         * math/s_casinl.c: Likewise.
76821         * math/s_ccos.c: Likewise.
76822         * math/s_ccosf.c: Likewise.
76823         * math/s_ccosl.c: Likewise.
76824         * math/s_ctan.c: Likewise.
76825         * math/s_ctanf.c: Likewise.
76826         * math/s_ctanh.c: Likewise.
76827         * math/s_ctanhf.c: Likewise.
76828         * math/s_ctanhl.c: Likewise.
76829         * math/s_ctanl.c: Likewise.
76830         * math/w_fmod.c: Likewise.
76831         * math/w_fmodf.c: Likewise.
76832         * math/w_fmodl.c: Likewise.
76833         * math/w_remainder.c: Likewise.
76834         * math/w_remainderf.c: Likewise.
76835         * math/w_remainderl.c: Likewise.
76836         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76837         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76840         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76841         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76842         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76843         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76845         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76846         of the number.
76847         * stdio-common/printf_fphex.c: Likewise.
76848         * stdio-common/printf_size.c: Likewise.
76850         * math/e_exp10.c: Include math_private.h using <...> not "...".
76851         * math/e_exp10f.c: Likewise.
76852         * math/e_exp10l.c: Likewise.
76853         * math/e_exp2l.c: Likewise.
76854         * math/e_j0l.c: Likewise.
76855         * math/e_j1l.c: Likewise.
76856         * math/e_jnl.c: Likewise.
76857         * math/e_lgammal_r.c: Likewise.
76858         * math/e_rem_pio2l.c: Likewise.
76859         * math/e_scalb.c: Likewise.
76860         * math/e_scalbf.c: Likewise.
76861         * math/e_scalbl.c: Likewise.
76862         * math/k_cosl.c: Likewise.
76863         * math/k_sinl.c: Likewise.
76864         * math/k_tanl.c: Likewise.
76865         * math/s_cacoshf.c: Likewise.
76866         * math/s_catan.c: Likewise.
76867         * math/s_catanf.c: Likewise.
76868         * math/s_catanh.c: Likewise.
76869         * math/s_catanhf.c: Likewise.
76870         * math/s_catanhl.c: Likewise.
76871         * math/s_catanl.c: Likewise.
76872         * math/s_ccosh.c: Likewise.
76873         * math/s_ccoshf.c: Likewise.
76874         * math/s_ccoshl.c: Likewise.
76875         * math/s_cexp.c: Likewise.
76876         * math/s_cexpf.c: Likewise.
76877         * math/s_cexpl.c: Likewise.
76878         * math/s_clog.c: Likewise.
76879         * math/s_clog10.c: Likewise.
76880         * math/s_clog10f.c: Likewise.
76881         * math/s_clog10l.c: Likewise.
76882         * math/s_clogf.c: Likewise.
76883         * math/s_clogl.c: Likewise.
76884         * math/s_csin.c: Likewise.
76885         * math/s_csinf.c: Likewise.
76886         * math/s_csinh.c: Likewise.
76887         * math/s_csinhf.c: Likewise.
76888         * math/s_csinhl.c: Likewise.
76889         * math/s_csinl.c: Likewise.
76890         * math/s_csqrt.c: Likewise.
76891         * math/s_csqrtf.c: Likewise.
76892         * math/s_csqrtl.c: Likewise.
76893         * math/s_ctan.c: Likewise.
76894         * math/s_ctanf.c: Likewise.
76895         * math/s_ctanh.c: Likewise.
76896         * math/s_ctanhf.c: Likewise.
76897         * math/s_ctanhl.c: Likewise.
76898         * math/s_ctanl.c: Likewise.
76899         * math/s_ldexp.c: Likewise.
76900         * math/s_ldexpf.c: Likewise.
76901         * math/s_ldexpl.c: Likewise.
76902         * math/s_significand.c: Likewise.
76903         * math/s_significandf.c: Likewise.
76904         * math/s_significandl.c: Likewise.
76905         * math/w_acos.c: Likewise.
76906         * math/w_acosf.c: Likewise.
76907         * math/w_acosh.c: Likewise.
76908         * math/w_acoshf.c: Likewise.
76909         * math/w_acoshl.c: Likewise.
76910         * math/w_acosl.c: Likewise.
76911         * math/w_asin.c: Likewise.
76912         * math/w_asinf.c: Likewise.
76913         * math/w_asinl.c: Likewise.
76914         * math/w_atan2.c: Likewise.
76915         * math/w_atan2f.c: Likewise.
76916         * math/w_atan2l.c: Likewise.
76917         * math/w_atanh.c: Likewise.
76918         * math/w_atanhf.c: Likewise.
76919         * math/w_atanhl.c: Likewise.
76920         * math/w_cosh.c: Likewise.
76921         * math/w_coshf.c: Likewise.
76922         * math/w_coshl.c: Likewise.
76923         * math/w_dremf.c: Likewise.
76924         * math/w_exp10.c: Likewise.
76925         * math/w_exp10f.c: Likewise.
76926         * math/w_exp10l.c: Likewise.
76927         * math/w_exp2.c: Likewise.
76928         * math/w_exp2f.c: Likewise.
76929         * math/w_fmod.c: Likewise.
76930         * math/w_fmodf.c: Likewise.
76931         * math/w_fmodl.c: Likewise.
76932         * math/w_hypot.c: Likewise.
76933         * math/w_hypotf.c: Likewise.
76934         * math/w_hypotl.c: Likewise.
76935         * math/w_j0.c: Likewise.
76936         * math/w_j0f.c: Likewise.
76937         * math/w_j0l.c: Likewise.
76938         * math/w_j1.c: Likewise.
76939         * math/w_j1f.c: Likewise.
76940         * math/w_j1l.c: Likewise.
76941         * math/w_jn.c: Likewise.
76942         * math/w_jnf.c: Likewise.
76943         * math/w_jnl.c: Likewise.
76944         * math/w_lgamma.c: Likewise.
76945         * math/w_lgamma_r.c: Likewise.
76946         * math/w_lgammaf.c: Likewise.
76947         * math/w_lgammaf_r.c: Likewise.
76948         * math/w_lgammal.c: Likewise.
76949         * math/w_lgammal_r.c: Likewise.
76950         * math/w_log.c: Likewise.
76951         * math/w_log10.c: Likewise.
76952         * math/w_log10f.c: Likewise.
76953         * math/w_log10l.c: Likewise.
76954         * math/w_log2.c: Likewise.
76955         * math/w_log2f.c: Likewise.
76956         * math/w_log2l.c: Likewise.
76957         * math/w_logf.c: Likewise.
76958         * math/w_logl.c: Likewise.
76959         * math/w_pow.c: Likewise.
76960         * math/w_powf.c: Likewise.
76961         * math/w_powl.c: Likewise.
76962         * math/w_remainder.c: Likewise.
76963         * math/w_remainderf.c: Likewise.
76964         * math/w_remainderl.c: Likewise.
76965         * math/w_scalb.c: Likewise.
76966         * math/w_scalbf.c: Likewise.
76967         * math/w_scalbl.c: Likewise.
76968         * math/w_sinh.c: Likewise.
76969         * math/w_sinhf.c: Likewise.
76970         * math/w_sinhl.c: Likewise.
76971         * math/w_sqrt.c: Likewise.
76972         * math/w_sqrtf.c: Likewise.
76973         * math/w_sqrtl.c: Likewise.
76974         * math/w_tgamma.c: Likewise.
76975         * math/w_tgammaf.c: Likewise.
76976         * math/w_tgammal.c: Likewise.
76978         * po/ja.po: Update from translation team.
76980 2011-09-29  Andreas Jaeger  <aj@suse.de>
76982         [BZ #13179]
76983         * sunrpc/netname.c (netname2host): Fix logic.
76985         [BZ #6779]
76986         [BZ #6783]
76987         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76988         correctly.
76989         * math/w_remainder.c (__remainder): Likewise.
76990         * math/w_remainderf.c (__remainderf): Likewise.
76991         * math/libm-test.inc (remainder_test): Add test cases.
76993 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76995         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76996         sdiv_qrnnd.
76998 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77000         * string/test-memcmp.c: Avoid unncessary #defines.
77001         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77003 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77005         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77006         Use new sse2 version for core i3 - i7 as it's faster
77007         than sse42 version.
77008         (bit_Prefer_PMINUB_for_stringop): New.
77009         * sysdeps/x86_64/rawmemchr.S: Update.
77010         Replace with faster SSE2 version.
77011         * sysdeps/x86_64/memrchr.S: New file.
77012         * sysdeps/x86_64/memchr.S: Update.
77013         Replace with faster SSE2 version.
77015 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77017         * elf/dl-load.c (lose): Add cast to avoid warning.
77019 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77021         * po/ca.po: Update from translation team.
77023         * inet/getnetgrent_r.c: Hook up nscd.
77024         * nscd/Makefile (routines): Add nscd_netgroup.
77025         (nscd-modules): Add netgroupcache.
77026         (CFLAGS-netgroupcache.c): Define.
77027         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77028         (cache_search): Add const to second parameter.
77029         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77030         INNETGR.
77031         (dbs): Add netgrdb entry.
77032         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77033         (verify_persistent_db): Handle netgrdb.
77034         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77035         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77036         GETFDNETGR.
77037         (netgroup_response_header): Define.
77038         (innetgroup_response_header): Define.
77039         (datahead): Add netgroup_response_header and innetgroup_response_header
77040         elements.
77041         * nscd/nscd.conf: Add entries for netgroup cache.
77042         * nscd/nscd.h (dbtype): Add netgrdb.
77043         (_PATH_NSCD_NETGROUP_DB): Define.
77044         (netgroup_iov_disabled): Declare.
77045         (xmalloc, xcalloc, xrealloc): Move declarations here.
77046         (cache_search): Adjust prototype.
77047         Add netgroup-related prototypes.
77048         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77049         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77050         (__nscd_innetgr): Declare.
77051         * nscd/selinux.c (perms): Use access_vector_t as element type and
77052         add netgroup-related initializers.
77053         * nscd/netgroupcache.c: New file.
77054         * nscd/nscd_netgroup.c: New file.
77055         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77056         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77057         For four parameters use innetgr.
77058         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77059         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77060         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77061         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77063         * nscd/connections.c (register_traced_file): Don't register file
77064         for disabled databases.
77066 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77068         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77070         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77071         from tree and freeing node.
77073 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77075         * nss/nsswitch.c (__nss_database_lookup): Handle
77076         nss_parse_service_list out of memory case.
77078 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77080         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77081         out of memory case.
77083 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77085         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77086         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77087         pass it down.
77088         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77089         elf_machine_rela, elf_machine_lazy_rel.
77090         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77091         (ELF_DYNAMIC_DO_REL): Likewise.
77092         (ELF_DYNAMIC_DO_RELA): Likewise.
77093         (ELF_DYNAMIC_RELOCATE): Likewise.
77094         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77095         to ELF_DYNAMIC_DO_REL.
77096         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77097         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77098         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77099         elf_machine_rela.
77100         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77101         skip_ifunc, don't call ifunc function if non-zero.
77102         (elf_machine_rela): Likewise.
77103         (elf_machine_lazy_rel): Likewise.
77104         (elf_machine_lazy_rela): Likewise.
77105         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77106         (elf_machine_lazy_rel): Likewise.
77107         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77108         Likewise.
77109         (elf_machine_lazy_rel): Likewise.
77110         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77111         Likewise.
77112         (elf_machine_lazy_rel): Likewise.
77113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77114         (elf_machine_lazy_rel): Likewise.
77115         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77116         (elf_machine_lazy_rel): Likewise.
77117         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77118         (elf_machine_lazy_rel): Likewise.
77119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77120         (elf_machine_lazy_rel): Likewise.
77121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77122         (elf_machine_lazy_rel): Likewise.
77123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77124         (elf_machine_lazy_rel): Likewise.
77126 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77128         * nss/nss_files/files-init.c (_nss_files_init): Use static
77129         initialization for all the *_traced_file variables.
77131 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77133         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77135 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77137         [BZ #13226]
77138         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77140 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77143         Reread the line before reparsing it.
77145 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77147         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77149 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77150             Maxim Kuvyrkov  <maxim@codesourcery.com>
77151             Joseph Myers  <joseph@codesourcery.com>
77153         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77154         if needed for __stack_chk_guard.
77156 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77158         * sysdeps/posix/spawni.c (script_execute): Always define it.
77159         It will be optimized away if unused.
77160         (maybe_script_execute): New function.
77161         (__spawni): Call it.
77163         * Makerules: Don't include tls.make.
77164         (config-tls): Always set to thread.
77165         * tls.make.c: File removed.
77167 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77169         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77170         * config.make.in (CPPFLAGS-config): New substituted variable.
77172 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77174         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77176         [BZ #13192]
77177         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77178         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77180 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77182         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77183         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77185         (CALL_FAIL): Likewise.
77186         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77187         (CALL_FAIL): Macro removed.
77188         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77190 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77192         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77193         for __FINITE_MATH_ONLY__ == 1.
77195 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77197         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77198         __ieee754_sqrt instead of sqrt.
77199         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77200         __ieee754_sqrtf instead of sqrtf.
77201         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77202         __floorf instead of floorf.
77203         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77204         __floorf, __truncf instead of floorf, truncf.
77206 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77208         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77210         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77211         __extern_always_inline.
77212         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77213         32-bit.
77215 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77217         * elf/rtld.c (dl_main): Also relocate in dependency order when
77218         doing symbol dependency testing.
77220 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77222         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77223         Always define `refsym'.
77225 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77227         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77228         (__FD_ELT): Renamed from __FDELT.
77229         * misc/bits/select2.h (__FD_ELT): Likewise.
77230         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77231         __FD_MASK instead of __FDELT, __FDMASK.
77232         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77233         Likewise.
77234         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77235         Likewise.
77237         * elf/Makefile (gen-ldd): Fix pattern.
77239         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77240         (init_tls): Likewise.
77242 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77246 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77248         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77249         `struct cmsghdr *' instead of `void *'.
77250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77251         Likewise.
77253 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77255         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77256         if non-absolute.
77257         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77258         ldd_rewrite_script.
77260 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77262         * configure.in: Remove --with-tls option.
77263         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77264         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77265         out in case it is missing.
77266         * sysdeps/ia64/elf/configure.in: Likewise.
77267         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77268         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77269         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77270         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77271         * sysdeps/sh/elf/configure.in: Likewise.
77272         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77273         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77274         * sysdeps/x86_64/elf/configure.in: Likewise.
77275         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77276         * sysdeps/mach/hurd/tls.h: Likewise.
77278         [BZ #13067]
77279         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77281         [BZ #13090]
77282         * configure.in: Fix use of AC_INIT.
77284         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77286 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77288         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77289         __set_errno.
77290         * malloc/hooks.c: Likewise.
77292         [BZ #11929]
77293         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77294         variables statically.
77295         (narenas): Initialize.
77296         (list_lock): Initialize.
77297         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77298         initializtion of main_arena and list_lock.  Small cleanups.
77299         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77300         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77301         Add initializers to main_arena and mp_.
77302         (malloc_state): Remove pagesize member.  Change all users to use
77303         GLRO(dl_pagesize).
77305         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77306         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77307         is always initialized.
77309         * malloc/malloc.c: Removed unused configurations and dead code.
77310         * malloc/arena.c: Likewise.
77311         * malloc/hooks.c: Likewise.
77312         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77314         * include/tls.h: Removed.  USE___THREAD must always be defined.
77315         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77316         * elf/dl-libc.c: Likewise.
77317         * elf/dl-tsd.c: Likewise.
77318         * include/errno.h: Likewise.
77319         * include/netdb.h: Likewise.
77320         * include/resolv.h: Likewise.
77321         * inet/herrno-loc.c: Likewise.
77322         * inet/herrno.c: Likewise.
77323         * malloc/arena.c: Likewise.
77324         * malloc/hooks.c: Likewise.
77325         * malloc/malloc.c: Likewise.
77326         * resolv/res-state.c: Likewise.
77327         * resolv/res_libc.c: Likewise.
77328         * sysdeps/i386/dl-machine.h: Likewise.
77329         * sysdeps/ia64/dl-machine.h: Likewise.
77330         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77331         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77332         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77333         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77334         * sysdeps/sh/dl-machine.h: Likewise.
77335         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77336         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77337         * sysdeps/unix/i386/sysdep.S: Likewise.
77338         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77339         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77344         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77348         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77349         * sysdeps/x86_64/dl-machine.h: Likewise.
77350         * tls.make.c: Likewise.
77352         * configure.in: Remove --with-__thread option.  Make tests for
77353         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77354         tls_model attribute fail if no support is available.  Remove
77355         USE_IN_LIBIO.
77356         * Makeconfig: Adjust for dropped configure option.  All features are
77357         now mandatory.
77358         * Makerules: Likewise.
77359         * Versions.def: Likewise.
77360         * argp/argp-fmtstream.c: Likewise.
77361         * argp/argp-fmtstream.h: Likewise.
77362         * argp/argp-help.c: Likewise.
77363         * assert/assert.c: Likewise.
77364         * config.h.in: Likewise.
77365         * config.make.in: Likewise.
77366         * configure: Likewise.
77367         * configure.in: Likewise.
77368         * csu/Versions: Likewise.
77369         * csu/init.c: Likewise.
77370         * elf/tst-audit2.c: Likewise.
77371         * elf/tst-tls10.c: Likewise.
77372         * elf/tst-tls10.h: Likewise.
77373         * elf/tst-tls11.c: Likewise.
77374         * elf/tst-tls12.c: Likewise.
77375         * elf/tst-tls14.c: Likewise.
77376         * elf/tst-tlsmod11.c: Likewise.
77377         * elf/tst-tlsmod12.c: Likewise.
77378         * elf/tst-tlsmod13.c: Likewise.
77379         * elf/tst-tlsmod13a.c: Likewise.
77380         * elf/tst-tlsmod14a.c: Likewise.
77381         * elf/tst-tlsmod15b.c: Likewise.
77382         * elf/tst-tlsmod16a.c: Likewise.
77383         * elf/tst-tlsmod16b.c: Likewise.
77384         * elf/tst-tlsmod7.c: Likewise.
77385         * elf/tst-tlsmod8.c: Likewise.
77386         * elf/tst-tlsmod9.c: Likewise.
77387         * gmon/gmon.c: Likewise.
77388         * grp/fgetgrent_r.c: Likewise.
77389         * grp/putgrent.c: Likewise.
77390         * hurd/fopenport.c: Likewise.
77391         * include/libc-symbols.h: Likewise.
77392         * include/tls.h: Likewise.
77393         * intl/gettextP.h: Likewise.
77394         * intl/loadinfo.h: Likewise.
77395         * locale/global-locale.c: Likewise.
77396         * locale/localeinfo.h: Likewise.
77397         * mach/devstream.c: Likewise.
77398         * malloc/arena.c: Likewise.
77399         * malloc/set-freeres.c: Likewise.
77400         * misc/err.c: Likewise.
77401         * misc/getttyent.c: Likewise.
77402         * misc/mntent_r.c: Likewise.
77403         * posix/getopt.c: Likewise.
77404         * posix/wordexp.c: Likewise.
77405         * pwd/fgetpwent_r.c: Likewise.
77406         * resolv/Versions: Likewise.
77407         * resolv/res_hconf.c: Likewise.
77408         * shadow/fgetspent_r.c: Likewise.
77409         * shadow/putspent.c: Likewise.
77410         * stdio-common/printf_fphex.c: Likewise.
77411         * stdio-common/tmpfile.c: Likewise.
77412         * stdlib/abort.c: Likewise.
77413         * stdlib/fmtmsg.c: Likewise.
77414         * sunrpc/auth_unix.c: Likewise.
77415         * sunrpc/clnt_perr.c: Likewise.
77416         * sunrpc/clnt_tcp.c: Likewise.
77417         * sunrpc/clnt_udp.c: Likewise.
77418         * sunrpc/clnt_unix.c: Likewise.
77419         * sunrpc/openchild.c: Likewise.
77420         * sunrpc/svc_simple.c: Likewise.
77421         * sunrpc/svc_tcp.c: Likewise.
77422         * sunrpc/svc_udp.c: Likewise.
77423         * sunrpc/svc_unix.c: Likewise.
77424         * sunrpc/xdr.c: Likewise.
77425         * sunrpc/xdr_array.c: Likewise.
77426         * sunrpc/xdr_rec.c: Likewise.
77427         * sunrpc/xdr_ref.c: Likewise.
77428         * sunrpc/xdr_stdio.c: Likewise.
77430 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77432         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77434 2011-07-03  Andreas Jaeger  <aj@suse.de>
77436         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77437         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77438         regenerate with gen-libm-tests.pl.
77440 2010-05-12  Petr Baudis  <pasky@suse.cz>
77442         [BZ #11589]
77443         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77444         around j0() zero points by switching to j1().
77445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77450 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77452         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77453         instead of 0.
77454         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77455         instead of 0.
77456         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77457         Patch in part by Pavel Roskin <proski@gnu.org>.
77459         [BZ #13138]
77460         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77461         realloc.
77462         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77463         Free memory block if necessary.
77465         [BZ #12847]
77466         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77467         be NULL.  Don't lock in this case.
77469 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77471         * elf/elf.h (ELFOSABI_GNU): New macro.
77472         (ELFOSABI_LINUX): Define to that.
77474 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77476         * string/strncat.c (strncat): Undef the symbol in case it has been
77477         defined in bits/string.h.
77479 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77481         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77483         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77484         link map.
77486 2011-08-17  Andreas Jaeger  <aj@suse.de>
77488         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77490 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77491             Ian Lance Taylor  <iant@google.com>
77493         * math/libm-test.inc (lround_test): New testcase.
77494         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77496 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77498         * Makefile: Remove support for automatic cvs check-ins.
77499         * Makerules: Likewise.
77500         * config.make.in: Likewise.
77501         * configure.in: Likewise.
77502         * intl/Makefile: Likewise.
77503         * locale/Makefile: Likewise.
77504         * po/Makefile: Likewise.
77505         * posix/Makefile: Likewise.
77506         * sysdeps/gnu/Makefile: Likewise.
77507         * sysdeps/mach/hurd/Makefile: Likewise.
77508         * sysdeps/sparc/sparc32/Makefile: Likewise.
77510         [BZ #13118]
77511         * posix/Makefile (bug-regex32-ENV): Define.
77512         Patch by John Stanley <jpsinthemix@verizon.net>.
77514         * misc/Makefile (headers): Add bits/select2.h.
77515         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77516         * misc/bits/select2.h: New file.
77517         * include/bits/select2.h: New file.
77518         * debug/Makefile (routines): Add fdelt_chk.
77519         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77520         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77521         FD_ISSET.
77522         * debug/fdelt_chk.c: New file.
77524         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77525         * wcsmbs/test-wmemcmp.c: Likewise.
77526         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77527         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77529 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77531         * string/Makefile (strop-tests): Add memcmp.
77532         * string/test-wmemcmp.c: New file.
77533         * string/test-memcmp.c: Add wmemcmp support.
77535 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77537         [BZ #13153]
77538         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77539         2011-07-19 change.
77541         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77542         garbage value in a __mach_port_mod_refs call in the cases of the
77543         task-self and thread-self ports.
77545 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77547         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77549 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77551         * elf/dl-load.c (lose): Check for non-null L.
77553 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77555         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77557         * elf/dl-libc.c (dlerror_run): Pass back error code from
77558         dl_catch_error.
77560         [BZ #13123]
77561         * elf/dl-load.c (lose): Free l_origin if it is valid.
77563         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77564         names.
77565         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77566         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77567         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77568         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77569         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77570         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77572 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77574         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77575         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77576         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77577         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77578         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77579         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77580         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77581         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77582         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77583         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77585 2011-08-15  Alan Modra  <amodra@gmail.com>
77587         [BZ #13092]
77588         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77589         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77590         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77591         ppc_mcount to static-only-routines.
77592         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77593         __mcount_internal.
77594         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77595         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77597 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77599         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77600         for finite and infinity parameters.
77602 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77604         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77605         and add nop instructions for throughput optimization.
77606         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77608 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77610         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77611         aligned copy for power7 with vector-scalar instructions.
77612         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77614 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77617         AVX check.
77619 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77621         [BZ #13144]
77622         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77623         last change.
77625 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77627         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77628         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77629         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77630         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77631         clock_gettime.
77633 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77635         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77636         Forgot to demangle the pointer.
77638         * sysdeps/i386/sysdep.h: Define atom_text_section.
77639         * sysdeps/x86_64/sysdep.h: Likewise.
77640         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77641         section with atom_text_section.
77642         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77644         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77646         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77648         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77649         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77650         already be defined.  Change to take two parameters and don't assign
77651         result to variable.  Adjust all users.
77652         Define INTERNAL_GETTIME if not already defined.
77653         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77654         call.
77655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77656         HAVE_CLOCK_GETTIME_VSYSCALL.
77657         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77660         gettimeofday vsyscall, just use time.
77662 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77664         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77665         <errno.h>.
77667 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77669         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77670         syscall on x86-64.
77671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77672         syscall.
77673         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77674         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77675         syscall if possible.
77677 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77679         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77680         e_ident.  Don't pass to find_mapsXX.
77681         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77686         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77687         * sysdeps/x86_64/multiarch/strchr.S: Update.
77688         Check bit_slow_BSF bit.
77689         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77690         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77691         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77693 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77695         [BZ #13134]
77696         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77697         before glibc 2.15.
77698         (tryshell): Define.
77699         (__spawni): Change last parameter to be flag.  Test
77700         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77701         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77702         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77703         * posix/spawni.c: Likewise.
77704         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77705         * posix/spawnp.c: Likewise.  Change normal version to use
77706         SPAWN_XFLAGS_USE_PATH.
77707         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77708         SPAWN_XFLAGS_TRY_SHELL.
77710         [BZ #13150]
77711         * posix/glob.h: Remove gcc 1.x support.
77713         [BZ #13068]
77714         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77716 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77719         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77720         strrchr-sse2-bsf
77721         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77722         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77723         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77724         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77725         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77728 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77730         * sysdeps/x86_64/wcscmp.S: New file.
77732         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77733         wcscmp-c wcscmp-sse2
77734         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77735         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77736         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77737         * wcsmbs/wcscmp.c: Allow renaming.
77739 2011-09-05  David S. Miller  <davem@davemloft.net>
77741         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77742         stack slot, rather than the struct return pointer slot.
77743         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77744         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77746         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77748 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77750         * po/ja.po: Update from translation team.
77752         [BZ #13144]
77753         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77754         kernel in 64-bit binaries.
77756 2011-09-01  David S. Miller  <davem@davemloft.net>
77758         * elf/elf.h (HWCAP_SPARC_*): Move to..
77759         * sysdeps/sparc/sysdep.h: this new file and add new values.
77760         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77761         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77762         _DL_HWCAP_COUNT to 24.
77763         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77764         entries.
77765         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77766         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77767         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77769         instead of magic constants.
77770         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77772 2011-08-31  David S. Miller  <davem@davemloft.net>
77774         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77776         Reimplement to do errno handling inline.
77777         (SYSCALL_ERROR_HANDLER): New macro.
77778         (__SYSCALL_STRING): Do not do errno handling in asm.
77779         (__CLONE_SYSCALL_STRING): Delete.
77780         (__INTERNAL_SYSCALL_STRING): Delete.
77781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77782         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77783         (PSEUDO): Reimplement to do errno handling inline.
77784         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77785         (SYSCALL_ERROR_HANDLER): New macro.
77786         (__SYSCALL_STRING): Do not do errno handling in asm.
77787         (__CLONE_SYSCALL_STRING): Delete.
77788         (__INTERNAL_SYSCALL_STRING): Delete.
77789         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77790         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77791         i386.
77792         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77793         (inline_syscall*): Add 'err' argument.
77794         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77795         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77796         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77797         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77799         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77800         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77802 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77804         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77806 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77808         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77809         directive.
77811 2011-08-24  David S. Miller  <davem@davemloft.net>
77813         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77815 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77817         * elf/Makefile: Add rules to build and run unload8 test.
77818         * elf/unload8.c: New file.
77819         * elf/unload8mod1.c: New file.
77820         * elf/unload8mod1x.c: New file.
77821         * elf/unload8mod2.c: New file.
77822         * elf/unload8mod3.c: New file.
77824         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77825         it wasn't used.
77827 2011-08-23  David S. Miller  <davem@davemloft.net>
77829         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77830         subtract stack bias.
77831         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77832         %sp not %fp in calculations.
77833         (_JMPBUF_UNWINDS_ADJ): Likewise.
77835         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77836         (aio_suspend): Call it to force an exception region around the
77837         AIO_MISC_WAIT() invocation.
77839 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77841         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77842         backslash.
77844 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77846         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77847         protection macro.
77848         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77849         and <dl-machine.h>.
77850         (Elf64_FuncDesc): Remove.
77852 2011-08-22  David S. Miller  <davem@davemloft.net>
77854         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77855         sigaltstack check, add missing cfi directives.
77856         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77857         missing cfi directives, and sigaltstack handling.
77859 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77861         [BZ #11724]
77862         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77863         object is seen twice.
77864         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77866         * elf/Makefile (distribute): Add tst-initorder2.c.
77867         (tests): Add tst-initorder2.
77868         (modules-names): Add tst-initorder2a tst-initorder2b
77869         tst-initorder2c tst-initorder2d.  Add rules to build them.
77870         ($(objpfx)tst-initorder2.out): New rule.
77871         * elf/tst-initorder2.c: New file.
77872         * elf/tst-initorder2.exp: New file.
77874 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77876         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77878         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77879         dependencies back to end of function.
77881         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77882         $(elfobjdir)/ld.so.
77884 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77886         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77887         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77889         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77890         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77891         of __vdso_gettimeofday.
77892         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77893         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77894         attribute_hidden.
77895         (_libc_vdso_platform_setup): Remove initialization of
77896         __vdso_gettimeofday and __vdso_time.
77898 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77900         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77901         and fgetc_unlocked.
77902         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77903         getc_unlocked.
77905         * elf/dl-open.c (add_to_global): Report additions to the global scope
77906         for LD_DEBUG=scopes.
77907         (dl_open_worker): Also print scope of newly loaded dependencies.
77908         (_dl_show_scope): Indicate if there is no scope.
77910         [BZ #13114]
77911         * stdio-common/Makefile (tests): Add bug24.
77912         * stdio-common/bug24.c: New file.
77914 2011-08-19  Andreas Jaeger  <aj@suse.de>
77916         [BZ #13114]
77917         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77918         non-existant file when using close-on-exec mode.
77920 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77922         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77923         the very first instruction.
77925         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77926         the CFI state in the end.
77927         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77928         inclusion of dl-trampoline.h.
77929         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77931 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77933         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77934         expectations for long double.
77936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77937         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77939 2011-08-14  David S. Miller  <davem@davemloft.net>
77941         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77942         artificual limit depends upon the system page size.
77944 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77946         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77947         * resolv/Makefile: Define CFLAGS-libresolv.
77949 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77951         * nss/makedb.c (compute_tables): Make variables used in nested
77952         function static.
77954 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77956         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77957         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77958         if buffer was too small.
77960         * elf/pldd.c (main): Attach to all threads in the process.
77961         Rewrite /proc handling to use *at functions.
77963 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77965         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77966         specifies first scope to show.
77967         (dl_open_worker): Update callers.  Move printing scope of new
77968         object to before the relocation.
77969         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77970         * sysdeps/generic/ldsodefs.h: Update declaration.
77972         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77973         string for the scope number.
77975 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77977         * nscd/servicescache.c (cache_addserv): Make sure written is always
77978         initialized.
77980 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77982         * sysdeps/i386/i486/bits/atomic.h
77983         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77984         statement expression, so as to suppress "set but not used" warning.
77985         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77987         * string/strncat.c (STRNCAT): Use prototype definition.
77989         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77990         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77991         -Iprograms here.
77992         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77993         (localedef-modules): Add localedef.
77994         (locale-modules): Add locale.
77996         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77997         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77998         to avoid a warning.
78000 2011-08-14  David S. Miller  <davem@davemloft.net>
78002         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78003         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78005 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78007         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78008         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78009         * elf/rtld.c (dl_main): Set l_name of vDSO.
78010         Call _dl_show_scope when DL_DEBUG_SCOPES.
78011         (process_dl_debug): Recognize scopes flag and also set it for all.
78012         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78013         Declare _dl_show_scope.
78015         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78016         (do_dlopen): Pass caller_dlopen to dl_open.
78017         (__libc_dlopen_mode): Initialize caller_dlopen.
78019         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78020         of libc.  Make tolower call locale-independent.  Optimize a bit by
78021         using isdigit instead of isalnum.
78022         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78024 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78026         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78027         was a dependency or dynamically loaded.
78029 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78031         * intl/l10nflist.c: Allow architecture-specific pop function.
78032         * sysdeps/x86_64/l10nflist.c: New file.
78034         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78035         classification.
78037 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78039         * include/dirent.h: Add libc_hidden_proto for scandirat and
78040         scandirat64.  Don't declare __scandirat64.
78041         * dirent/scandirat.c: Add libc_hidden_def.
78042         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78043         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78045 2011-08-10  David S. Miller  <davem@davemloft.net>
78047         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78048         enum.
78049         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78050         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78051         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78053 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78055         * Versions.def [libc]: Add GLIBC_2.15.
78056         * dirent/Makefile (routines): Add scandirat and scandirat64.
78057         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78058         GLIBC_2.15.
78059         * dirent/dirent.h: Declare scandirat and scandirat64.
78060         * dirent/scandirat.c: New file.
78061         * dirent/scandirat64.c: New file.
78062         * sysdeps/wordsize-64/scandirat.c: New file.
78063         * sysdeps/wordsize-64/scandirat64.c: New file.
78064         * dirent/opendir.c: Define opendirat.
78065         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78066         using scandirat.
78067         * dirent/scandir64.c: Adjust for scandir.c change.
78068         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78069         __scandirat64, and __scandir_cancel_handler.
78070         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78071         additional parameter and use openat instead of open (outside of ld.so).
78072         Add new __opendir as wrapper around __opendirat.
78073         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78074         here without requiring old scandirat implementation.
78076 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78078         * dirent/scandir.c (cancel_handler): Renamed to
78079         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78080         defined.  Adjust users.
78081         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78082         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78084 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78086         * string/test-string.h (IMPL): Use __STRING to expand name and then
78087         stringify it.
78089         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78090         of cleanups.
78092 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78094         * string/Makefile: Update.
78095         (strop-tests): Append strncat.
78096         * string/test-wcscmp.c: New file.
78097         New comprehensive test for wcscmp.
78098         * string/test-strcmp.c: Update.
78099         (WIDE): New define.
78101 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78103         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78104         line.
78106 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78109         encoding to ACE if AI_IDN.
78111 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78114         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78116 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78118         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78119         Fix overflow bug in strncat.
78120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78122         * string/test-strncat.c: Update.
78123         Add new tests for checking overflow bugs.
78125 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78128         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78129         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78130         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78131         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78132         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78133         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78134         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78135         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78138         (USE_AS_STRCAT): Define.
78139         Add strcat and strncat support.
78140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78142 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78144         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78145         __n bigger than INT_MAX+1.
78146         (__strncmp_g): Likewise.
78148 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78150         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78151         * libio/stido.h: Likewise.
78153         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78154         (AF_NFC): Define.
78155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78156         (AF_NFC): Define.
78158         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78161         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78162         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78164         [BZ #13021]
78165         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78166         installed.
78168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78169         typo.
78170         (_dl_x86_64_save_sse): Likewise.
78172 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78174         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78175         OSXSAVE.
78176         (_dl_x86_64_save_sse): Likewise.
78178         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78180         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78182 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78185         change.
78186         (_dl_x86_64_save_sse): Use correct AVX check.
78188 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78190         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78191         bug in strncpy/strncat.
78192         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78194 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78196         * string/tester.c (test_strcat): Add tests for different alignments
78197         of source and destination.
78198         (test_strncat): Likewise.
78200 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78202         [BZ #12852]
78203         * posix/glob.c (glob): Check passed in values before using them in
78204         expressions to avoid some overflows.
78205         (glob_in_dir): Likewise.
78207         [BZ #13007]
78208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78209         check for AVX enablement so that we don't crash with old kernels and
78210         new hardware.
78211         * elf/tst-audit4.c: Add same checks here.
78212         * elf/tst-audit6.c: Likewise.
78214         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78216 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78218         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78220 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78222         * po/cs.po: Update from translation team.
78223         * po/bg.po: Likewise.
78225 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78227         * misc/sys/cdefs.h: Add support for const attribute.
78228         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78229         to gnu_dev_{major,minor,makedev} functions.
78231 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78233         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78235 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78237         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78238         strlen results.
78240 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78243         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78244         register in order to avoid conflicts with the soft frame pointer
78245         being held in r11 when necessary.
78246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78247         (INTERNAL_VSYSCALL_NCS): Likewise.
78249 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78251         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78252         * elf/dl-fini.c (_dl_fini): Adjust caller.
78253         * elf/dl-close.c (_dl_close_worker): Likewise.
78254         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78256 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78258         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78259         "aux_cache->nlibs < 0".
78261         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78262         in the reload-count case.
78264 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78267         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78268         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78269         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78270         * sysdeps/x86_64/multiarch/strcat.S: New file.
78271         * sysdeps/x86_64/multiarch/strncat.S: New file.
78272         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78273         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78274         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78275         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78276         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78277         (USE_AS_STRCAT): Define.
78278         Add strcat and strncat support.
78279         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78281         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78282         * string/strncat.c: Update.
78283         (USE_AS_STRNCAT): Define.
78284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78285         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78286         and i7.
78287         * sysdeps/x86_64/multiarch/init-arch.h
78288         (bit_Prefer_PMINUB_for_stringop): New.
78289         (index_Prefer_PMINUB_for_stringop): Likewise.
78290         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78291         bit_Prefer_PMINUB_for_stringop.
78293 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78295         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78296         buffer64.
78297         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78298         of casting of buffer.
78299         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78300         buffer32 and buffer64.
78301         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78302         writes instead of casting of buffer.
78303         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78304         buffer32.
78305         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78306         casting of buffer.
78308 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78310         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78312 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78314         * nscd/nscd.c (termination_handler): Don't do anything for a database
78315         if it has not yet been initialized.
78317 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78319         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78321 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78323         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78325 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78327         * po/nl.po: Update from translation team.
78328         * po/sv.po: Likewise.
78330 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78332         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78333         now disallowed by GCC.
78335         * configure.in (use-default-link): Default to yes if a test -shared
78336         link meets our qualifications.
78337         * configure: Regenerated.
78339         * config.make.in (output-format): New variable.
78340         * configure.in: Check for ld --print-output-format support.
78341         * configure: Regenerated.
78342         * Makerules ($(common-objpfx)format.lds)
78343         [$(output-format) != unknown]: Just use $(output-format),
78344         instead of the linker-script munging.
78346 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78348         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78349         of $(common-objpfx)shlib.lds.
78350         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78352         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78353         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78355         * configure.in (-z relro check): Adjust test code to add a large
78356         writable data section after it.
78357         * configure: Regenerated.
78359 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78361         * configure.in (-z relro check): Fix test code to make the variable
78362         truly const.
78363         * configure: Regenerated.
78365 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78367         * nscd/nscd.h (struct traced_file): Define.
78368         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78369         elements.  Add traced_files.
78370         (inotify_fd): Declare.
78371         (register_traced_file): Declare.
78372         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78373         (inotify_fd): Export.
78374         (resolv_conf_descr): Remove.
78375         (nscd_init): Move inotify descriptor creation to main.
78376         Don't register files for notification here.
78377         (register_traced_file): New function.
78378         (invalidate_cache): Don't use reset_res to determine whether to call
78379         res_init, go through the list of registered files.
78380         (main_loop_poll): The inotify descriptors are now stored in the
78381         structures for the traced files.
78382         (main_loop_epoll): Likewise.
78383         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78384         to __nss_disable_nscd.
78385         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78386         for a database anymore.  Check the records for all the registered
78387         files instead.
78388         * nss/Makefile (libnss_files-routines): Add files-init.
78389         (libnss_db-routines): Add db-init.
78390         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78391         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78392         * nss/nss_db/db-init.c: New file.
78393         * nss/nss_files/files-init.c: New file.
78394         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78395         __nss_lookup_function.
78396         (__nss_lookup_function): Call nss_load_library.
78397         (nss_load_all_libraries): New function.
78398         (__nss_disable_nscd): Take parameter with callback function for files
78399         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78400         used for the cached services.
78401         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78402         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78403         options for features to all the files in nscd.
78405         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78407 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78409         * csu/elf-init.c (__libc_csu_init): Comment typo.
78411 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78413         * po/pl.po: Update from translation team.
78414         * po/ja.po: Likewise.
78415         * po/ru.po: Likewise.
78416         * po/ko.po: Likewise.
78417         * po/fr.po: Likewise.
78419 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78421         * configure.in (.ctors/.dtors header and trailer check):
78422         Use an empirical test on a built program.
78423         * configure: Regenerated.
78425         * configure.in (-z relro check): Use an empirical test on a built DSO.
78426         Detect, but do not require, on ia64.
78427         * configure: Regenerated.
78429         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78430         Update tests that use readelf to use $READELF instead.
78431         * configure: Regenerated.
78433 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78435         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78436         if the result is not used.
78438 2011-07-05  Andreas Jaeger  <aj@suse.de>
78440         [BZ#9696]
78441         * stdlib/tst-strtod.c: Add testcase.
78443 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78445         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78446         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78447         The latter has a higher limit.  Take additional parameter to pass to
78448         the new function.
78449         (__pathconf): Pass file to __statfs_link_max.
78450         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78451         __statfs_link_max.
78452         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78453         __statfs_link_max.
78455         [BZ #12868]
78456         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78457         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78458         Handle Lustre.
78459         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78460         (__statfs_filesize_max): Likewise.
78461         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78463 2011-07-05  Andreas Jaeger  <aj@suse.de>
78465         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78467 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78469         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78470         `status' variable.
78471         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78472         Likewise.
78474 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78476         * Makefile (strop-tests): Add strncat.
78477         * string/test-strncat.c: New file.
78479 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78481         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78483 2011-06-21  Andreas Jaeger  <aj@suse.de>
78485         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78486         Copy rule from iconvdata/Makefile.
78488 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78490         [BZ #12922]
78491         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78492         but no long options are defined, just return 'W'.
78494 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78496         [BZ #9696]
78497         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78499 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78501         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78502         netgroups to read.
78503         (innetgr): Likewise.
78505 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78507         * config.make.in (install_root): Default to $(DESTDIR).
78509 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78511         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78513 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78515         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78517         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78518         containing directory rather than embedding absolute directory names.
78520         * scripts/check-local-headers.sh: Rewritten using awk.
78521         Match by word, not by line.  Print error messages for matches.
78522         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78524         * Makerules [shlib-lds-flags empty]:
78525         ($(common-objpfx)libc_pic.opts): New target.
78526         ($(common-objpfx)libc_pic.os.clean): New target.
78527         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78529         * config.make.in (OBJCOPY): New variable.
78530         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78531         * configure: Regenerated.
78533         * config.make.in (use-default-link): New variable.
78534         * configure.in (use_default_link): Grok --with-default-link to set it.
78535         * configure: Regenerated.
78536         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78537         (shlib-lds, shlib-lds-flags): Define to empty.
78539         * Makerules (shlib-lds): New variable.
78540         (shlib-lds-flags): New variable.
78541         (build-shlib, build-moduile, build-module-asneeded): Use it.
78542         ($(common-objpfx)libc.so): Use $(shlib-lds).
78543         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78544         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78546         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78547         DT_FLAGS/DT_FLAGS_1 with zero flags.
78549         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78550         linker script munging.
78552 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78554         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78555         as 128-bit value.
78556         * crypt/sha512.c (sha512_process_block): Perform total addition using
78557         128-bit if possible.
78558         (__sha512_finish_ctx): Likewise.
78559         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78560         as 64-bit value.
78561         * crypt/sha256.c (SWAP64): Define.
78562         (sha256_process_block): Perform total addition using 64-bit if
78563         possible.
78564         (__sha256_finish_ctx): Likewise.
78566 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78568         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78569         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78570         * nscd/hstcache.c (cache_addhst): Likewise.
78571         * nscd/grpcache.c (cache_addgr): Likewise.
78572         * nscd/aicache.c (addhstaiX): Likewise.
78573         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78575 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78577         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78578         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78579         * nscd/hstcache.c (cache_addhst): Likewise.
78580         * nscd/grpcache.c (cache_addgr): Likewise.
78581         * nscd/aicache.c (addhstaiX): Likewise.
78583 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78585         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78586         domain only when needed.
78588 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78591         is always restored.
78593 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78595         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78596         are re-adding the entry.
78597         * nscd/servicescache.c (cache_addserv): Likewise.
78599 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78601         * sysdeps/generic/dl-irel.h: fix protection against multiple
78602         inclusions.
78603         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78605 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78607         [BZ #12935]
78608         * malloc/memusage.sh: Fix quoting in message.
78609         * debug/xtrace.sh: Likewise.
78611         * configure.in: Remove support for --experimental-malloc option, make
78612         it the default.
78613         * config.make.in: Likewise.
78614         * malloc/Makefile: Likewise.
78616 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78618         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78619         two-byte characters.
78621 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78623         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78624         AC_CACHE_CHECK invocation.
78625         * configure: Regenerated.
78627         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78629 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78631         [BZ #12350]
78632         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78633         bit from old_res_options.
78635         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78637         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78638         value type for setfct.
78640 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78643         __gettimeofday instead of gettimeofday.
78645 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78647         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78649 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78651         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78654         info.
78656 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78659         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78660         strcpy-sse2-unaligned strncpy-sse2-unaligned
78661         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78662         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78663         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78664         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78665         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78666         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78667         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78668         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78669         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78670         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78671         (STRCPY): Support SSE2 and SSSE3 versions.
78673 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78675         [BZ #12874]
78676         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78677         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78678         kernels which artificially limit size of requests.
78680 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78683         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78684         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78685         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78686         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78687         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78688         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78689         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78690         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78692         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78693         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78694         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78695         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78696         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78698         Enable unaligned load optimization for Intel Core i3, i5 and i7
78699         processors.
78700         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78701         Define.
78702         (index_Fast_Unaligned_Load): Define.
78703         (HAS_FAST_UNALIGNED_LOAD): Define.
78705 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78707         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78709 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78711         [BZ #12907]
78712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78713         until it is clear that the information is realy needed.
78714         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78716 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78720 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78722         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78723         /sys/devices/system/cpu/online if it is usable.
78725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78726         reading the information from the /proc filesystem to once a second.
78728 2011-06-21  Andreas Jaeger  <aj@suse.de>
78730         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78731         NULL after inclusion of kernel headers.
78733 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78735         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78736         calls to internal_setent.
78738         [BZ #12885]
78739         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78740         addresses using gethostbyname4_r ignore IPv4 addresses.
78742         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78743         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78745         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78747 2011-06-20  David S. Miller  <davem@davemloft.net>
78749         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78750         inclusions.
78751         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78753         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78754         (elf_irel): Use it.
78755         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78756         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78757         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78758         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78759         * sysdeps/x86_64/dl-irel.h: Likewise.
78761         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78762         * elf/dl-sym.c: Likewise.
78764 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78766         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78767         need to dereference resplen2.
78769 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78771         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78773 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78775         * Makeconfig: Define vardbdir and inst_vardbdir.
78776         * nss/Makefile: Add rules to install db-Makefile.
78778         * nss/nss_db/db-XXX.c: Cleanup.
78780         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78781         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78782         GLIBC_PRIVATE.
78783         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78784         * nss/makedb.c: Implement -g option to specify that value strings
78785         are generated and should not be added to table iterated over for
78786         get*ent calls.
78787         * nss/nss_db/db-initgroups.c: New file.
78789         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78790         interface.
78792         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78793         (internal_getgrouplist): Adjust to name change.
78794         Update use_initgroups_entry if this is not the first call.
78795         * nss/databases.def: Add initgroups entry.
78797         * nss/makedb.c (compute_tables): Check result of multiple hash table
78798         sizes to minimize maximum chain length.
78800 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78802         * Versions.def: Add entry for libnss_db.
78803         * shlib-versions: Likewise.
78804         * nss/Makefile: Add rules to build libnss_db.
78805         * nss/Versions: Add libnss_db information.  Organize libnss_files
78806         entries better.
78807         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78808         makedb progra.  Some minor improvements to generate smaller files.
78809         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78810         here from...
78811         * nss/makedb.c: ...here.
78812         Improve database format to be smaller and require less memory at
78813         runtime.
78814         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78815         db anymore.
78816         * nss/nss_db/db-netgrp.c: Likewise.
78817         * nss/nss_db/db-open.c: Likewise.
78818         * nss/nss_files/flies-XXX.x: Adjust comments.
78819         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78820         * nss/nss_files/files-grp.c: Likewise.
78821         * nss/nss_files/files-hosts.c: Likewise.
78822         * nss/nss_files/files-network.c: Likewise.
78823         * nss/nss_files/files-proto.c: Likewise.
78824         * nss/nss_files/files-pwd.c: Likewise.
78825         * nss/nss_files/files-rpc.c: Likewise.
78826         * nss/nss_files/files-service.c: Likewise.
78827         * nss/nss_files/files-sgrp.c: Likewise.
78828         * nss/nss_files/files-spwd.c: Likewise.
78829         * nss/nss_db/db-alias.c: Removed.
78830         * nss/nss_db/dummy-db.h: Removed.
78832 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78834         * nss/makedb.c: Rewritten to not use database library.
78835         * nss/Makefile: Update to build new makedb program.
78837 2011-06-14  Andreas Jaeger  <aj@suse.de>
78839         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78840         memset declaration.
78842 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78845         tmpbuf.
78847 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78849         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78850         * elf/Makefile ($(objpfx)ld.so): Likewise.
78852         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78853         Don't list ld.so twice in dependencies.
78855         * posix/bug-regex31.c: Include <stdlib.h>.
78857         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78859         * nis/nss_compat/compat-spwd.c
78860         (getspent_next_nss_netgr): Remove unused variable.
78861         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78863         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78864         nonmembers" output to use the right array.
78866         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78868         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78870         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78871         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78872         * catgets/gencat.c (read_input_file): Likewise.
78873         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78875         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78876         variable definition inside #if's controlling its use.
78878         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78880         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78882         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78884         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78885         unreachable code.
78887         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78889         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78890         * configure: Regenerated.
78892         * Makerules: Revert last change.
78893         * elf/Makefile: Likewise.
78895 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78897         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78898         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78899         (reloc-link): Likewise.
78901 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78903         * elf/Makefile: Add rules to build pldd.
78904         * elf/pldd.c: New file.
78905         * elf/pldd-xx.c: New file.
78907 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78909         * version.h: Update for 2.15 development version.
78911 2011-06-07  David S. Miller  <davem@davemloft.net>
78913         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78914         ifuncs.
78915         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78916         elf_machine_lazy_rel): Likewise.
78917         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78919         elf_machine_lazy_rel): Likewise.
78920         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78921         dl_hwcap via passed in argument.
78922         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78923         Likewise.
78925 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78927         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78929 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78931         [BZ #12849]
78932         * manual/fdl-1.1.texi: New file, verbatim from:
78933         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78934         * manual/lgpl-2.1.texi: New file, verbatim from:
78935         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78936         * manual/Makefile (licenses): New variable, list those new file names.
78937         (texis): Use it.
78938         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78940         * manual/fdl.texi: File removed.
78941         * manual/lesser.texi: File removed.
78942         * manual/libc.texinfo (Copying, Documentation License):
78943         Use new @include file names, put @appendix directive before @include.
78945 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78947         [BZ #12841]
78948         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78949         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78950         (mq_open): Add __NTH.
78952 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78955         Assume Intel Core i3/i5/i7 processor if AVX is available.
78957 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78960         typo.
78962 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78964         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78965         memory.  Use alloca_account.  Fix memory leak when retrying.
78967 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78969         * version.h (RELEASE): Bump for 2.14 release.
78970         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78972         * config.make.in (RANLIB): Remove entry.
78974 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78976         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78977         (libc.pot): Work around missing support for .ksh extension in xgettext.
78979         [BZ #12684]
78980         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78981         if both request failed.
78982         (send_dg): In case of server errors clear resplen or *resplen2.
78984         [BZ #12454]
78985         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78986         when there are multiple maps.
78987         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78988         (_dl_fini): Remove test here.
78990         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78992 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78994         [BZ #12350]
78995         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78996         bit from old_res_options.
78997         (gaih_inet): Likewise.
78999         [BZ #11099]
79000         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79001         as signed.
79003         * resolv/res_init.c (res_setoptions): Make the code more compact.
79005         [BZ #11558]
79006         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79007         set RES_USEVC.
79009         [BZ #11634]
79010         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79012         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79014         [BZ #11781]
79015         * malloc/malloc.h: Declare malloc hook variables as volatile.
79017         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79018         in last patch.
79020         [BZ #11799]
79021         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79022         raise in the comment.
79023         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79025         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79027 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79029         [BZ #12811]
79030         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79031         grow the buffers more if it already has to be sufficient.
79032         (build_wcs_upper_buffer): Likewise.
79033         * posix/regexec.c (check_matching): Likewise.
79034         (clean_state_log_if_needed): Likewise.
79035         (extend_buffers): Don't enlarge buffers beyond size of the input
79036         buffer.
79037         Patches mostly by Emil Wojak <emil@wojak.eu>.
79038         * posix/bug-regex32.c: New file.
79039         * posix/Makefile (tests): Add bug-regex32.
79041         * locale/findlocale.c (_nl_find_locale): Return right away if
79042         _nl_explode_name failed.
79043         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79045         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79047         * debug/xtrace.sh: Unify messages.
79048         * malloc/memusage.sh: Likewise.
79050         [BZ #12813]
79051         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79052         time symbol from vDSO.  Substitute with vsyscall if not available.
79053         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79054         __vdso_time.
79056         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79057         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79058         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79059         Add sendmmsg and internal_sendmmsg.
79060         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79061         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79062         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79064         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79065         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79066         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79068 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79070         [BZ #12813]
79071         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79072         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79073         available.
79074         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79075         __vdso_getcpu.
79077         [BZ #12814]
79078         * iconvdata/Makefile (tests): Add bug-iconv9.
79079         * iconvdata/bug-iconv9.c: New file.
79081 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79083         [BZ #12814]
79084         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79086 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79089         (struct user_regs_struct): Change intcs field back to cs.
79091 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79093         * po/ja.po: Update from translation team.
79095 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79097         [BZ #12795]
79098         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79099         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79101 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79103         * stdlib/longlong.h: Update from GCC.
79105 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79107         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79108         parameter name.
79109         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79110         Add parameter name.
79111         (__sysconf): Pass it down.
79113 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79115         [BZ #12671]
79116         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79117         some situations.
79118         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79119         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79120         add in in __libc_use_alloca calls.  Adjust callers.
79121         (glob): Use malloc in some situations.
79123         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79124         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79125         pltexit.
79127 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79129         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79130         and CLOCK_BOOTTIME_ALARM.
79132         [BZ #12782]
79133         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79134         is returned.
79136         * string/_strerror.c (__strerror_r): Print negative errors as signed
79137         numbers.
79139         [BZ #12777]
79140         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79141         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79142         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79144         * configure.in: Fix typo in redirection and correct removal of test
79145         files in two cases.
79147         [BZ #12788]
79148         * locale/setlocale.c (new_composite_name): Fix test to check for
79149         identical name of all categories.
79151         [BZ #12792]
79152         * libio/filedoalloc.c (local_isatty): New function.
79153         (_IO_file_doallocate): Use local_isatty.
79154         * stdio-common/perror.c (perror): In case a new stream is used
79155         forward the stream error.
79156         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79157         error flag.
79159 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79161         [BZ #11884]
79162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79163         alloca.
79164         * include/alloca.h (extend_alloca_account): Define.
79166         [BZ #11857]
79167         * posix/regex.h: Fix comments with documentation of user-accessible
79168         fields after compilation and describe correct free'ing of pattern
79169         after re_compile_pattern.
79170         Patch by Reuben Thomas <rrt@sc3d.org>.
79172 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79174         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79175         and -mno-altivec to prevent the compiler from using Altivec and/or
79176         VSX instructions when the corresponding registers are not available.
79178 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79180         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79182 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79184         * libio/freopen.c (freopen): Use __dup2, not dup2.
79185         * libio/freopen64.c (freopen64): Likewise.
79187 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79189         [BZ #12775]
79190         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79191         * math/Makefile (tests): Add test-powl.
79192         (CFLAGS-test-powl.c): Define.
79193         * math/test-powl.c: New file.
79195 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79197         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79199 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79201         [BZ #11837]
79202         * iconvdata/gb18030.c: Update to GB18020-2005.
79204 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79206         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79207         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79208         Patch by Aharon Robbins <arnold@skeeve.com>.
79210         [BZ #11892]
79211         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79212         on the stack.
79214         [BZ #11895]
79215         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79216         through underflows.
79218         [BZ #12766]
79219         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79220         point to strings before performing equality test for error_one_per_line
79221         mode.
79223         [BZ #11697]
79224         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79226         [BZ #11820]
79227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79228         (struct user_fpregs_struct): Avoid __uint*_t types.
79230         [BZ #6420]
79231         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79232         symbol info.  Use it instead of calling _dl_addr locally.
79233         (lock_and_info): New function.
79234         (tr_freehook): Call lock_and_info and pass symbol info as additional
79235         parameter to tr_where.
79236         (tr_mallochook): Likewise.
79237         (tr_reallochook): Likewise.
79238         (tr_memalignhook): Likewise.
79240         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79241         used and couldn't be at all thread-safe.
79243 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79245         * libio/freopen.c (freopen): Don't close old file descriptor
79246         before the new one is opened.  Instead dup the new file descriptor
79247         to the old one after the new stream is created.
79248         * libio/freopen64.c (freopen64): Likewise.
79249         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79250         * libio/fileops.c (_IO_new_file_close_it): Handle new
79251         _IO_FLAGS2_NOCLOSE flag.
79252         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79253         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79254         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79255         _IO_FLAGS2_NOCLOSE flag.
79256         * include/unistd.h: Add hidden_proto for dup3.
79257         Define __have_dup3.
79258         * io/dup3.c: Define hidden symbol.
79259         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79261         [BZ #7101]
79262         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79263         when an incomplete long option is used.
79264         * posix/tst-getopt_long1.c: New file.
79265         * posix/Makefile (tests): Add tst-getopt_long1.
79267         [BZ #10138]
79268         * scripts/config.guess: Update from autoconf-2.68.
79269         * scripts/config.sub: Likewise.
79271         [BZ #10157]
79272         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79273         tests into ...
79274         (has_cpuclock): ...this.  New function.
79275         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79276         macro here based on has_cpuclock code.
79278         [BZ #10149]
79279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79280         First byte (not low byte) is now always NUL.
79281         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79283         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79284         Use non-cancelable interfaces.
79286         [BZ #9809]
79287         * locale/iso-639.def: Add entry for Sorani.
79289         [BZ #11901]
79290         * include/stdlib.h: Move include protection to the right place.
79291         Define abort_msg_s.  Declare __abort_msg with it.
79292         * stdlib/abort.c (__abort_msg): Adjust type.
79293         * assert/assert.c (__assert_fail_base): New function.  Majority
79294         of code from __assert_fail.  Allocate memory for __abort_msg with
79295         mmap.
79296         (__assert_fail): Now call __assert_fail_base.
79297         * assert/assert-perr.c: Remove bulk of implementation.  Use
79298         __assert_fail_base.
79299         * include/assert.hL Declare __assert_fail_base.
79300         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79301         mmap.
79302         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79304 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79306         [BZ #11952]
79307         [BZ #12453]
79308         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79309         until all modules are registered in the DTV.
79310         * elf/Makefile: Add rules to build and run tst-tls19.
79311         * elf/tst-tls19.c: New file.
79312         * elf/tst-tls19mod1.c: New file.
79313         * elf/tst-tls19mod2.c: New file.
79314         * elf/tst-tls19mod3.c: New file.
79315         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79317         [BZ #12083]
79318         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79319         correctly.
79321         [BZ #12601]
79322         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79323         two-byte sequence errors.
79324         * iconvdata/Makefile (tests): Add bug-iconv8.
79325         * iconvdata/bug-iconv8.c: New file.
79327         [BZ #12626]
79328         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79329         buf2 definition.
79331         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79333         [BZ #12432]
79334         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79335         (dummy_getcfa): New function.
79336         (init): Get _Unwind_GetCFA address, use dummy if not found.
79337         (backtrace_helper): In recursion check, also check whether CFA changes.
79338         (__backtrace): Completely initialize arg.
79340         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79341         storing incomplete byte sequence in state object.  Avoid testing for
79342         guaranteed too small input if we know there is enough data available.
79344 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79346         * Makeconfig (+link-pie): Indent.
79347         * Rules (binaries-pie): Define if $(have-fpie) and
79348         $(build-shared).
79349         (binaries-shared): Also filter out $(binaries-pie).
79350         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79351         * nscd/Makefile (others-pie): Add nscd.
79352         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79353         ($(objpfx)nscd): Remove command override.
79354         * login/Makefile (others-pie): Add pt_chown.
79355         ($(objpfx)pt_chown): Remove command override.
79356         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79357         remove command overrides.
79359 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79361         * libio/tst_putwc.c: Fix error messages.
79363         [BZ #12724]
79364         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79365         currently writing and seek to current position when not.
79366         * libio/Makefile (tests): Add bug-fclose1.
79367         * libio/bug-fclose1.c: New file.
79369 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79371         [BZ #12511]
79372         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79373         don't set DF_1_NODELETE here.
79374         (do_lookup_x): When entering new entry test for copy relocation
79375         and if necessary set DF_1_NODELETE flag.
79376         * elf/tst-unique4.cc: New file.
79377         * elf/tst-unique4.h: New file.
79378         * elf/tst-unique4lib.cc: New file.
79379         * elf/Makefile: Add rules to build and run tst-unique4.
79380         Patch by Piotr Bury <pbury@goahead.com>.
79382 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79384         [BZ #12052]
79385         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79387         [BZ #12625]
79388         * misc/mntent_r.c (addmntent): Flush the stream after the output
79390         [BZ #12393]
79391         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79392         (is_trusted_path_normalize): Skip initial colon.  Append slash
79393         to empty buffer.  Duplicate is_trusted_path code but allow
79394         constructed patch to be prefix.
79395         (is_dst): Allow $ORIGIN followed by /.
79396         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79397         Correct testing of result of is_trusted_path_normalize
79398         (decompose_rpath): Fix warning.
79400 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79402         [BZ #11257]
79403         * grp/initgroups.c (internal_getgrouplist): When we found the service
79404         list through the initgroups entry in nsswitch.conf do not always
79405         continue on a successful lookup.  Don't always use the
79406         __nss_group_database value if it is set.
79407         * nss/nsswitch.conf (initgroups): Change action for successful db
79408         lookup to continue for compatibility.
79410 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79412         [BZ #11532]
79413         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79414         and CP774 modules.
79415         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79416         and CP774 modules.
79417         * iconvdata/tst-tables.sh: Likewise.
79418         * iconvdata/cp770.c: New file.
79419         * iconvdata/cp771.c: New file.
79420         * iconvdata/cp772.c: New file.
79421         * iconvdata/cp773.c: New file.
79422         * iconvdata/cp774.c: New file.
79423         * iconvdata/testdata/CP770: New file.
79424         * iconvdata/testdata/CP770..UTF8: New file.
79425         * iconvdata/testdata/CP771: New file.
79426         * iconvdata/testdata/CP771..UTF8: New file.
79427         * iconvdata/testdata/CP772: New file.
79428         * iconvdata/testdata/CP772..UTF8: New file.
79429         * iconvdata/testdata/CP773: New file.
79430         * iconvdata/testdata/CP773..UTF8: New file.
79431         * iconvdata/testdata/CP774: New file.
79432         * iconvdata/testdata/CP774..UTF8: New file.
79434         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79435         END CHARMAP line.
79436         * iconvdata/gen-8bit-gap.sh: Likewise.
79437         * iconvdata/gen-8bit.sh: Likewise.
79439         * locale/iso-639.def: Add ary entry.
79441         [BZ #11258]
79442         * locale/C-translit.h.in: Add U20A1 transliteration.
79444         [BZ #12178]
79445         * locale/iso-639.def: Add wae entry.
79446         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79448         [BZ #12545]
79449         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79450         for n.
79452         [BZ #12711]
79453         * locale/C-translit.h.in: Add entry for U20B9.
79454         Patch by pravin.d.s@gmail.com.
79456 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79458         [BZ #12713]
79459         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79460         ENAMETOOLONG use generic getcwd.
79461         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79462         in rtld.  Use *stat64.
79463         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79464         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79465         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79466         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79467         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79468         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79469         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79470         __fstatat64 macros.
79471         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79472         * dirent/rewinddir.c: Add libc_hidden_def.
79473         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79474         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79476         * include/dirent.h (__alloc_dir): Add flags parameter.
79477         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79478         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79479         __alloc_dir.
79480         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79481         from fdopendir if O_CLOEXEC is already set.
79483 2011-03-15  Alan Modra  <amodra@gmail.com>
79485         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79486         l_tls_firstbyte_offset non-zero.  Save padding offset in
79487         l_tls_firstbyte_offset for later use.
79488         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79489         freeing static tls block.
79491 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79493         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79494         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79495         being defined by the kernel headers.
79497 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79499         [BZ #12734]
79500         * resolv/resolv.h: Define RES_NOTLDQUERY.
79501         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79502         no-tld-query and set RES_NOTLDQUERY.
79503         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79504         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79505         modern BIND to search name as TLD unless forbidden.
79507 2011-05-07  Petr Baudis  <pasky@suse.cz>
79508             Ulrich Drepper  <drepper@gmail.com>
79510         [BZ #12393]
79511         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79512         (is_trusted_path): ...to here.
79513         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79514         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79515         using is_trusted_path_normalize() in setuid scripts.
79517 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79519         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79520         __BEGIN/__END_DECLS.
79522 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79524         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79525         NSS_STATUS_NOTFOUND if no record was found.
79527 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79529         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79530         (headers-not-in-tirpc): Remove rpc/netdb.h
79531         * resolv/netdb.h: Revert last change.
79533 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79535         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79536         circular dependency between libgcc.a and libc.a.
79538 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79540         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79541         * nis/Makefile: Don't install rpcsvc/*.
79542         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79543         instead of <rpc/types.h>.
79544         (MAXHOSTNAMELEN): Define.
79546 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79548         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79550 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79552         [BZ #12714]
79553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79554         gethostbyname4_r when IPv6 results are possible.
79556 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79558         [BZ #12723]
79559         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79560         _PC_PIPE_BUF handling.
79562 2011-04-30  Bruno Haible  <bruno@clisp.org>
79564         [BZ #12717]
79565         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79566         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79567         to 'int'.
79568         * inet/getnameinfo.c (getnameinfo): Likewise.
79570 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79572         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79573         to groups setting in database lookup.
79574         * nss/nsswitch.conf: Add initgroups entry.
79576 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79578         [BZ #12685]
79579         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79580         mode string.
79581         Patch by Eric Blake <eblake@redhat.com>.
79583 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79585         * sunrpc/Makefile (need-export-routines): Add svc_run.
79586         (routines): Remove svc_run.
79587         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79588         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79589         * sunrpc/svc_run.c (svc_run): Likewise.
79590         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79592 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79594         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79595         problem in reallocation in last patch.
79597 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79599         * sunrpc/Makefile: Move inclusion of Rules.
79601 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79603         * nss/nss_files/files-initgroups.c: New file.
79604         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79605         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79606         _nss_files_initgroups_dyn.
79608 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79610         * elf/elf.h (R_ARM_IRELATIVE): Define.
79612 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79614         * po/ru.po: Update from translation team.
79616 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79618         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79619         dependencies.
79621 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79623         [BZ #12653]
79624         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79625         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79626         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79627         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79628         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79630 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79632         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79633         differing bytes.
79634         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79635         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79636         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79638 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79640         [BZ #12420]
79641         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79642         storing it.
79643         * stdlib/bug-getcontext.c: New file.
79644         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79646 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79648         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79649         instructions into .machine "z9-109".
79650         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79651         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79653 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79655         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79656         between environment variables and auxiliary vector.
79658 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79660         * Makefile: Add rules to build linkobj/libc.so.
79661         * include/libc-symbols.h: Define libc_hidden_nolink.
79662         * include/rpc/auth.h: Mark functions which are to be hidden.
79663         * include/rpc/auth_des.h: Likewise.
79664         * include/rpc/auth_unix.h: Likewise.
79665         * include/rpc/clnt.h: Likewise.
79666         * include/rpc/des_crypt.h: Likewise.
79667         * include/rpc/key_prot.h: Likewise.
79668         * include/rpc/pmap_clnt.h: Likewise.
79669         * include/rpc/pmap_prot.h: Likewise.
79670         * include/rpc/pmap_rmt.h: Likewise.
79671         * include/rpc/rpc_msg.h: Likewise.
79672         * include/rpc/svc.h: Likewise.
79673         * include/rpc/svc_auth.h: Likewise.
79674         * include/rpc/xdr.h: Likewise.
79675         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79676         * nss/Makefile: Likewise.
79677         * sunrpc/Makefile: Don't install headers.  Build library with normal
79678         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79679         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79680         for the compat linking library.  Remove use of INTDEF/INTUSE.
79681         * sunrpc/auth_none.c: Likewise.
79682         * sunrpc/auth_unix.c: Likewise.
79683         * sunrpc/authdes_prot.c: Likewise.
79684         * sunrpc/authuxprot.c: Likewise.
79685         * sunrpc/clnt_gen.c: Likewise.
79686         * sunrpc/clnt_perr.c: Likewise.
79687         * sunrpc/clnt_raw.c: Likewise.
79688         * sunrpc/clnt_simp.c: Likewise.
79689         * sunrpc/clnt_tcp.c: Likewise.
79690         * sunrpc/clnt_udp.c: Likewise.
79691         * sunrpc/clnt_unix.c: Likewise.
79692         * sunrpc/des_crypt.c: Likewise.
79693         * sunrpc/des_soft.c: Likewise.
79694         * sunrpc/get_myaddr.c: Likewise.
79695         * sunrpc/key_call.c: Likewise.
79696         * sunrpc/key_prot.c: Likewise.
79697         * sunrpc/netname.c: Likewise.
79698         * sunrpc/pm_getmaps.c: Likewise.
79699         * sunrpc/pm_getport.c: Likewise.
79700         * sunrpc/pmap_clnt.c: Likewise.
79701         * sunrpc/pmap_prot.c: Likewise.
79702         * sunrpc/pmap_prot2.c: Likewise.
79703         * sunrpc/pmap_rmt.c: Likewise.
79704         * sunrpc/publickey.c: Likewise.
79705         * sunrpc/rpc_cmsg.c: Likewise.
79706         * sunrpc/rpc_common.c: Likewise.
79707         * sunrpc/rpc_dtable.c: Likewise.
79708         * sunrpc/rpc_prot.c: Likewise.
79709         * sunrpc/rpc_thread.c: Likewise.
79710         * sunrpc/rtime.c: Likewise.
79711         * sunrpc/svc.c: Likewise.
79712         * sunrpc/svc_auth.c: Likewise.
79713         * sunrpc/svc_authux.c: Likewise.
79714         * sunrpc/svc_raw.c: Likewise.
79715         * sunrpc/svc_run.c: Likewise.
79716         * sunrpc/svc_simple.c: Likewise.
79717         * sunrpc/svc_tcp.c: Likewise.
79718         * sunrpc/svc_udp.c: Likewise.
79719         * sunrpc/svc_unix.c: Likewise.
79720         * sunrpc/svcauth_des.c: Likewise.
79721         * sunrpc/xcrypt.c: Likewise.
79722         * sunrpc/xdr.c: Likewise.
79723         * sunrpc/xdr_array.c: Likewise.
79724         * sunrpc/xdr_float.c: Likewise.
79725         * sunrpc/xdr_intXX_t.c: Likewise.
79726         * sunrpc/xdr_mem.c: Likewise.
79727         * sunrpc/xdr_rec.c: Likewise.
79728         * sunrpc/xdr_ref.c: Likewise.
79729         * sunrpc/xdr_sizeof.c: Likewise.
79730         * sunrpc/xdr_stdio.c: Likewise.
79732 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79734         [BZ #12650]
79735         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79736         * sysdeps/ia64/dl-tls.h: Likewise.
79737         * sysdeps/powerpc/dl-tls.h: Likewise.
79738         * sysdeps/s390/dl-tls.h: Likewise.
79739         * sysdeps/sh/dl-tls.h: Likewise.
79740         * sysdeps/sparc/dl-tls.h: Likewise.
79741         * sysdeps/x86_64/dl-tls.h: Likewise.
79742         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79744 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79746         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79747         rpath element also skip the following colon.
79748         (expand_dynamic_string_token): Add is_path parameter and pass
79749         down to DL_DST_REQUIRED and _dl_dst_substitute.
79750         (decompose_rpath): Call expand_dynamic_string_token with
79751         non-zero is_path.  Ignore empty rpaths.
79752         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79753         with zero is_path.
79755 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79758         Make cancelable.
79760 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79762         [BZ #12655]
79763         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79764         Patch by Filipe David Manana <fdmanana@apache.org>.
79766 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79768         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79769         Maintain aligned stack.
79770         (CHECK_RSP): Remove unused macro.
79772 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79774         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79775         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79777 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79779         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79781         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79783 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79785         [BZ #12518]
79786         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79787         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79788         * sysdeps/x86_64/memmove.c: New file.
79789         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79790         (memcpy): Renamed to ...
79791         (__new_memcpy): This.
79792         (memcpy): Provide GLIBC_2_14 memcpy.
79793         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79794         (memcpy): Provide GLIBC_2_2_5 memcpy.
79796 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79798         [BZ #12631]
79799         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79801 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79803         * misc/syncfs.c: New file.
79804         * misc/Makefile (routines): Add syncfs.
79805         * posix/unistd.h: Declare syncfs.
79806         * sysdeps/unix/syscalls.list: Add syncfs.
79808 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79810         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79811         open_by_handle_at.
79812         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79813         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79815         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79817         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79818         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79822         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79823         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79824         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79825         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79826         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79830         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79831         sync_file_range.c with -fexceptions.
79832         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79833         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79834         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79835         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79836         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79837         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79838         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79839         sync_file_range as cancellation point
79840         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79841         now a wrapper around __call_sync_file_range with cancellation handling.
79842         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79843         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79844         function name to __call_sync_file_range.
79845         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79846         Add call_sync_file_range.
79848 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79850         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79851         bits/timex.h.
79853 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79855         * iconv/iconv.h: Fix typo in comment.
79856         * io/fcntl.h: Likewise.
79857         * libio/stdio.h: Likewise.
79858         * posix/spawn.h: Likewise.
79859         * posix/unistd.h: Likewise.
79860         * stdlib/stdlib.h: Likewise.
79861         * time/time.h: Likewise.
79862         * wcsmbs/wchar.h: Likewise.
79864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79865         open_by_handle): Add.
79866         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79867         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79868         Augment a few comments.
79869         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79874         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79875         open_by_handle.
79877         * io/fcntl.h (AT_EMPTY_PATH): Define.
79879 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79881         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79882         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79883         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79884         to...
79885         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79886         * Versions.def: Add GLIBC_2.14.
79887         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79888         Export.
79890 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79892         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79893         round counter.
79894         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79896 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79898         [BZ #12597]
79899         * string/test-strncmp.c (do_page_test): New function.
79900         (check2): Likewise.
79901         (test_main): Call check2.
79902         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79904 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79906         [BZ #12587]
79907         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79908         Handle cache information in CPU leaf 4.
79909         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79911 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79913         [BZ #12583]
79914         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79915         character representation.
79916         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79918 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79920         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79921         END(__isnan) to END(__isnanf) to match function entry point/label
79922         EALIGN(__isnanf,...).
79924 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79926         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79928 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79930         [BZ #12510]
79931         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79932         copy from the symbol referenced in the relocation to initialize the
79933         used variable.
79934         Patch by Piotr Bury <pbury@goahead.com>.
79935         * elf/Makefile: Add rules to build and tst-unique3.
79936         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79937         * elf/tst-unique3.cc: New file.
79938         * elf/tst-unique3.h: New file.
79939         * elf/tst-unique3lib.cc: New file.
79940         * elf/tst-unique3lib2.cc: New file.
79942         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79944 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79946         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79947         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79948         to _start.
79950 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79952         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79953         to-be-loaded object along a path to loader is ld.so.
79955 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79956             Ulrich Drepper  <drepper@gmail.com>
79958         * sysdeps/x86_64/memset.S: After aligning destination, code
79959         branches to different locations depending on the value of
79960         misalignment, when multiarch is enabled. Fix this.
79962 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79964         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79965         Set _x86_64_preferred_memory_instruction for AMD processsors.
79966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79967         Set bit_Prefer_SSE_for_memop for AMD processors.
79969 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79971         * libio/fmemopen.c (fmemopen): Optimize a bit.
79973 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79975         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79977 2011-03-03  Roland McGrath  <roland@redhat.com>
79979         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79981 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79983         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79984         __bzero_ultra1 instead of __memset_ultra1.
79986 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79987             Ulrich Drepper  <drepper@gmail.com>
79989         [BZ #12509]
79990         * include/link.h (struct link_map): Add l_orig_initfini.
79991         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79992         returning unsuccessfully.
79993         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79994         close of a file loaded at startup, restore the original l_initfini
79995         list.
79996         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79997         list, store the pointer.
79998         * elf/Makefile ($(objpfx)noload-mem): New rule.
79999         (noload-ENV): Define.
80000         (tests): Add $(objpfx)noload-mem.
80001         * elf/noload.c: Include <memcheck.h>.
80002         (main): Call mtrace.  Close all opened handles.
80004 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80006         [BZ #12454]
80007         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80008         dependencies are missing.
80010 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80012         Fix __if_freereq crash: Unlike the generic version which uses free,
80013         Hurd needs munmap.
80014         * sysdeps/mach/hurd/ifreq.h: New file.
80016 2011-01-27  Petr Baudis  <pasky@suse.cz>
80017             Ulrich Drepper  <drepper@gmail.com>
80019         [BZ 12445]#
80020         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80021         to extend_alloca().
80022         * stdio-common/bug23.c: New file.
80023         * stdio-common/Makefile (tests): Add bug23.
80025 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80026             Ulrich Drepper  <drepper@gmail.com>
80028         [BZ #12489]
80029         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80030         before performing relro protection.  At old place add assertion
80031         to make sure nothing changed.
80033 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80034             Glauber de Oliveira Costa  <glommer@gmail.com>
80036         * elf/elf.h: Add new ARM TLS relocs.
80038 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80041         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80042         cast from r3.
80043         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80044         'tests' variable.
80045         * sysdeps/wordsize-64/tst-writev.c: New file.
80047 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80049         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80050         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80051         insns in _dl_start to prevent a TOC reference before relocs are
80052         resolved.
80054 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80056         [BZ #12469]
80057         * Makeconfig: Remove RANLIB definition.
80058         * Makerules: Don't use RANLIB.
80059         * aclocal.m4: Remove ranlib test.
80060         * configure.in: No need to check for ranlib.
80061         * elf/rtld-Rules: Don't use RANLIB.
80063 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80065         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80066         protection macro.
80067         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80068         inclusion protection macro.
80070         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80071         SIGRTMIN and SIGRTMAX and print information in that case only when
80072         SIGRTMIN is defined.
80074 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80076         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80077         arginfo fn returning -1.
80079         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80080         and thousands string is zero terminated.
80082 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80085         sysdeps/unix/sysv/linux/bits/socket.h.
80087 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80089         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80090         (__CPU_COUNT): Remove old macros.
80091         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80092         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80093         (__CPU_ALLOC, __CPU_FREE): Add macros.
80094         (__sched_cpualloc, __sched_cpufree): Add declarations.
80096 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80098         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80099         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80100         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80101         (readdhstai): Return value of addhstaiX call.
80102         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80103         (addgrbyX): Return value returned by cache_addgr.
80104         (readdgrbyname): Return value returned by addgrbyX.
80105         (readdgrbygid): Likewise.
80106         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80107         (addpwbyX): Return value returned by cache_addpw.
80108         (readdpwbyname): Return value returned by addhstbyX.
80109         (readdpwbyuid): Likewise.
80110         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80111         (addservbyX): Return value returned by cache_addserv.
80112         (readdservbyname): Return value returned by addservbyX:
80113         (readdservbyport): Likewise.
80114         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80115         (addhstbyX): Return value returned by cache_addhst.
80116         (readdhstbyname): Return value returned by addhstbyX.
80117         (readdhstbyaddr): Likewise.
80118         (readdhstbynamev6): Likewise.
80119         (readdhstbyaddrv6): Likewise.
80120         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80121         (readdinitgroups): Return value returned by addinitgroupsX.
80122         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80123         (prune_cache): Keep track of timeout value of re-added entries.
80124         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80125         * nscd/nscd.h: Adjust prototypes of readd* functions.
80127 2011-02-04  Roland McGrath  <roland@redhat.com>
80129         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80130         (nis_stats): Likewise.
80131         * nis/nis_modify.c (nis_modify): Likewise.
80132         * nis/nis_remove.c (nis_remove): Likewise.
80133         * nis/nis_add.c (nis_add): Likewise.
80135         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80137         * posix/fnmatch_loop.c: Add some consts.
80139         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80141 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80143         [BZ #12460]
80144         * config.make.in (config-cflags-novzeroupper): Define.
80145         * configure.in: Substitute libc_cv_cc_novzeroupper.
80146         * elf/Makefile (AVX-CFLAGS): Define.
80147         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80148         (CFLAGS-tst-auditmod4a.c): Likewise.
80149         (CFLAGS-tst-auditmod4b.c): Likewise.
80150         (CFLAGS-tst-auditmod6b.c): Likewise.
80151         (CFLAGS-tst-auditmod6c.c): Likewise.
80152         (CFLAGS-tst-auditmod7b.c): Likewise.
80153         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80155 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80157         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80158         function to the callback.
80159         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80161 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80163         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80164         of errno.
80166 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80168         [BZ #11724]
80169         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80170         of constructors.
80171         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80172         of destructors.
80173         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80175         [BZ #11724]
80176         * elf/Makefile: Add rules to build and run new test.
80177         * elf/tst-initorder.c: New file.
80178         * elf/tst-initorder.exp: New file.
80179         * elf/tst-initordera1.c: New file.
80180         * elf/tst-initordera2.c: New file.
80181         * elf/tst-initordera3.c: New file.
80182         * elf/tst-initordera4.c: New file.
80183         * elf/tst-initorderb1.c: New file.
80184         * elf/tst-initorderb2.c: New file.
80185         * elf/tst-order-a1.c: New file.
80186         * elf/tst-order-a2.c: New file.
80187         * elf/tst-order-a3.c: New file.
80188         * elf/tst-order-a4.c: New file.
80189         * elf/tst-order-b1.c: New file.
80190         * elf/tst-order-b2.c: New file.
80191         * elf/tst-order-main.c: New file.
80192         New test case by George Gensure <werkt0@gmail.com>.
80194 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80197         decoding ACE if AI_CANONIDN.
80199 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80201         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80203 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80205         * version.h (RELEASE): Bump for 2.13 release.
80206         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80208         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80210         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80211         MADV_NOHUGEPAGE.
80212         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80215         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80216         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80217         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80219         * posix/getconf.c: Update copyright year.
80220         * catgets/gencat.c: Likewise.
80221         * csu/version.c: Likewise.
80222         * debug/catchsegv.sh: Likewise.
80223         * debug/xtrace.sh: Likewise.
80224         * elf/ldconfig.c: Likewise.
80225         * elf/ldd.bash.in: Likewise.
80226         * elf/sprof.c (print_version): Likewise.
80227         * iconv/iconv_prog.c: Likewise.
80228         * iconv/iconvconfig.c: Likewise.
80229         * locale/programs/locale.c: Likewise.
80230         * locale/programs/localedef.c: Likewise.
80231         * malloc/memusage.sh: Likewise.
80232         * malloc/mtrace.pl: Likewise.
80233         * nscd/nscd.c (print_version): Likewise.
80234         * nss/getent.c: Likewise.
80236         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80237         PF_CAIF, and PF_ALG.
80238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80240 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80242         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80243         (modules-names): Use them.
80244         (ifunc-test-modules, ifunc-pie-tests): Define.
80245         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80246         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80247         (test-extras): Likewise.
80248         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80249         $(compile-command.c).
80250         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80251         (all-built-dso): Define.
80252         (check-textrel.out, check-execstack.out): Depend on it.
80254         * configure.in: Don't override --enable-multi-arch.
80256 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80258         [BZ #6812]
80259         * nscd/hstcache.c (tryagain): Define.
80260         (cache_addhst): Return tryagain not notfound for temporary errors.
80261         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80262         failed.
80264 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80266         [BZ #10563]
80267         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80268         to make the syscall.
80269         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80271         [BZ #12378]
80272         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80273         and fall back to matching as normal character if the string ends before
80274         the matching ']' is found.  This is what POSIX requires.
80275         * posix/testfnm.c: Adjust test result.
80276         * posix/globtest.sh: Adjust test result.  Add new test.
80277         * posix/tst-fnmatch.input: Likewise.
80278         * posix/tst-fnmatch2.c: Add new test.
80280 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80282         * elf/Makefile (check-execstack): Revert last change.  Depend on
80283         check-execstack.h.
80284         (check-execstack.h): New target.
80285         (generated): Add check-execstack.h.
80286         * elf/check-execstack.c: Include "check-execstack.h".
80287         (main): Revert last change.
80288         (handle_file): Return zero if GNU_STACK is absent and
80289         DEFAULT_STACK_PERMS doesn't include PF_X.
80291 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80293         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80294         in child fails because the descriptor is already closed.
80295         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80296         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80297         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80299         [BZ #12397]
80300         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80301         syscall.
80303         [BZ #10484]
80304         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80305         temporary buffer used to handle multi lookups locally.
80306         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80308 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80310         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80311         loader is ld.so.
80313 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80315         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80316         alignment for SSE2.
80318 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80320         [BZ #12394]
80321         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80322         characters.  When rounding increased number of integer digits recompute
80323         number of groups.
80324         * stdio-common/tst-grouping.c: New file.
80325         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80327 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80329         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80330         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80332         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80333         void.
80334         * bits/select.h: Likewise.
80336 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80338         * po/ja.po: Update from translation team.
80340 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80342         [BZ #11155]
80343         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80344         implementation just like for lxstat, fxstatat, et al.
80346 2010-12-27  Jim Meyering  <meyering@redhat.com>
80348         [BZ #12348]
80349         * posix/regexec.c (build_trtable): Return failure indication upon
80350         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80352 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80354         [BZ #12201]
80355         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80356         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80357         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80358         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80360         [BZ #12207]
80361         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80363         [BZ #12204]
80364         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80365         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80367 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80369         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80370         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80371         script has SORT_BY_INIT_PRIORITY.
80372         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80373         NO_CTORS_DTORS_SECTIONS is defined.
80374         * elf/soinit.c: Likewise.
80375         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80376         NO_CTORS_DTORS_SECTIONS is defined.
80377         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80378         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80379         * sysdeps/sh/init-first.c: Likewise.
80380         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80382 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80384         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80385         always use the slow path.
80387 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80389         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80390         similar rule which adds the sysdep directories to the header search in
80391         order to pick up the correct platform stackinfo.h.
80392         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80393         perform test if it is, otherwise return successfully without testing.
80394         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80395         DEFAULT_STACK_PERMS define in stackinfo.h.
80396         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80397         defined in stackinfo.h.
80398         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80399         DEFAULT_STACK_PERMS defined in stackinfo.h.
80400         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80401         * sysdeps/ia64/stackinfo.h: Likewise.
80402         * sysdeps/s390/stackinfo.h: Likewise.
80403         * sysdeps/sh/stackinfo.h: Likewise.
80404         * sysdeps/sparc/stackinfo.h: Likewise.
80405         * sysdeps/x86_64/stackinfo.h: Likewise.
80406         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80407         PF_X for powerpc64.  Retain PF_X for powerpc32.
80409 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80411         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80412         accurately.
80413         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80414         GETDENTS_64BIT_ALIGNED.
80416 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80418         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80420 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80422         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80423         _GNU_SOURCE.
80425         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80426         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80427         Remove __restrict.
80428         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80429         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80431 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80433         [BZ #11655]
80434         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80435         are initialized.
80437 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80439         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80441 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80443         * po/it.po: Update from translation team.
80445 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80447         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80448         unused codes.
80450 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80452         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80454 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80456         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80457         specially.
80458         (gaih_getanswer_slice): Likewise.
80460 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80464 2010-05-31  Petr Baudis  <pasky@suse.cz>
80466         [BZ #11149]
80467         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80468         silently even in the chroot mode.
80470 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80472         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80473         last patch a bit.  Pretty printing
80475 2010-05-31  Petr Baudis <pasky@suse.cz>
80477         [BZ #10085]
80478         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80479         initialization of skip_initgroups_dyn.
80481 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80483         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80484         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80486 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80488         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80490 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80492         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80493         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80494         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80495         ($(objpfx)tst-fnmatch-mem): New rule.
80496         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80497         * posix/tst-fnmatch.c (main): Call mtrace.
80499 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80502         Support Intel processor model 6 and model 0x2c.
80504 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80506         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80507           signed comparison.
80509 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80511         [BZ #12205]
80512         * string/test-strncasecmp.c (check_result): New function.
80513         (do_one_test): Use it.
80514         (check1): New function.
80515         (test_main): Use it.
80516         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80517         Support strcasecmp and strncasecmp.
80519 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80521         [BZ #12194]
80522         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80523         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80525 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80527         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80528         IFUNC support.
80529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80530         memset-x86-64.
80531         * sysdeps/x86_64/multiarch/bzero.S: New file.
80532         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80533         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80534         * sysdeps/x86_64/multiarch/memset.S: New file.
80535         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80537         Set bit_Prefer_SSE_for_memop for Intel processors.
80538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80539         Define.
80540         (index_Prefer_SSE_for_memop): Define.
80541         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80543 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80545         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80546         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80548 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80550         [BZ #12191]
80551         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80552         (__x86_64_raw_data_cache_size_half): Likewise.
80553         (__x86_64_raw_shared_cache_size): Likewise.
80554         (__x86_64_raw_shared_cache_size_half): Likewise.
80556         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80557         (__x86_64_raw_data_cache_size_half): Likewise.
80558         (__x86_64_raw_shared_cache_size): Likewise.
80559         (__x86_64_raw_shared_cache_size_half): Likewise.
80560         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80561         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80562         and __x86_64_raw_shared_cache_size_half.  Round
80563         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80564         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80565         to multiple of 256 bytes.
80567 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80569         [BZ #12167]
80570         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80571         of inacessible symlinks.  Verify result of symlink before returning it.
80572         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80573         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80575 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80577         * math/math.h (isinf): Fix typo in comment.
80579 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80581         * po/da.po: Update from translation team.
80583 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80585         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80586         is added to the list.
80588 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80589             Ulrich Drepper  <drepper@gmail.com>
80591         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80592         the global list here.  Move code to...
80593         (_dl_add_to_namespace_list): ...here.  New function.
80594         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80595         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80596         * elf/dl-load.c (lose): Don't remove the element from the list.
80597         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80598         (_dl_map_object): Likewise.
80600 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80602         [BZ #12159]
80603         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80604         into all bytes of SSE register.
80605         Patch by Richard Li <richardpku@gmail.com>.
80607 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80609         [BZ #12140]
80610         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80611         perturbing.
80613 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80615         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80616         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80617         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80618         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80620         submachine.
80621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80623 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80625         * include/dlfcn.h (__RTLD_SECURE): Define.
80626         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80627         mode & __RTLD_SECURE instead.
80628         (open_path): Rename preloaded parameter to secure.
80629         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80630         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80631         * elf/dl-deps.c (openaux): Likewise.
80632         * elf/rtld.c (struct map_args): Remove is_preloaded.
80633         (map_doit): Don't use it.
80634         (dl_main): Likewise.
80635         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80636         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80638 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80640         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80641         (sysd-rules-targets): Remove duplicates.
80642         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80643         rtld-%.$o dependency.
80645 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80647         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80648         _dl_map_object do it.
80650 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80652         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80653         fast fma builtins, define the macros in the C99 standard.
80654         (FP_FAST_FMAF): Likewise.
80655         (FP_FAST_FMAL): Likewise.
80656         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80658         * bits/mathdef.h: Update copyright year.
80659         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80661 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80663         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80664         builtins, define the macros in the C99 standard.
80665         (FP_FAST_FMAF): Likewise.
80666         (FP_FAST_FMAL): Likewise.
80667         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80668         multiply/add.
80669         (FP_FAST_FMAF): Likewise.
80671 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80673         [BZ #3268]
80674         * math/libm-test.inc (fma_test): Some new testcases.
80675         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80676         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80677         y and infinite z.  Do multiplication by C already in long double.
80678         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80680         y and infinite z.  Do bitwise or of inexact bit into u.d.
80681         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80682         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80683         * sysdeps/i386/fpu/s_fma.S: Removed.
80684         * sysdeps/i386/fpu/s_fmal.S: Removed.
80686 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80688         [BZ #3268]
80689         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80691         computation is not scheduled after fetestexcept.  Fix value
80692         of minimum denormal long double.
80694 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80696         [BZ #3268]
80697         * math/libm-test.inc (fma_test): Add some more tests.
80698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80699         correctly.
80701 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80703         * scripts/data/localplt-s390-linux-gnu.data: New file.
80704         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80706 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80708         [BZ #3268]
80709         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80710         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80711         instead of dbl-64.
80712         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80713         inlines.
80714         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80716         if one of x and y is very large and the other is subnormal.
80717         * sysdeps/s390/fpu/s_fmaf.c: New file.
80718         * sysdeps/s390/fpu/s_fma.c: New file.
80719         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80720         * sysdeps/powerpc/fpu/s_fma.S: New file.
80721         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80722         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80723         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80725 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80727         [BZ #3268]
80728         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80729         fma tests.
80730         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80731         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80732         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80733         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80734         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80735         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80736         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80738 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80740         [BZ #12078]
80741         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80742         * posix/bug-regex31.input: Add test case.
80744 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80746         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80747         * posix/bug-regex31.input: New file.
80749         [BZ #12078]
80750         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80751         (parse_sub_exp): Fix last change, use postorder.
80753         * posix/bug-regex31.c: New file.
80754         * posix/Makefile: Add rules to build and run bug-regex31.
80756         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80758         [BZ #12078]
80759         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80761         [BZ #12108]
80762         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80763         to have entries in sys_siglist.
80765         [BZ #12093]
80766         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80767         be NULL.
80769 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80771         [BZ #3268]
80772         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80773         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80774         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80775         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80776         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80777         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80778         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80779         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80780         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80781         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80782         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80783         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80785         * math/ftestexcept.c (fetestexcept): Likewise.
80786         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80787         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80788         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80789         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80790         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80791         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80792         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80794 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80796         [BZ #12107]
80797         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80798         newline.
80800 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80802         * string/bug-strstr1.c: New file.
80803         * string/Makefile: Add rules to build and run bug-strstr1.
80805 2010-10-05  Eric Blake  <eblake@redhat.com>
80807         [BZ #12092]
80808         * string/str-two-way.h (two_way_long_needle): Always clear memory
80809         when skipping input due to the shift table.
80811 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80813         [BZ #12005]
80814         * malloc/mcheck.c: Handle large requests.
80816         [BZ #12077]
80817         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80818         for strncmp and strncasecmp.
80819         * string/stratcliff.c: Add tests for strcmp and strncmp.
80820         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80822 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80824         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80825         __set_fpscr.
80827 2010-09-30  Andreas Jaeger  <aj@suse.de>
80829         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80830         (CGROUP_SUPER_MAGIC): Define.
80831         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80832         Handle btrfs and cgroup file systems.
80833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80834         Likewise.
80836 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80838         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80839         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80841 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80843         [BZ #12067]
80844         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80845         trying to locate the ELF header.
80847 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80849         [BZ #11611]
80850         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80851         Mask out sign-bit copies when constructing f_fsid.
80853 2010-09-24  Petr Baudis <pasky@suse.cz>
80855         * debug/stack_chk_fail_local.c: Add missing licence exception.
80856         * debug/warning-nop.c: Likewise.
80858 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80860         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80861         implementing getdents64 using getdents syscall, set d_type if
80862         __ASSUME_GETDENTS32_D_TYPE.
80864 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80866         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80867         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80869 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80871         [BZ #12037]
80872         * posix/unistd.h: Undo change of feature selection for ftruncate from
80873         2010-01-11.
80875 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80877         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80878         detection.
80880 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80882         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80883         fanotify_mark.
80884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80886 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80888         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80889         variables after CHECK_SP call.
80890         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80892 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80893             Ulrich Drepper  <drepper@redhat.com>
80895         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80896         re-relocationg ld.so.
80897         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80898         _dl_init_paths call.
80899         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80900         here anymore.
80902 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80904         * resolv/res_init.c (__res_vinit): Count the default server we added.
80906 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80907             Ulrich Drepper  <drepper@redhat.com>
80909         [BZ #11968]
80910         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80911         (____longjmp_chk): Use %ebx for saving value across system call.
80912         Add unwind info.
80914 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80916         * manual/Makefile: Don't mix pattern rules with normal rules.
80918 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80920         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80921         operation.
80922         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80923         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80924         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80925         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80927         Likewise.
80929 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80931         [BZ #11979]
80932         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80933         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80935 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80937         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80938         * sysdeps/x86_64/addmul_1.S: Likewise.
80939         * sysdeps/x86_64/lshift.S: Likewise.
80940         * sysdeps/x86_64/mul_1.S: Likewise.
80941         * sysdeps/x86_64/rshift.S: Likewise.
80942         * sysdeps/x86_64/sub_n.S: Likewise.
80943         * sysdeps/x86_64/submul_1.S: Likewise.
80945 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80947         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80948         Define __sched_param instead of SCHED_* and sched_param when
80949         <bits/sched.h> is included with __need_schedparam defined.
80950         * bits/sched.h [__need_schedparam]
80951         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80952         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80953         (__defined_schedparam): Define to 1.
80954         (__sched_param): New structure, identical to sched_param.
80955         (__need_schedparam): Undefine.
80957 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80959         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80960         (epoll_create1): Declare.
80962         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80964 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80966         [BZ #7066]
80967         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80968         shifting retval into place.
80970 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80972         * nis/rpcsvc/nis.h: Update copyright notice.
80973         * nis/rpcsvc/nis.x: Likewise.
80974         * nis/rpcsvc/nis_callback.h: Likewise.
80975         * nis/rpcsvc/nis_callback.x: Likewise.
80976         * nis/rpcsvc/nis_object.x: Likewise.
80977         * nis/rpcsvc/nis_tags.h: Likewise.
80978         * nis/rpcsvc/yp.h: Likewise.
80979         * nis/rpcsvc/yp.x: Likewise.
80980         * nis/rpcsvc/ypupd.h: Likewise.
80981         * nis/yp_xdr.c: Likewise.
80982         * nis/ypupdate_xdr.c: Likewise.
80984         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80985         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80986         (pmap_getport): Use __libc_rpc_getport.
80987         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80988         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80989         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80991 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80994         fanotify_mark.
80996 2010-08-27  Roland McGrath  <roland@redhat.com>
80998         * sysdeps/i386/i686/multiarch/Makefile
80999         (CFLAGS-varshift.c): New variable.
81001 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81003         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81004         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81008         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81010 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81012         * sysdeps/x86_64/strlen.S: Unroll the loop.
81013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81014         strlen-sse2 strlen-sse2-bsf.
81015         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81016         __strlen_no_bsf if bit_Slow_BSF is set.
81017         (__strlen_sse42): Removed.
81018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81019         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81021 2010-08-25  Roland McGrath  <roland@redhat.com>
81023         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81024         * sysdeps/x86_64/multiarch/varshift.c: New file.
81025         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81026         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81027         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81028         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81030 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81033         strlen-sse2 strlen-sse2-bsf.
81034         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81035         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81036         (__strlen_sse2): Removed.
81037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81040         bit_Slow_BSF for Atom.
81041         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81042         (index_Slow_BSF): Define.
81043         (HAS_SLOW_BSF): Define.
81045 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81047         [BZ #10851]
81048         * resolv/res_init.c (__res_vinit): When no server address at all
81049         is given default to loopback.
81051 2010-08-24  Roland McGrath  <roland@redhat.com>
81053         * configure.in: Remove config-name.h generation.
81054         * configure: Regenerated.
81055         * config-name.in: File removed.
81056         * scripts/config-uname.sh: New file.
81057         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81058         ($(objdir)config-name.h): New target.
81060         * sunrpc/rpc_parse.h: Avoid nested comment.
81062 2010-08-24  Richard Henderson  <rth@redhat.com>
81063             Ulrich Drepper  <drepper@redhat.com>
81064             H.J. Lu  <hongjiu.lu@intel.com>
81066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81068         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81069         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81070         _mm_alignr_epi8 with _mm_loadu_si128.
81071         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81072         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81073         (__m128i_shift_right): Removed.
81074         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81075         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81076         * sysdeps/x86_64/multiarch/varshift.h: New file.
81077         * sysdeps/x86_64/multiarch/varshift.S: New file.
81079 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81081         * configure.in: Move assembler checks to before sysdep dir checking.
81083 2010-08-20  Petr Baudis  <pasky@suse.cz>
81085         * LICENSES: Sync the sunrpc license.
81087 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81089         * sunrpc/auth_des.c: Update copyright notice once again.
81090         * sunrpc/auth_none.c: Likewise.
81091         * sunrpc/auth_unix.c: Likewise.
81092         * sunrpc/authdes_prot.c: Likewise.
81093         * sunrpc/authuxprot.c: Likewise.
81094         * sunrpc/bindrsvprt.c: Likewise.
81095         * sunrpc/clnt_gen.c: Likewise.
81096         * sunrpc/clnt_perr.c: Likewise.
81097         * sunrpc/clnt_raw.c: Likewise.
81098         * sunrpc/clnt_simp.c: Likewise.
81099         * sunrpc/clnt_tcp.c: Likewise.
81100         * sunrpc/clnt_udp.c: Likewise.
81101         * sunrpc/clnt_unix.c: Likewise.
81102         * sunrpc/des_crypt.c: Likewise.
81103         * sunrpc/des_soft.c: Likewise.
81104         * sunrpc/get_myaddr.c: Likewise.
81105         * sunrpc/getrpcport.c: Likewise.
81106         * sunrpc/key_call.c: Likewise.
81107         * sunrpc/key_prot.c: Likewise.
81108         * sunrpc/openchild.c: Likewise.
81109         * sunrpc/pm_getmaps.c: Likewise.
81110         * sunrpc/pm_getport.c: Likewise.
81111         * sunrpc/pmap_clnt.c: Likewise.
81112         * sunrpc/pmap_prot.c: Likewise.
81113         * sunrpc/pmap_prot2.c: Likewise.
81114         * sunrpc/pmap_rmt.c: Likewise.
81115         * sunrpc/rpc/auth.h: Likewise.
81116         * sunrpc/rpc/auth_unix.h: Likewise.
81117         * sunrpc/rpc/clnt.h: Likewise.
81118         * sunrpc/rpc/des_crypt.h: Likewise.
81119         * sunrpc/rpc/key_prot.h: Likewise.
81120         * sunrpc/rpc/netdb.h: Likewise.
81121         * sunrpc/rpc/pmap_clnt.h: Likewise.
81122         * sunrpc/rpc/pmap_prot.h: Likewise.
81123         * sunrpc/rpc/pmap_rmt.h: Likewise.
81124         * sunrpc/rpc/rpc.h: Likewise.
81125         * sunrpc/rpc/rpc_des.h: Likewise.
81126         * sunrpc/rpc/rpc_msg.h: Likewise.
81127         * sunrpc/rpc/svc.h: Likewise.
81128         * sunrpc/rpc/svc_auth.h: Likewise.
81129         * sunrpc/rpc/types.h: Likewise.
81130         * sunrpc/rpc/xdr.h: Likewise.
81131         * sunrpc/rpc_clntout.c: Likewise.
81132         * sunrpc/rpc_cmsg.c: Likewise.
81133         * sunrpc/rpc_common.c: Likewise.
81134         * sunrpc/rpc_cout.c: Likewise.
81135         * sunrpc/rpc_dtable.c: Likewise.
81136         * sunrpc/rpc_hout.c: Likewise.
81137         * sunrpc/rpc_main.c: Likewise.
81138         * sunrpc/rpc_parse.c: Likewise.
81139         * sunrpc/rpc_parse.h: Likewise.
81140         * sunrpc/rpc_prot.c: Likewise.
81141         * sunrpc/rpc_sample.c: Likewise.
81142         * sunrpc/rpc_scan.c: Likewise.
81143         * sunrpc/rpc_scan.h: Likewise.
81144         * sunrpc/rpc_svcout.c: Likewise.
81145         * sunrpc/rpc_tblout.c: Likewise.
81146         * sunrpc/rpc_util.c: Likewise.
81147         * sunrpc/rpc_util.h: Likewise.
81148         * sunrpc/rpcinfo.c: Likewise.
81149         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81150         * sunrpc/rpcsvc/key_prot.x: Likewise.
81151         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81152         * sunrpc/rpcsvc/mount.x: Likewise.
81153         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81154         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81155         * sunrpc/rpcsvc/rex.x: Likewise.
81156         * sunrpc/rpcsvc/rstat.x: Likewise.
81157         * sunrpc/rpcsvc/rusers.x: Likewise.
81158         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81159         * sunrpc/rpcsvc/spray.x: Likewise.
81160         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81161         * sunrpc/rtime.c: Likewise.
81162         * sunrpc/svc.c: Likewise.
81163         * sunrpc/svc_auth.c: Likewise.
81164         * sunrpc/svc_authux.c: Likewise.
81165         * sunrpc/svc_raw.c: Likewise.
81166         * sunrpc/svc_run.c: Likewise.
81167         * sunrpc/svc_simple.c: Likewise.
81168         * sunrpc/svc_tcp.c: Likewise.
81169         * sunrpc/svc_udp.c: Likewise.
81170         * sunrpc/svc_unix.c: Likewise.
81171         * sunrpc/svcauth_des.c: Likewise.
81172         * sunrpc/xcrypt.c: Likewise.
81173         * sunrpc/xdr.c: Likewise.
81174         * sunrpc/xdr_array.c: Likewise.
81175         * sunrpc/xdr_float.c: Likewise.
81176         * sunrpc/xdr_mem.c: Likewise.
81177         * sunrpc/xdr_rec.c: Likewise.
81178         * sunrpc/xdr_ref.c: Likewise.
81179         * sunrpc/xdr_sizeof.c: Likewise.
81180         * sunrpc/xdr_stdio.c: Likewise.
81182         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81183         handling.
81185 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81187         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81189 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81191         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81192         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81193         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81194         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81195         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81196         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81197         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81198         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81200         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81201         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81202         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81203         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81204         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81206 2010-07-26  Anton Blanchard  <anton@samba.org>
81208         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81209         * malloc/arena.c (heap_trim): Likewise.
81211 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81213         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81214         here.  Not...
81215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81216         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81218 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81220         * sysdeps/i386/elf/Makefile: New file.
81222 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81224         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81225         from fanotify_init.
81226         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81229 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81231         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81232         of strncasecmp_l.
81233         * sysdeps/multiarch/strcmp.S: Likewise.
81235 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81237         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81238         strncase_l-nonascii.
81239         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81240         Add strncase_l-ssse3.
81241         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81242         * sysdeps/x86_64/strcmp.S: Likewise.
81243         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81244         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81245         * sysdeps/x86_64/strncase.S: New file.
81246         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81247         * sysdeps/x86_64/strncase_l.S: New file.
81248         * string/Makefile (strop-tests): Add strncasecmp.
81249         * string/test-strncasecmp.c: New file.
81251         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81252         warning.
81254         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81255         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81257 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81259         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81261 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81263         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81264         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81265         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81267 2010-05-01  Alan Modra  <amodra@gmail.com>
81269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81270         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81271         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81272         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81273         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81274         tidying.  Don't tail-call __sigjmp_save for static lib.
81275         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81276         save location.
81277         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81278         (CALL_MCOUNT): Add eh info, and nop after bl.
81279         (TAIL_CALL_SYSCALL_ERROR): New macro.
81280         (PSEUDO_RET): Use it.
81281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81282         Correct save location of integer regs and cr.
81283         (_dl_profile_resolve): Correct cr save location.  Delete nops
81284         after bl when SHARED.  Reduce cfi size a little by better
81285         placement of cfi directives.
81286         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81287         make a stack frame.  Instead use parm save area as a temp.
81288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81289         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81291         Don't make a stack frame for parent, use parm save area.
81292         Increase child stack frame to 112 bytes.  Don't save unused reg,
81293         and adjust reg usage.  Set up cfi on error recovery and
81294         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81296         (__makecontext): Add dummy nop after jump to exit.
81297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81298         Use correct parm save area and cr save, reduce stack frame.
81299         Correct cfi for possible PSEUDO_RET frame setup.
81300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81301         Branch to local label emitted by PSEUDO_RET rather than
81302         __syscall_error.
81304 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81306         [BZ #11904]
81307         * locale/programs/locale.c (print_assignment): New function.
81308         (show_locale_vars): Use it.
81310 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81312         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81313         field.
81314         (struct statfs64): Likewise.
81315         (_STATFS_F_FLAGS): Define.
81316         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81317         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81318         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81319         (ST_VALID): Define locally.
81320         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81321         __statvfs_getflags, use the provided value.
81322         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81323         __ASSUME_STATFS_F_FLAGS.
81325         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81327         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81328         Add sys/fanotify.h.
81329         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81330         fanotify_mask for GLIBC_2.13.
81331         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81332         fanotify_init and fanotify_mark.
81333         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81334         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81336         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81337         Add prlimit.
81338         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81339         prlimit64 for GLIBC_2.13.
81340         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81341         prlimit64.
81342         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81343         syscall.
81344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81346         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81348         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81349         add prlimit alias.
81350         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81352         [BZ #11903]
81353         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81354         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81356         * nss/Makefile: Add rules to build and run tst-nss-test1.
81357         * shlib-versions: Add entry for libnss_test1.
81358         * nss/nss_test1.c: New file.
81359         * nss/tst-nss-test1.c: New file.
81361         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81362         (__nss_configure_lookup): Set appropriate entry in
81363         __nss_configure_lookup to true.
81364         * nss/nsswitch.h: Define enum with indeces of databases in
81365         databases and __nss_database_custom arrays.  Declare
81366         __nss_database_custom.
81367         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81368         to avoid using nscd when custom rules are installed.
81369         * nss/getXXbyYY_r.c: Likewise.
81370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81372         * nss/nss_files/files-parse.c: Whitespace fixes.
81374 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81376         [BZ #11883]
81377         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81378         * posix/fnmatch_loop.c: Likewise.
81380 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81382         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81383         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81384         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81385         * Versions.def [GLIBC_2.13]: Add.
81387 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81389         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81390         Also fail if tpwd after pwuid call is NULL.
81392 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81394         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81395         when converting to ms.
81397 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81399         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81400         EOPNOTSUPP errors with ENOTTY.
81401         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81402         EOPNOTSUPP errors with ENOTTY.
81404 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81406         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81407         Add strcasecmp_l-ssse3.
81408         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81409         strcasecmp.
81410         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81411         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81412         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81414 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81416         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81418         * string/Makefile (strop-tests): Add strcasecmp.
81419         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81420         strcasecmp_l-nonascii.
81421         (gen-as-const-headers): Add locale-defines.sym.
81422         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81423         * sysdeps/x86_64/strcasecmp.S: New file.
81424         * sysdeps/x86_64/strcasecmp_l.S: New file.
81425         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81426         * sysdeps/x86_64/locale-defines.sym: New file.
81427         * string/test-strcasecmp.c: New file.
81429         * string/test-strcasestr.c: Test both ends of the range of characters.
81430         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81432 2010-07-29  Roland McGrath  <roland@redhat.com>
81434         [BZ #11856]
81435         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81437 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81439         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81440         for ld.so.
81442 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81444         * manual/memory.texi (Malloc Tunable Parameters): Document
81445         M_PERTURB.
81447 2010-07-26  Roland McGrath  <roland@redhat.com>
81449         [BZ #11840]
81450         * configure.in (-fgnu89-inline check): Set and substitute
81451         gnu89_inline, not libc_cv_gnu89_inline.
81452         * configure: Regenerated.
81453         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81455 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81457         * string/test-strnlen.c: New file.
81458         * string/Makefile (strop-tests): Add strnlen.
81459         * string/tester.c (test_strnlen): Add a few more test cases.
81460         * string/tst-strlen.c: Better error reporting.
81462         * sysdeps/x86_64/strnlen.S: New file.
81464 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81466         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81467         lower-latency instructions.
81469 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81471         * string/test-strcasestr.c: New file.
81472         * string/test-strstr.c: New file.
81473         * string/Makefile (strop-tests): Add strstr and strcasestr.
81474         * string/str-two-way.h: Don't undefine MAX.
81475         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81477 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81480         strcasestr-nonascii.
81481         (CFLAGS-strcasestr-nonascii.c): Define.
81482         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81483         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81484         Remove unused attribute.
81486 2010-07-20  Roland McGrath  <roland@redhat.com>
81488         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81489         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81490         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81491         like LD_HWCAP_MASK can disable hwcaps.
81493 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81495         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81497 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81499         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81500         call in strcasestr.
81501         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81502         __strcasestr_sse42_nonascii.
81503         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81504         strcasestr-nonascii.c.
81505         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81507 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81509         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81510         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81511         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81512         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81514 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81516         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81517         fcntl.
81519 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81521         [BZ #11577]
81522         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81523         dl_signal_cerror.
81525 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81527         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81528         _PC_PIPE_BUF using F_GETPIPE_SZ.
81530 2010-07-05  Roland McGrath  <roland@redhat.com>
81532         * manual/arith.texi (Rounding Functions): Fix rint description
81533         implicit in round description.
81535 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81537         * elf/Makefile: Fix linking for a few tests to make recent linker
81538         happy.
81540 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81542         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81543         $(common-objpfx)libc_nonshared.a.
81545 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81547         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81548         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81549         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81550         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81551         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81552         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81553         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81554         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81569         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81570         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81571         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81572         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81573         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81574         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81575         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81576         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81577         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81578         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81579         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81580         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81596 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81598         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81599         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81600         * string/memmove.c (memmove): Renamed to ...
81601         (MEMMOVE): ...this.  Default to memmove.
81602         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81603         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81604         (END_CHK): Define.
81605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81606         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81607         mempcpy-ssse3-back memmove-ssse3-back.
81608         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81609         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81611         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81612         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81613         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81614         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81615         * sysdeps/x86_64/multiarch/memmove.c: New file.
81616         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81617         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81618         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81619         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81620         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81621         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81622         Define.
81623         (index_Fast_Copy_Backward): Define.
81624         (HAS_ARCH_FEATURE): Define.
81625         (HAS_FAST_REP_STRING): Define.
81626         (HAS_FAST_COPY_BACKWARD): Define.
81628 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81630         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81631         Restore proper fallback handling.
81633 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81635         [BZ #11701]
81636         * posix/group_member.c (__group_member): Correct checking loop.
81638         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81639         OOM in getpwuid_r correctly.  Return error number when the caller
81640         should return, otherwise -1.
81641         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81642         call returning > 0 value.
81643         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81645 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81647         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81648         libc_nonshared.a from targets in modules-names.
81650 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81652         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81653         requires it.
81655 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81659         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81662 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81664         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81666 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81668         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81669         and F_GETPIPE_SZ.
81670         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81674         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81675         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81677 2010-06-14  Roland McGrath  <roland@redhat.com>
81679         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81681 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81683         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81684         __REDIRECT followed by __THROW.
81685         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81686         * posix/getopt.h (getopt): Likewise.
81688 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81690         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81691         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81692         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81693         in AT_FLAGS.
81694         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81695         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81697 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81701 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81703         [BZ #11640]
81704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81705         Properly check family and model.
81707 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81709         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81711 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81713         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81715 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81717         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81718         symbol reference.
81720 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81722         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81723         symbol reference.
81725 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81727         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81728         and internal_recvmmsg.
81729         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81730         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81732         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81734         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81735         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81736         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81738 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81740         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81742 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81744         POWER7 optimizations.
81745         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81746         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81748 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81750         * version.h: Update for 2.13 development version.
81752 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81754         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81755         exceptions.  Return 0.
81757 2010-05-07  Roland McGrath  <roland@redhat.com>
81759         * elf/ldconfig.c (main): Add a const.
81761 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81763         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81764         (args_options): Add no-idn option.
81765         (ahosts_keys_int): Add idn_flags to ai_flags.
81766         (parse_option): Handle 'i' option to clear idn_flags.
81768         * malloc/malloc.c (_int_free): Possible race in the most recently
81769         added check.  Only act on the data if no current modification
81770         happened.
81772 See ChangeLog.17 for earlier changes.